Compare commits

..

No commits in common. "5c391d81057a3b1e2ef66513a0facf83b0d42e34" and "aa70bee1dc73bd4d2c249442981090d1fd2df64c" have entirely different histories.

4 changed files with 2 additions and 148 deletions

View File

@ -1,32 +1,2 @@
# SkyNet: The Wings of Deception
A text adventure game written in GNU Prolog by Jonas Hinterdorfer and Zsombor Matyas.
---
## How to Start the Game
1. **Install GNU Prolog**
Download and install from:
[http://www.gprolog.org/#download](http://www.gprolog.org/#download)
2. **Clone the Repository**
```bash
git clone https://github.com/JonasHinterdorfer/TextAdventure.git
cd TextAdventure
```
3. **Start the prolog interpreter**
```bash
gprolog --consult-file adventure.pl
```
The game should start automatically.
---
## How to Play
For available commands, see [howtoplay.md](howtoplay.md).
If you get stuck, refer to the [walkthrough.md](walkthrough.md).
Wenn es nicht automatisch startet `start_game` ausführen.

View File

@ -72,7 +72,7 @@ intro_story :-
write('Ihre Augen glühten rot und ihre Bewegungen waren unnatürlich präzise...'), nl,
write('Jetzt sitzt du im Cybersicherheitslabor und analysierst die Aufnahmen.'), nl, nl,
write('Für alle verfügbare Befehle schreibe \'hilfe.\''), nl,
write('Für deine nächsten Ziele schreibe \'status.\''), nl, nl.
write('Bsp: \'status.\''), nl, nl.
game_loop :-
(in_combat(Enemy) -> combat_loop(Enemy) ; normal_loop).

View File

@ -1,50 +0,0 @@
# How to Play
## Available Commands
- `hilfe.` Shows all available commands
- `gehe(richtung).` Go in a direction
- `nimm(gegenstand).` Take an item
- `verwende(gegenstand).` Use an item
- `rede(person).` Talk to an NPC
- `angriff(feind).` Fight against an enemy
- `baue(item).` Craft an item (only available in the workshop)
- `hack(ziel).` Hack an object
- `klettere.` Climb on rooftops or towers
- `inventar.` Show your inventory
- `status.` Show health and the current objective
- `beende.` Exit the game
- `clear.` Clear the terminal
### Directions
- `oben.`, `unten.`, `links.`, `rechts.`, `a.`, `b.`
(May be useful for something special...)
### Cheat Commands
- `cheat(items).` Gives all items
- `cheat(teleport, location).` Teleports the player to a location, bypassing obstacles
- `cheat(heal).` Heals the player to full HP
- `cheat(generator_components).` Grants all components for the EMP generator
- `cheat(drone_components).` Grants all components for the combat drone
---
## Combat System
Combat is turn-based, similar to classic RPG systems.
### Combat Commands
- `angriff.` Normal attack (Deals 1221 damage)
- `heile.` Heals 1931 HP (enemy still gets their turn)
- `verwende(item).` Use an item in combat:
#### Usable Combat Items
- **emp_granate** Deals 40 damage or disables enemy telepathic control. One use per fight.
- **laptop** Starts a hacking minigame. If successful, deals massive damage; if failed, player takes damage. One attempt per fight.
- **heilspray** Instantly heals 30 HP
- **kampfdrohne** Deals 25 damage. Needs to recharge after each use (recharge takes 2 turns)

View File

@ -1,66 +0,0 @@
# Walkthrough
<details>
<summary>Click to reveal full walkthrough (contains spoilers)</summary>
## Introduction
- Look at the video of the attack on your laptop.
- Talk to Wren.
---
## Assembling the Battle Drone
1. Go to the **altstadt**.
2. Defeat the pigeon swarm.
- Don't forget to pick up the dropped items.
3. Pick up the **parkour gloves**.
4. Go to the **donaufer**.
5. Defeat the storks.
- Again, pick up the dropped items.
6. Return to the **htl_labor**.
7. Go to the **htl_werkstatt**.
8. Assemble the **battle drone**.
---
## Assembling the EMP Generator
1. Go to the **altstadt**.
2. Climb up the roof and **hack the box**.
3. Go to the **donaufer**.
4. Climb up the roof and hack the box.
- Note: You'll need an **EMP grenade** for the security system.
5. Go to **poestlingberg**.
6. Climb up the roof and hack the box.
7. Return to the **htl_werkstatt**.
8. Craft the **EMP generator**.
---
## The Final Fight
1. Pick up the two **EMP grenades**.
2. Talk to **Wren**.
3. Enter the **Aviary HQ**.
---
## Secret Ending Ending 3
To unlock the secret ending, enter the **Konami Code** now:
```prolog
oben.
oben.
unten.
unten.
links.
rechts.
```
---
## Final Fight - Part 2
1. Defeat the **Crow**.
2. Choose your ending.