neelthee-mansion 3.22.6__py3-none-any.whl → 3.22.8__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.
@@ -16,7 +16,10 @@ GameState = {
16
16
  Neel-thee's Mansion of Amnesia
17
17
  """
18
18
 
19
- global player, evil_mage, commands, NOTE_NUM, credits, color_coding, quest_manager, revealer, CHARACTERSLIST, BACKGROUNDS, player_info_label, player_info_root
19
+ global player, evil_mage, commands, NOTE_NUM, credits, color_coding, quest_manager, revealer, CHARACTERSLIST, BACKGROUNDS
20
+
21
+ player_info_root = None
22
+ player_info_label = None
20
23
 
21
24
  BACKGROUNDS = {
22
25
  "Adventurer": ["survival", "climbing"],
@@ -420,8 +423,10 @@ def show_player_info():
420
423
  player_info_root.mainloop()
421
424
 
422
425
  def update_player_info():
423
- info_text = get_inventory_text()
424
- player_info_root.after(0, lambda: player_info_label.config(text=info_text))
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))
425
430
 
426
431
  def start_tkinter_thread():
427
432
  thread = threading.Thread(target=show_player_info)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.22.6
3
+ Version: 3.22.8
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=gisAmsV2c6Aan9MR3wT-QhRWlJMaDnmKdyPCjipL_Ow,53001
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=YQ6xCCnaXwWca_wusd5T348vC7jk6IQNaCoemSzDWNQ,53121
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.6.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
- neelthee_mansion-3.22.6.dist-info/METADATA,sha256=kUQzSjkn5lHCel8MGbpotVjPmERCmIH8SyeS7HrLhOg,1756
13
- neelthee_mansion-3.22.6.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
- neelthee_mansion-3.22.6.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
- neelthee_mansion-3.22.6.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
- neelthee_mansion-3.22.6.dist-info/RECORD,,
11
+ neelthee_mansion-3.22.8.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
+ neelthee_mansion-3.22.8.dist-info/METADATA,sha256=5KtOTwdkOBnKnh9LZIYqZvyucVMI0B08UeK9tkqaWLA,1756
13
+ neelthee_mansion-3.22.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
+ neelthee_mansion-3.22.8.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
+ neelthee_mansion-3.22.8.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
+ neelthee_mansion-3.22.8.dist-info/RECORD,,