neelthee-mansion 3.22.7__py3-none-any.whl → 3.22.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- neelthee_mansion/Mansion_of_Amnesia.py +5 -3
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/LICENSE.md +0 -0
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.22.7.dist-info → neelthee_mansion-3.22.9.dist-info}/top_level.txt +0 -0
@@ -406,7 +406,7 @@ def get_inventory_text():
|
|
406
406
|
the_inventory = [
|
407
407
|
itemnum.name for itemnum in player.inventory if isinstance(itemnum, item)
|
408
408
|
]
|
409
|
-
return f'\nInventory:
|
409
|
+
return f'\nInventory: {", ".join(the_inventory)}; Money: {player.money}; XP: {player.xp}; Level: {player.Level}'
|
410
410
|
|
411
411
|
def show_player_info():
|
412
412
|
global player_info_root, player_info_label
|
@@ -423,8 +423,10 @@ def show_player_info():
|
|
423
423
|
player_info_root.mainloop()
|
424
424
|
|
425
425
|
def update_player_info():
|
426
|
-
|
427
|
-
player_info_root
|
426
|
+
global player_info_root, player_info_label
|
427
|
+
if player_info_root and player_info_label:
|
428
|
+
info_text = get_inventory_text()
|
429
|
+
player_info_root.after(0, lambda: player_info_label.config(text=info_text))
|
428
430
|
|
429
431
|
def start_tkinter_thread():
|
430
432
|
thread = threading.Thread(target=show_player_info)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
neelthee_mansion/Books.py,sha256=Zs6GOi12vrikne-E37LdrLNRb6CyUogOCDApDGFj6Ls,26168
|
2
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
2
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=RNC3D0JhYDMO-rng3zEr5OPnkbgJOIdD29-LNBSY-zM,53106
|
3
3
|
neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
|
4
4
|
neelthee_mansion/Rooms.py,sha256=CgenMX9ssTCWbDFopX6GHhNDnRYF5MpaDufWvt5fPwU,86025
|
5
5
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -8,9 +8,9 @@ neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts
|
|
8
8
|
neelthee_mansion/creatures.py,sha256=vUR8PmdiftCFBCGJbHkCT4AMUPvqwouDGQ4ye2fiPCw,20910
|
9
9
|
neelthee_mansion/items.py,sha256=--DtMCZrurDAe3S-gB5DXAul_kmG9BGB0QmBY2-Fphc,6383
|
10
10
|
neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
|
11
|
-
neelthee_mansion-3.22.
|
12
|
-
neelthee_mansion-3.22.
|
13
|
-
neelthee_mansion-3.22.
|
14
|
-
neelthee_mansion-3.22.
|
15
|
-
neelthee_mansion-3.22.
|
16
|
-
neelthee_mansion-3.22.
|
11
|
+
neelthee_mansion-3.22.9.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
|
12
|
+
neelthee_mansion-3.22.9.dist-info/METADATA,sha256=m5P0ZgqoW42173ZuHjIHsFh0fEAUPk78tiTY9LgecPs,1756
|
13
|
+
neelthee_mansion-3.22.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
14
|
+
neelthee_mansion-3.22.9.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
15
|
+
neelthee_mansion-3.22.9.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
16
|
+
neelthee_mansion-3.22.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|