Stier läuft der Jacke hinterher.
This commit is contained in:
12
tomb.py
12
tomb.py
@@ -111,6 +111,8 @@ def inputLoop(stdscr):
|
||||
debug_Items()
|
||||
elif debugcommand[1] == 'inventar':
|
||||
debug_Inventar()
|
||||
elif debugcommand[1] == 'personen':
|
||||
debug_Personen()
|
||||
elif command.startswith('auto:'):
|
||||
command = command.rstrip()
|
||||
if command.startswith('auto:'):
|
||||
@@ -129,6 +131,8 @@ def inputLoop(stdscr):
|
||||
testmodul.testTal()
|
||||
elif debugcommand[1] =='baumhaus':
|
||||
testmodul.testBaumhaus()
|
||||
elif debugcommand[1] == 'stier':
|
||||
testmodul.testStier()
|
||||
|
||||
world.fehler = ''
|
||||
|
||||
@@ -140,6 +144,14 @@ def inputLoop(stdscr):
|
||||
verarbeiteBefehl(parsedCommand)
|
||||
actionmodul.raumaction()
|
||||
|
||||
def debug_Personen():
|
||||
logging.debug('Personen im aktuellen Raum')
|
||||
|
||||
for pid in world.aktuellerRaum.personen:
|
||||
person = world.personen[pid]
|
||||
|
||||
logging.debug(f'Id: {person.id} - Name: {person.name}')
|
||||
|
||||
def debug_Items():
|
||||
logging.debug('liste Items')
|
||||
logging.debug(world.gegenstaende)
|
||||
|
Reference in New Issue
Block a user