Endgame
This commit is contained in:
13
tomb.py
13
tomb.py
@@ -128,6 +128,8 @@ def inputLoop(stdscr):
|
||||
commandid = '0'
|
||||
elif debugcommand[1] == 'weg':
|
||||
logging.debug(f'gelaufener Weg: {world.weg}')
|
||||
elif debugcommand[1] == 'unvisited':
|
||||
debug_NonVisited()
|
||||
|
||||
elif command.startswith('auto:'):
|
||||
command = command.rstrip()
|
||||
@@ -158,6 +160,8 @@ def inputLoop(stdscr):
|
||||
testmodul.testKlippe()
|
||||
elif debugcommand[1] == 'statue':
|
||||
testmodul.testStatue()
|
||||
elif debugcommand[1] == 'mauer':
|
||||
testmodul.testMauer()
|
||||
|
||||
|
||||
world.fehler = ''
|
||||
@@ -170,6 +174,15 @@ def inputLoop(stdscr):
|
||||
verarbeiteBefehl(parsedCommand)
|
||||
actionmodul.raumaction()
|
||||
|
||||
def debug_NonVisited():
|
||||
logging.debug('nicht entdeckte Räume:')
|
||||
|
||||
for raumid in world.raumliste:
|
||||
raum = world.raumliste[raumid]
|
||||
|
||||
if not raum.entdeckt:
|
||||
logging.debug(f'{raum.id} - {raum.name}')
|
||||
|
||||
def debug_Personen():
|
||||
logging.debug('Personen im aktuellen Raum')
|
||||
|
||||
|
Reference in New Issue
Block a user