diff --git a/adventure.pl b/adventure.pl index fbc7c36..10db566 100644 --- a/adventure.pl +++ b/adventure.pl @@ -60,7 +60,7 @@ start_game :- init_items, init_npcs, init_enemies, - %clear_screen, + clear_screen, write('=== SKYNET: WINGS OF DECEPTION ==='), nl, write('Ein Text-Adventure von Jonas Hinterdorfer und Zsombor Matyas'), nl, nl, intro_story, @@ -90,4 +90,4 @@ normal_loop :- game_loop. % Start predicate to begin the game -:- initialization(start_game). \ No newline at end of file +:- initialization(start_game). diff --git a/game_assets/crafting_system.pl b/game_assets/crafting_system.pl index 5e06e0b..d6f296b 100644 --- a/game_assets/crafting_system.pl +++ b/game_assets/crafting_system.pl @@ -23,9 +23,6 @@ craft_item(emp_generator) :- write('Du kannst nur in der HTL Leonding Werkstatt bauen.'), nl, !. -craft_item(_) :- - write('Du kannst diesen Gegenstand nicht bauen.'), nl. - craft_item(kampfdrohne) :- player_location(htl_werkstatt), player_inventory(drohnen_motor), @@ -47,4 +44,4 @@ craft_item(kampfdrohne) :- !. craft_item(_) :- - write('Du kannst diesen Gegenstand nicht bauen.'), nl. \ No newline at end of file + write('Du kannst diesen Gegenstand nicht bauen.'), nl.