Compare commits

..

No commits in common. "aa70bee1dc73bd4d2c249442981090d1fd2df64c" and "69193fdc08d174500758826ee01aa95f28f9a8fe" have entirely different histories.

5 changed files with 8 additions and 28 deletions

21
LICENSE
View File

@ -1,21 +0,0 @@
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.

View File

@ -1,2 +0,0 @@
# SkyNet: The Wings of Deception
Wenn es nicht automatisch startet `start_game` ausführen.

View File

@ -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).
:- initialization(start_game).

View File

@ -90,10 +90,10 @@ process_command([cheat, generator_components]) :-
assertz(player_inventory(kondensator)),
write('EMP-Generator Komponenten erhalten!'), nl.
process_command([cheat, drone_components]) :-
process_command([cheat, generator_components]) :-
assertz(player_inventory(drohnen_motor)),
assertz(player_inventory(steuerungsmodul)),
write('Kampfdrone Komponenten erhalten!'), nl.
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.

View File

@ -23,6 +23,9 @@ 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),
@ -44,4 +47,4 @@ craft_item(kampfdrohne) :-
!.
craft_item(_) :-
write('Du kannst diesen Gegenstand nicht bauen.'), nl.
write('Du kannst diesen Gegenstand nicht bauen.'), nl.