Der Sichtbarkeitsstatus ist fürs Inventar irrelevant.

This commit is contained in:
Olli Graf
2022-05-23 10:01:36 +02:00
parent c2aca6cf07
commit fef412580a
4 changed files with 29 additions and 10 deletions

12
tomb.py
View File

@@ -102,6 +102,8 @@ def inputLoop(stdscr):
if debugcommand[1] == 'items':
debug_Items()
elif debugcommand[1] == 'inventar':
debug_Inventar()
elif command.startswith('auto:'):
command = command.rstrip()
if command.startswith('auto:'):
@@ -132,6 +134,16 @@ def debug_Items():
# logging.debug(f'Item-IdId:{item.id} - Item-Name:{item.name}')
count = count +1
def debug_Inventar():
logging.debug('liste Items')
logging.debug(world.inventar)
count = 0
for item in world.inventar:
logging.debug(f'count= {count}')
logging.debug(f'Itemtyp: {type(item)}')
# logging.debug(f'Item-IdId:{item.id} - Item-Name:{item.name}')
count = count +1
def main():
wrapper(inputLoop)