Compare commits
7 Commits
0.18
...
b1b4a99dff
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b1b4a99dff | ||
![]() |
183fe11075 | ||
![]() |
4a0bfb901d | ||
![]() |
1b96299edc | ||
![]() |
740833541b | ||
![]() |
e1bf16aa96 | ||
![]() |
6876dab8df |
@@ -120,10 +120,13 @@ class ActionBasics:
|
||||
return None
|
||||
|
||||
def personVonRaumNachRaum(self, person, vonRaumId, nachRaumId):
|
||||
logging.debug(f'person Von Raum {vonRaumId} nach {nachRaumId}')
|
||||
vonRaum = self.world.findRaumById(vonRaumId)
|
||||
nachRaum = self.world.findRaumById(nachRaumId)
|
||||
|
||||
if person.id in vonRaum.personen:
|
||||
del vonRaum.personen[person.id]
|
||||
|
||||
nachRaum.personen[person.id] = person
|
||||
person.raumid = nachRaumId
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
import logging
|
||||
from ActionBasics import ActionBasics
|
||||
import HilfeModul
|
||||
|
||||
class ActionModul(ActionBasics):
|
||||
|
||||
@@ -14,6 +15,8 @@ class ActionModul(ActionBasics):
|
||||
def __init__(self, world):
|
||||
|
||||
super().__init__(world)
|
||||
self.hilfemodul = HilfeModul.HilfeModul(world)
|
||||
|
||||
|
||||
def warte(self):
|
||||
print('Du wartest')
|
||||
@@ -141,12 +144,21 @@ class ActionModul(ActionBasics):
|
||||
self.setFehler('Du ziehst die Schwimmweste an.')
|
||||
elif self.isItem(item,self.world.ITEM_DIAMANT):
|
||||
if self.isAktuellerRaum(self.world.RAUM_MAUER):
|
||||
geist = self.world.findPersonById(self.world.PERSON_GEIST)
|
||||
self.world.printText('graböffnung')
|
||||
self.world.aktuellerRaum.ausgaenge[self.world.SUED] = self.world.RAUM_GRAB
|
||||
self.personVonRaumNachRaum(geist, geist.raum.id, self.world.RAUM_GRAB)
|
||||
self.world.printText('victory')
|
||||
# self.world.aktuellerRaum.personen[self.world.PERSON_GEIST] = geist
|
||||
self.ausDemInventar(item)
|
||||
elif self.isItem(item,self.world.ITEM_BOXSACK):
|
||||
self.schlage(parsedCommand)
|
||||
else:
|
||||
self.setFehler('Nichts passiert.')
|
||||
|
||||
def about(self):
|
||||
self.world.printAbout()
|
||||
|
||||
|
||||
|
||||
def baueBruecke(self):
|
||||
@@ -218,6 +230,10 @@ class ActionModul(ActionBasics):
|
||||
def schlage(self, parsedCommand):
|
||||
item = self.world.findItemInAktuellerRaum(parsedCommand.gegenstand)
|
||||
|
||||
if item == None:
|
||||
self.setFehler('Das sehe ich hier nicht.')
|
||||
return
|
||||
|
||||
if item.id == self.world.ITEM_BOXSACK:
|
||||
self.setFehler('Der Boxsack sagt: Hmm, hmm?')
|
||||
|
||||
@@ -342,9 +358,7 @@ class ActionModul(ActionBasics):
|
||||
item = self.world.findItemInAktuellerRaum(parsedCommand.gegenstand)
|
||||
|
||||
if item != None:
|
||||
#alter Code!
|
||||
if item.id == 8:
|
||||
self.world.stdscr.addstr('Du ziehst den Hebel und es passiert.... nichts!')
|
||||
pass
|
||||
else:
|
||||
self.setFehler('Das sehe ich hier nicht.')
|
||||
|
||||
@@ -495,6 +509,8 @@ class ActionModul(ActionBasics):
|
||||
self.wechsleRaum(imwasser)
|
||||
else:
|
||||
self.setFehler('Das Wasser ist viel zu tief, du würdest ertrinken.')
|
||||
else:
|
||||
self.setFehler('Hieh-Hüpf')
|
||||
|
||||
|
||||
def sprich(self,parsedCommand):
|
||||
@@ -506,10 +522,7 @@ class ActionModul(ActionBasics):
|
||||
self.setFehler(f'{parsedCommand.gegenstand} ist nicht im Raum.')
|
||||
|
||||
def hilfe(self,parsedCommand):
|
||||
if parsedCommand.gegenstand == 'befehle':
|
||||
self.world.printBefehle()
|
||||
else:
|
||||
self.world.printText('hilfe')
|
||||
self.hilfemodul.hilfe(parsedCommand.gegenstand)
|
||||
|
||||
def geheNachItem(self,parsedCommand):
|
||||
item = self.world.findItemInAktuellerRaum(parsedCommand.gegenstand)
|
||||
@@ -552,6 +565,9 @@ class ActionModul(ActionBasics):
|
||||
self.geheNach(richtung)
|
||||
elif richtung == 'rauf':
|
||||
self.rauf()
|
||||
self.geheNach(richtung)
|
||||
elif richtung == 'runter':
|
||||
self.runter()
|
||||
else:
|
||||
self.geheNachItem(parsedCommand)
|
||||
|
||||
@@ -623,6 +639,7 @@ class ActionModul(ActionBasics):
|
||||
logging.debug(f'gefundener Ausgang: {ausgang}')
|
||||
if ausgang != None:
|
||||
raum = self.world.sucheRaum(ausgang)
|
||||
|
||||
else:
|
||||
logging.warn('Keine AusgandId gefunde')
|
||||
self.setFehler("In diese Richtung gibt's keine Ausgang!")
|
||||
@@ -653,10 +670,6 @@ class ActionModul(ActionBasics):
|
||||
def runter(self):
|
||||
self.geheNach(self.world.RUNTER)
|
||||
|
||||
def about(self):
|
||||
print("Tomb Version " + self.world.VERSION)
|
||||
self.world.waitForCR
|
||||
|
||||
def raumaction(self):
|
||||
raumid = self.world.aktuellerRaum.id
|
||||
|
||||
|
13
BewegungsModul.py
Normal file
13
BewegungsModul.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Bewegungsmodul - Steuert die Bewegungen aller NPC.
|
||||
import logging
|
||||
|
||||
class BewegungsModul:
|
||||
|
||||
|
||||
def __init__(self, world):
|
||||
|
||||
self.world = world
|
||||
|
||||
|
||||
def bewegeNPCS(self):
|
||||
skip
|
9
ConfigError.py
Normal file
9
ConfigError.py
Normal file
@@ -0,0 +1,9 @@
|
||||
class ConfigError(Exception):
|
||||
def __init_(self,message):
|
||||
self.message = message
|
||||
super().__init(message)
|
||||
|
||||
def __str__(self):
|
||||
return self.message
|
||||
|
||||
|
29
FileReader.py
Normal file
29
FileReader.py
Normal file
@@ -0,0 +1,29 @@
|
||||
class FileReader() :
|
||||
|
||||
__zeilen__ = []
|
||||
__dateiname__ = ""
|
||||
def __init__(self,dateiname):
|
||||
self.__zeilen__ = []
|
||||
self.__dateiname__ = dateiname
|
||||
|
||||
|
||||
def lines(self):
|
||||
with open(self.__dateiname__,"r" ) as file:
|
||||
for zeile in file:
|
||||
self.__zeilen__.append(zeile.strip())
|
||||
return self.__zeilen__
|
||||
def __str__(self):
|
||||
return str(self.__zeilen__)
|
||||
|
||||
class CsvReader(FileReader):
|
||||
def __init__(self,dateiname):
|
||||
super().__init__(dateiname)
|
||||
|
||||
def lines(self):
|
||||
zeilen = super().lines()
|
||||
liste = []
|
||||
|
||||
return [zeile.split() for zeile in zeilen]
|
||||
# for zeile in zeilen:
|
||||
# liste.append(zeile.split(","))
|
||||
# return liste
|
77
HilfeModul.py
Normal file
77
HilfeModul.py
Normal file
@@ -0,0 +1,77 @@
|
||||
import logging
|
||||
import FileReader
|
||||
from os.path import exists
|
||||
|
||||
class HilfeModul():
|
||||
|
||||
def isBlank(self,str):
|
||||
if str != None and len(str.strip()) == 0:
|
||||
return True
|
||||
return False
|
||||
|
||||
def __init__(self, world):
|
||||
|
||||
self.world = world
|
||||
|
||||
self.check()
|
||||
|
||||
def readTxt(self, datei):
|
||||
logging.debug(f'öffne Hilfedatei {datei}')
|
||||
reader = FileReader.FileReader(datei)
|
||||
|
||||
lines = reader.lines()
|
||||
reader = None
|
||||
# reader.close()
|
||||
|
||||
return lines
|
||||
|
||||
def check(self):
|
||||
|
||||
for id in self.world.befehle:
|
||||
befehl = self.world.befehle[id]
|
||||
|
||||
helptxt = self.baueHilfedatei(befehl.key)
|
||||
|
||||
logging.debug(f'suche Hilfedatei {helptxt}')
|
||||
if not exists(helptxt):
|
||||
logging.warn(f'Hilfedatei {helptxt} existiert nicht')
|
||||
|
||||
|
||||
def hilfe(self, command):
|
||||
generalHelp = True
|
||||
if not self.isBlank(command):
|
||||
helptxt = self.findHilfetext(command)
|
||||
|
||||
logging.debug(f'Hilfetext: {helptxt}')
|
||||
|
||||
if helptxt != None:
|
||||
lines = self.readTxt(helptxt)
|
||||
logging.debug(f'lines: {lines}')
|
||||
self.world.printHilfe(lines)
|
||||
generalHelp = False
|
||||
|
||||
if generalHelp:
|
||||
if command == 'befehle':
|
||||
self.world.printBefehle()
|
||||
else:
|
||||
self.world.printText('hilfe')
|
||||
|
||||
def baueHilfedatei(self, key):
|
||||
return f'ascii/hilfe/cmd-{key}.txt'
|
||||
def findHilfetext(self, command):
|
||||
|
||||
logging.debug(f'suche Hilfetext zu {command}')
|
||||
|
||||
for cmdid in range(0,len(self.world.befehle)):
|
||||
if str(cmdid) in self.world.befehle:
|
||||
befehl = self.world.befehle[str(cmdid)]
|
||||
|
||||
logging.debug(f'cmdid= {cmdid}')
|
||||
|
||||
logging.debug(f'vergleiche {befehl.name.lower()} mit {command.lower()}')
|
||||
|
||||
if befehl.name.lower() == command.lower():
|
||||
logging.debug(f'gefundener Befehl: {befehl.name}')
|
||||
return self.baueHilfedatei(befehl.key)
|
||||
|
||||
return None
|
@@ -19,11 +19,11 @@ class TestModule:
|
||||
|
||||
def testOeffneTruhe(self):
|
||||
logging.debug('===== Beginn Testmodul Truhe =====')
|
||||
pcmd = self.parseInput('nimm Truhe')
|
||||
|
||||
#Auf den Dachboden
|
||||
self.ac.rauf()
|
||||
self.schrittzaehler += 1
|
||||
pcmd = self.parseInput('nimm Truhe')
|
||||
self.ac.nimm(pcmd)
|
||||
self.schrittzaehler += 1
|
||||
|
||||
|
35
World.py
35
World.py
@@ -15,12 +15,33 @@ class World:
|
||||
def clearScreen(self):
|
||||
self.stdscr.clear()
|
||||
|
||||
def printAbout(self):
|
||||
s = self.stdscr
|
||||
|
||||
self.clearScreen()
|
||||
s.addstr(1,0,'Das Grab des Azteken', curses.color_pair(2))
|
||||
s.addstr(2,0,f'Version {self.VERSION}')
|
||||
self.waitForCR()
|
||||
def printText(self,textid):
|
||||
self.clearScreen()
|
||||
self.stdscr.addstr(1,0,self.texte[textid].name)
|
||||
self.waitForCR()
|
||||
self.printRaum()
|
||||
|
||||
def printHilfe(self,lines):
|
||||
|
||||
self.clearScreen()
|
||||
s = self.stdscr
|
||||
s.addstr(1,0, lines[0])
|
||||
s.addstr(3,0, lines[2], curses.color_pair(2)) # Befehl
|
||||
s.addstr(4,0, lines[3]) #Parameter
|
||||
s.addstr(5,0, lines[4]) # siehe auch
|
||||
s.addstr(8,0, lines[7]) #Text 1
|
||||
s.addstr(9,0, lines[8]) #Text 2
|
||||
if len(lines) == 10 :
|
||||
s.addstr(10,0, lines[9]) #Text 3
|
||||
self.waitForCR()
|
||||
|
||||
def printKarte(self):
|
||||
self.clearScreen()
|
||||
s = self.stdscr
|
||||
@@ -244,6 +265,16 @@ class World:
|
||||
return person
|
||||
return None
|
||||
|
||||
def findPersonById(self,persid):
|
||||
|
||||
for id in self.personen:
|
||||
person = self.personen[id]
|
||||
|
||||
if person.id == persid:
|
||||
return person
|
||||
|
||||
return None
|
||||
|
||||
def findPersonImAktuellenRaumById(self, personid):
|
||||
raum = self.aktuellerRaum
|
||||
|
||||
@@ -376,7 +407,9 @@ class World:
|
||||
self.WEST = '3'
|
||||
self.RAUF = '4'
|
||||
self.RUNTER = '5'
|
||||
self.VERSION = '0.5'
|
||||
|
||||
self.VERSION = '0.91'
|
||||
|
||||
self.ITEM_TISCH = '1'
|
||||
self.ITEM_LEITER = '2'
|
||||
self.ITEM_TRUHE = '3'
|
||||
|
@@ -30,6 +30,17 @@ class WorldParser():
|
||||
logging.error(f'keine Beschreibung für Item {itemid} - {item.name}')
|
||||
raise ValueError('Text ' +textid + ' fehlt')
|
||||
|
||||
for raumid in self.world.raumliste:
|
||||
raum = self.world.raumliste[raumid]
|
||||
textid = 'raum-' +raumid
|
||||
|
||||
if textid in self.world.raumliste:
|
||||
pass
|
||||
else:
|
||||
logging.warn(f' keine Beschreibung für Raum {raumid} - {raum.name}')
|
||||
|
||||
|
||||
|
||||
|
||||
def parseWorld(self,filename):
|
||||
|
||||
@@ -83,6 +94,9 @@ class WorldParser():
|
||||
key = befehl.attrib['key']
|
||||
command = Befehl(name,id,key)
|
||||
|
||||
if id in self.world.befehle:
|
||||
raise ValueError(f'doppelte Befehl-Id {id}')
|
||||
|
||||
self.world.befehle[id] = command
|
||||
# Adjektive
|
||||
for adj in root.findall('adjektive/adjektiv'):
|
||||
|
11
ascii/hilfe/cmd-0.txt
Normal file
11
ascii/hilfe/cmd-0.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: ende, quit
|
||||
Parameter: -keine
|
||||
siehe auch:
|
||||
|
||||
|
||||
Beendet das Programm.
|
||||
|
||||
|
||||
|
14
ascii/hilfe/cmd-1.txt
Normal file
14
ascii/hilfe/cmd-1.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: geh, gehe
|
||||
Parameter: Richtung, Objekt
|
||||
siehe auch: süd, nord, west, ost
|
||||
|
||||
|
||||
geht in die angegebene Richtung oder das Objekt. Ist der Ausgang in die Richtung frei, landest du
|
||||
im nächsten Raum.
|
||||
|
||||
mögliche Richtungen sind: Nord, Ost, Süd, West, Rauf und Runter
|
||||
|
||||
|
||||
|
9
ascii/hilfe/cmd-10.txt
Normal file
9
ascii/hilfe/cmd-10.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: runter
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe,klettere
|
||||
|
||||
|
||||
Geht runter, sofern dort ein Ausgang ist.
|
||||
|
9
ascii/hilfe/cmd-12.txt
Normal file
9
ascii/hilfe/cmd-12.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: inventar
|
||||
Parameter: -keiner-
|
||||
siehe auch:
|
||||
|
||||
|
||||
Listet die Gegenstände im Inventar auf.
|
||||
|
9
ascii/hilfe/cmd-13.txt
Normal file
9
ascii/hilfe/cmd-13.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: about
|
||||
Parameter: -keiner-
|
||||
siehe auch:
|
||||
|
||||
|
||||
Git Informationen zum Programm.
|
||||
|
9
ascii/hilfe/cmd-14.txt
Normal file
9
ascii/hilfe/cmd-14.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: verliere
|
||||
Parameter: Objekt
|
||||
siehe auch: nimm
|
||||
|
||||
|
||||
entfernt einen Gegenstand aus dem Inventar und legt ihn im aktuellen Raum ab.
|
||||
|
9
ascii/hilfe/cmd-15.txt
Normal file
9
ascii/hilfe/cmd-15.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: warte
|
||||
Parameter: -keiner
|
||||
siehe auch:
|
||||
|
||||
|
||||
Tut nix.
|
||||
|
9
ascii/hilfe/cmd-16.txt
Normal file
9
ascii/hilfe/cmd-16.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: drücke
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Drückt auf einen Gegenstand imInventar oder aktuellen Raum.
|
||||
|
9
ascii/hilfe/cmd-17.txt
Normal file
9
ascii/hilfe/cmd-17.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: ziehe
|
||||
Parameter: Objekt
|
||||
siehe auch: drücke
|
||||
|
||||
|
||||
Zieht an einem Objekt im Inventar oder aktuellen Raum.
|
||||
|
9
ascii/hilfe/cmd-19.txt
Normal file
9
ascii/hilfe/cmd-19.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: stelle, stell
|
||||
Parameter: Objekt
|
||||
siehe auch:
|
||||
|
||||
|
||||
Stellt ein Objekt im Inventar ab.
|
||||
|
12
ascii/hilfe/cmd-2.txt
Normal file
12
ascii/hilfe/cmd-2.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: nimm
|
||||
Parameter: Objekt
|
||||
siehe auch:
|
||||
|
||||
|
||||
Nimmt einen Gegenstand im aktuellen Raum auf und verstaut ihn in deinem Inventar.
|
||||
Hinweis: Einge Gegenstände können nicht mitgenommen werden.
|
||||
|
||||
|
||||
|
10
ascii/hilfe/cmd-20.txt
Normal file
10
ascii/hilfe/cmd-20.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: öffne
|
||||
Parameter: Objekt
|
||||
siehe auch: nimm
|
||||
|
||||
|
||||
Öffnet einen Behälter oder eine Tür.
|
||||
Der Gegenstand muss sich im Inventar oder aktuellen Raum befinden.
|
||||
|
11
ascii/hilfe/cmd-21.txt
Normal file
11
ascii/hilfe/cmd-21.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: klettere
|
||||
Parameter: Objekt
|
||||
siehe auch: rauf, runter
|
||||
|
||||
|
||||
Klettert an einem Gegenstand rauf oder runter.
|
||||
Der Gegenstand muss sich im aktuellen Raum befinden.
|
||||
Hinweis: Manchmal muss der Gegenstand erst kletterbar gemacht werden.
|
||||
|
10
ascii/hilfe/cmd-22.txt
Normal file
10
ascii/hilfe/cmd-22.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: fange
|
||||
Parameter: Person
|
||||
siehe auch:
|
||||
|
||||
|
||||
Fängt die angebene Person. Möglicherweise benötigst du einen weiteren
|
||||
Gegenstand zum Fangen.
|
||||
|
9
ascii/hilfe/cmd-23.txt
Normal file
9
ascii/hilfe/cmd-23.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: hilfe
|
||||
Parameter: Befehl
|
||||
siehe auch:
|
||||
|
||||
|
||||
Zeigt Hilfe zu einem Befehl an.
|
||||
|
10
ascii/hilfe/cmd-24.txt
Normal file
10
ascii/hilfe/cmd-24.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: schlage, boxe
|
||||
Parameter: Genstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Schlägt auf einen Gegenstand im aktuellen Raum.
|
||||
Achte darauf, wen oder was du schlägst!
|
||||
|
10
ascii/hilfe/cmd-25.txt
Normal file
10
ascii/hilfe/cmd-25.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: sprich
|
||||
Parameter: Person
|
||||
siehe auch:
|
||||
|
||||
|
||||
Spricht eine Person im aktuellen Raum an. Dadurch könntest du an spielentscheidende
|
||||
Informationen kommen.
|
||||
|
9
ascii/hilfe/cmd-26.txt
Normal file
9
ascii/hilfe/cmd-26.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: leere
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Leert einen Gegenstand im Inventar bzw. schüttet seinen Inhalt aus.
|
||||
|
9
ascii/hilfe/cmd-27.txt
Normal file
9
ascii/hilfe/cmd-27.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: fülle, fuelle
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Füllt einen Gegenstand im Inventar. Das einzufüllende Material muss im aktuellen Raum vorhanden sein.
|
||||
|
9
ascii/hilfe/cmd-28.txt
Normal file
9
ascii/hilfe/cmd-28.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: wirf
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Wirft einen Gegenstand im Inventar.
|
||||
|
9
ascii/hilfe/cmd-29.txt
Normal file
9
ascii/hilfe/cmd-29.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: gib
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Gibt einen Gegenstand aus dem Inventar an eine Person im aktuellen Raum.
|
||||
|
13
ascii/hilfe/cmd-3.txt
Normal file
13
ascii/hilfe/cmd-3.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: untersuche,schaue
|
||||
Parameter: Objekt
|
||||
siehe auch:
|
||||
|
||||
|
||||
Gibt dir eine genauere Beschreibung eines Gegenstands. Der Gegenstand muss sich in deinem Inventar
|
||||
oder im aktuellen Raum befinden.
|
||||
Hinweis: Lässt du das Objekt weg, gibt es eine Beschreibung des aktuellen Raums.
|
||||
|
||||
|
||||
|
9
ascii/hilfe/cmd-30.txt
Normal file
9
ascii/hilfe/cmd-30.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: entzünde
|
||||
Parameter: Gegenstand
|
||||
siehe auch:
|
||||
|
||||
|
||||
Entzündet einenbrennbaren Gegestand aus dem Inventar. Feuer bedeutet Licht.
|
||||
|
9
ascii/hilfe/cmd-31.txt
Normal file
9
ascii/hilfe/cmd-31.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: lösche
|
||||
Parameter: Gegenstand
|
||||
siehe auch: entzünde
|
||||
|
||||
|
||||
Löscht einen brennden Gegenstand im Inventar.
|
||||
|
9
ascii/hilfe/cmd-32.txt
Normal file
9
ascii/hilfe/cmd-32.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: spring
|
||||
Parameter: -keiner-
|
||||
siehe auch:
|
||||
|
||||
|
||||
Springt in die Höhe oder über etwas rüber oder in etwas hinein.
|
||||
|
9
ascii/hilfe/cmd-4.txt
Normal file
9
ascii/hilfe/cmd-4.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: benutze
|
||||
Parameter: Objekt
|
||||
siehe auch:
|
||||
|
||||
|
||||
Benutzt einen Gegenstand aus dem Inventar. Unter Umständen kann ein spezieller Gegenstand nur
|
||||
in bestimmten Räumen benutzt werden.
|
9
ascii/hilfe/cmd-5.txt
Normal file
9
ascii/hilfe/cmd-5.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: nord
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe
|
||||
|
||||
|
||||
Geht nach Norden, sofern dort ein Ausgang ist.
|
||||
|
9
ascii/hilfe/cmd-6.txt
Normal file
9
ascii/hilfe/cmd-6.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: süd, süden
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe
|
||||
|
||||
|
||||
Geht nach Süden, sofern dort ein Ausgang ist.
|
||||
|
7
ascii/hilfe/cmd-7.txt
Normal file
7
ascii/hilfe/cmd-7.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: nord
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe
|
||||
|
||||
Geht nach Norden, sofern dort ein Ausgang ist.
|
9
ascii/hilfe/cmd-8.txt
Normal file
9
ascii/hilfe/cmd-8.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: west, westen
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe
|
||||
|
||||
|
||||
Geht nach Westen, sofern dort ein Ausgang ist.
|
||||
|
9
ascii/hilfe/cmd-9.txt
Normal file
9
ascii/hilfe/cmd-9.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Hilfeseite
|
||||
|
||||
Befehl: rauf
|
||||
Parameter: -keiner-
|
||||
siehe auch: gehe, klettere
|
||||
|
||||
|
||||
Geht rauf, sofern dort ein Ausgang ist.
|
||||
|
28
world.xml
28
world.xml
@@ -288,7 +288,7 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
|
||||
<commandset>
|
||||
<command name='quit' id='0' key='0' />
|
||||
<command name='ende' id='0' key='0' />
|
||||
<command name='ende' id='43' key='0' />
|
||||
<command name='geh' id='1' key='1' />
|
||||
<command name='gehe' id='27' key='1' />
|
||||
<command name='nimm' id='2' key='2' />
|
||||
@@ -306,10 +306,8 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
<command name='verliere' id='15' key='14' />
|
||||
<command name='warte' id='16' key='15' />
|
||||
<command name='drücke' id='17' key='16' />
|
||||
<command name='ende' id='18' key='0' />
|
||||
<command name='schaue' id='18' key='3' />
|
||||
<command name='ziehe' id='19' key='17' />
|
||||
<command name='benutze' id='20' key='18' />
|
||||
<command name='stelle' id='21' key='19' />
|
||||
<command name='stell' id='22' key='19' />
|
||||
<command name='öffne' id='23' key='20' />
|
||||
@@ -319,7 +317,7 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
<command name='schlage' id='29' key='24' />
|
||||
<command name='boxe' id='30' key='24' />
|
||||
<command name='norden' id='31' key='5' />
|
||||
<command name='süd' id='32' key='7' />
|
||||
<command name='süden' id='32' key='7' />
|
||||
<command name='westen' id='33' key='8' />
|
||||
<command name='sprich' id='34' key='25' />
|
||||
<command name='leere' id='35' key='26' />
|
||||
@@ -393,6 +391,8 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
<item name='Loch' id='44' display='' raum='30' imobil='true' adjektiv='0' msgid='8' visible='true' />
|
||||
<item name='Plakette' id='45' display='' raum='42' imobil='true' adjektiv='0' msgid='2' visible='true' />
|
||||
<item name='Kühlschrank' id='46' display='' raum='43' imobil='true' adjektiv='0' msgid='2' visible='true' />
|
||||
<item name='Uhr' id='47' display='' raum='43' imobil='true' adjektiv='0' msgid='2' visible='true' />
|
||||
<item name='Schriftzug' id='48' display='' raum='39' imobil='true' adjektiv='0' msgid='2' visible='false' />
|
||||
|
||||
</items>
|
||||
<personen>
|
||||
@@ -558,6 +558,12 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
<text id='item-46'>
|
||||
Wie überraschend, er ist weiß.
|
||||
</text>
|
||||
<text id='item-47'>
|
||||
Die Uhr ist bei 22:04 Uhr stehen geblieben.
|
||||
</text>
|
||||
<text id='item-48'>
|
||||
Über die ganze Wand hat jemand "Romanum ite domum" gepinselt.
|
||||
</text>
|
||||
<text id='raum-21'>
|
||||
Im Tunnel ist es zu dunkel, um etwas zu sehen. Aber du spürst einen leichten Wind, der von Osten durch den Tunnel weht.
|
||||
</text>
|
||||
@@ -567,6 +573,12 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
<text id='raum-31-1'>
|
||||
Im Licht der Fackel erkennst du, dass das Loch sorgfältig gegraben und mit Schiffsplanken abgestützt wurde.
|
||||
</text>
|
||||
<text id='raum-43'>
|
||||
Eine praktisch eingerichtete Küche. An der Wand hängt eine Uhr, ein Kühlschrank steht gegenüber der Tür.
|
||||
</text>
|
||||
<text id='npc-5'>
|
||||
Muuuh.
|
||||
</text>
|
||||
<text id='npc-6'>
|
||||
Der Zwerg klappert vor Kälte mit den Zähnen und kann nicht sprechen.
|
||||
</text>
|
||||
@@ -589,7 +601,7 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
Die Liste der möglichen Befehle erhälst du mit "hilfe befehle".
|
||||
Die Aufgabe gibt dir jemand im Spiel.
|
||||
</text>
|
||||
<text id='geist'>
|
||||
<text id='npc-4'>
|
||||
Ich bin der Geist deines Großonkels Henry. Mein ganzes Leben habe ich damit verbracht, das Himmelsgrab der Azteken zu finden, wie zuvor
|
||||
mein Vater.
|
||||
Leider erfolglos. Die Karte, die ich mir mühsam aus Hinweisen erstellt hatte, wurde mir von einem hinterlistigen Zwerg entwendet.
|
||||
@@ -609,5 +621,11 @@ Du stehst in der Küche. In der Ecke steht ein Kühlschrank.
|
||||
Also du den Diamant in den Sockel setzt, schiebt sich ein Teil der Mauer knirschend nach hinten und gibt einen Durchgang frei. Staubige Luft
|
||||
quillt dir entgegen.
|
||||
</text>
|
||||
<text id='victory'>
|
||||
Henry erscheint und sagt:
|
||||
"Es war sehr beeindruckend, deine Suche zu verfolgen. Du hast meine Aufgabe erfolgreich zu Ende geführt."
|
||||
"Endlich kann ich meine Frieden finden."
|
||||
</text>
|
||||
|
||||
</texte>
|
||||
</welt>
|
||||
|
Reference in New Issue
Block a user