neelthee-mansion 3.22.1__py3-none-any.whl → 3.22.3__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 +10 -9
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/LICENSE.md +0 -0
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.22.1.dist-info → neelthee_mansion-3.22.3.dist-info}/top_level.txt +0 -0
@@ -403,7 +403,7 @@ def get_inventory_text():
|
|
403
403
|
the_inventory = [
|
404
404
|
itemnum.name for itemnum in player.inventory if isinstance(itemnum, item)
|
405
405
|
]
|
406
|
-
return f'\nInventory:
|
406
|
+
return f'\nInventory: \033[34m{", ".join(the_inventory)}\033[0m; Money: {player.money}; XP: {player.xp}; Level: {player.Level}'
|
407
407
|
|
408
408
|
def show_player_info():
|
409
409
|
global info_label, root
|
@@ -420,6 +420,7 @@ def show_player_info():
|
|
420
420
|
root.mainloop()
|
421
421
|
|
422
422
|
def update_player_info():
|
423
|
+
global root, info_label
|
423
424
|
info_text = get_inventory_text()
|
424
425
|
root.after(0, lambda: info_label.config(text=info_text))
|
425
426
|
|
@@ -778,8 +779,8 @@ def select_target(chooser, targets: list):
|
|
778
779
|
|
779
780
|
|
780
781
|
def command():
|
781
|
-
|
782
|
-
try:
|
782
|
+
global player
|
783
|
+
#try:
|
783
784
|
ShouldBreak = False
|
784
785
|
|
785
786
|
while True:
|
@@ -810,12 +811,12 @@ def command():
|
|
810
811
|
ShouldBreak = True
|
811
812
|
if ShouldBreak:
|
812
813
|
return
|
813
|
-
except KeyError as e:
|
814
|
-
|
815
|
-
except ValueError as e:
|
816
|
-
|
817
|
-
except Exception as e:
|
818
|
-
|
814
|
+
#except KeyError as e:
|
815
|
+
# type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
816
|
+
#except ValueError as e:
|
817
|
+
# type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
818
|
+
#except Exception as e:
|
819
|
+
# type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
819
820
|
|
820
821
|
|
821
822
|
def handle_sleep_command(player: PC):
|
@@ -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=95k6aR6lPOh-_dmn-qAoFVnRs-5mN69Vutp1qhZfEKc,52881
|
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.3.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
|
12
|
+
neelthee_mansion-3.22.3.dist-info/METADATA,sha256=1yG13gdT7cJDl46GRiCUdc5hXskzB-QZOexXuOPDxIA,1756
|
13
|
+
neelthee_mansion-3.22.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
14
|
+
neelthee_mansion-3.22.3.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
15
|
+
neelthee_mansion-3.22.3.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
16
|
+
neelthee_mansion-3.22.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|