neelthee-mansion 3.22.3__py3-none-any.whl → 3.22.4__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,7 @@ 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
19
+ global player, evil_mage, commands, NOTE_NUM, credits, color_coding, quest_manager, revealer, CHARACTERSLIST, BACKGROUNDS, player_info_label, player_info_root
20
20
 
21
21
  BACKGROUNDS = {
22
22
  "Adventurer": ["survival", "climbing"],
@@ -406,23 +406,23 @@ def get_inventory_text():
406
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
- global info_label, root
410
- root = tk.Tk()
411
- root.title("Player Info")
409
+ global player_info_label, player_info_root
410
+ player_info_root = tk.Tk()
411
+ player_info_root.title("Player Info")
412
412
 
413
413
  info_text = get_inventory_text()
414
- info_label = tk.Label(root, text=info_text)
415
- info_label.pack()
414
+ player_info_label = tk.Label(player_info_root, text=info_text)
415
+ player_info_label.pack()
416
416
 
417
- update_button = tk.Button(root, text="Update Info", command=update_player_info)
417
+ update_button = tk.Button(player_info_root, text="Update Info", command=update_player_info)
418
418
  update_button.pack()
419
419
 
420
- root.mainloop()
420
+ player_info_root.mainloop()
421
421
 
422
422
  def update_player_info():
423
- global root, info_label
423
+ global player_info_root, player_info_label
424
424
  info_text = get_inventory_text()
425
- root.after(0, lambda: info_label.config(text=info_text))
425
+ player_info_root.after(0, lambda: player_info_label.config(text=info_text))
426
426
 
427
427
  def start_tkinter_thread():
428
428
  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.3
3
+ Version: 3.22.4
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=95k6aR6lPOh-_dmn-qAoFVnRs-5mN69Vutp1qhZfEKc,52881
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=wD4mBASgDjCvTgBgkGFlsCpVDu-4ASJcWZ25xZso3x8,53049
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.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,,
11
+ neelthee_mansion-3.22.4.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
+ neelthee_mansion-3.22.4.dist-info/METADATA,sha256=aL7K-UpIZMg-u9S_Kc_XM5lcj-hC_R13zwReFybebtw,1756
13
+ neelthee_mansion-3.22.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
+ neelthee_mansion-3.22.4.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
+ neelthee_mansion-3.22.4.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
+ neelthee_mansion-3.22.4.dist-info/RECORD,,