Der Sichtbarkeitsstatus ist fürs Inventar irrelevant.
This commit is contained in:
12
tomb.py
12
tomb.py
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user