mirror of
https://github.com/JonasHinterdorfer/TextAdventure.git
synced 2025-10-26 03:41:10 +00:00
Compare commits
7 Commits
69193fdc08
...
aa70bee1dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa70bee1dc | ||
|
|
860580cc5c | ||
|
|
aea1f3e595 | ||
|
|
672affbc0c | ||
|
|
12568f103c | ||
|
|
11a51efd28 | ||
|
|
53e43908ef |
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 Hinterdorfer Jonas, Matyas Zsombor
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# SkyNet: The Wings of Deception
|
||||||
|
Wenn es nicht automatisch startet `start_game` ausführen.
|
||||||
@ -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).
|
||||||
|
|||||||
@ -90,10 +90,10 @@ process_command([cheat, generator_components]) :-
|
|||||||
assertz(player_inventory(kondensator)),
|
assertz(player_inventory(kondensator)),
|
||||||
write('EMP-Generator Komponenten erhalten!'), nl.
|
write('EMP-Generator Komponenten erhalten!'), nl.
|
||||||
|
|
||||||
process_command([cheat, generator_components]) :-
|
process_command([cheat, drone_components]) :-
|
||||||
assertz(player_inventory(drohnen_motor)),
|
assertz(player_inventory(drohnen_motor)),
|
||||||
assertz(player_inventory(steuerungsmodul)),
|
assertz(player_inventory(steuerungsmodul)),
|
||||||
write('Kampfdrone Komponenten erhalten!'), nl.
|
write('Kampfdrone Komponenten erhalten!'), nl.
|
||||||
|
|
||||||
process_command(_) :-
|
process_command(_) :-
|
||||||
write('Unbekannter Befehl. Verwende "hilfe" für eine Liste der Befehle.'), nl.
|
write('Unbekannter Befehl. Verwende "hilfe" für eine Liste der Befehle.'), nl.
|
||||||
|
|||||||
@ -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