mirror of
https://github.com/JonasHinterdorfer/TextAdventure.git
synced 2025-10-26 03:41:10 +00:00
Fixed a bug
This commit is contained in:
parent
12568f103c
commit
672affbc0c
@ -60,7 +60,7 @@ start_game :-
|
|||||||
init_items,
|
init_items,
|
||||||
init_npcs,
|
init_npcs,
|
||||||
init_enemies,
|
init_enemies,
|
||||||
%clear_screen,
|
clear_screen,
|
||||||
write('=== SKYNET: WINGS OF DECEPTION ==='), nl,
|
write('=== SKYNET: WINGS OF DECEPTION ==='), nl,
|
||||||
write('Ein Text-Adventure von Jonas Hinterdorfer und Zsombor Matyas'), nl, nl,
|
write('Ein Text-Adventure von Jonas Hinterdorfer und Zsombor Matyas'), nl, nl,
|
||||||
intro_story,
|
intro_story,
|
||||||
@ -90,4 +90,4 @@ normal_loop :-
|
|||||||
game_loop.
|
game_loop.
|
||||||
|
|
||||||
% Start predicate to begin the game
|
% Start predicate to begin the game
|
||||||
:- initialization(start_game).
|
:- initialization(start_game).
|
||||||
|
|||||||
@ -23,9 +23,6 @@ craft_item(emp_generator) :-
|
|||||||
write('Du kannst nur in der HTL Leonding Werkstatt bauen.'), nl,
|
write('Du kannst nur in der HTL Leonding Werkstatt bauen.'), nl,
|
||||||
!.
|
!.
|
||||||
|
|
||||||
craft_item(_) :-
|
|
||||||
write('Du kannst diesen Gegenstand nicht bauen.'), nl.
|
|
||||||
|
|
||||||
craft_item(kampfdrohne) :-
|
craft_item(kampfdrohne) :-
|
||||||
player_location(htl_werkstatt),
|
player_location(htl_werkstatt),
|
||||||
player_inventory(drohnen_motor),
|
player_inventory(drohnen_motor),
|
||||||
@ -47,4 +44,4 @@ craft_item(kampfdrohne) :-
|
|||||||
!.
|
!.
|
||||||
|
|
||||||
craft_item(_) :-
|
craft_item(_) :-
|
||||||
write('Du kannst diesen Gegenstand nicht bauen.'), nl.
|
write('Du kannst diesen Gegenstand nicht bauen.'), nl.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user