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.
@@ -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: %*BLUE*%{", ".join(the_inventory)}%*RESET*%; Money: {player.money}; XP: {player.xp}; Level: {player.Level}'
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
- global player
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
- type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
815
- except ValueError as e:
816
- type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
817
- except Exception as e:
818
- type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.22.1
3
+ Version: 3.22.3
4
4
  Summary: A text-based adventure game set in Neel-thee’s mansion.
5
5
  Home-page: https://github.com/Flameblade375/neelthee_mansion
6
6
  Author: Alexander.E.F
@@ -1,5 +1,5 @@
1
1
  neelthee_mansion/Books.py,sha256=Zs6GOi12vrikne-E37LdrLNRb6CyUogOCDApDGFj6Ls,26168
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=-ts-IgcAwRbQrj_A40KmApKTK0u1Wp9IazIn7RYGzBE,52843
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.1.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
- neelthee_mansion-3.22.1.dist-info/METADATA,sha256=w7cBKCPaHUKdwHsyIdjuPRLQLvo4_UvK0pQPryzwj6Q,1756
13
- neelthee_mansion-3.22.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
- neelthee_mansion-3.22.1.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
- neelthee_mansion-3.22.1.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
- neelthee_mansion-3.22.1.dist-info/RECORD,,
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,,