neelthee-mansion 3.6.9__py3-none-any.whl → 3.6.11__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.
@@ -264,6 +264,8 @@ def Use(moveone, movetwo=None):
264
264
 
265
265
  def PickKey(locked_obj):
266
266
  keys = player.inventory.keys()
267
+ if not isinstance(keys, list):
268
+ keys = [keys]
267
269
 
268
270
  if keys:
269
271
  while True:
@@ -661,8 +663,8 @@ def select_target(chooser, targets: list):
661
663
 
662
664
 
663
665
  def command():
664
- global player
665
- try:
666
+ global player
667
+ #try:
666
668
  ShouldBreak = False
667
669
 
668
670
  while True:
@@ -690,12 +692,12 @@ def command():
690
692
  ShouldBreak = True
691
693
  if ShouldBreak:
692
694
  return
693
- except KeyError as e:
694
- type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
695
- except ValueError as e:
696
- type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
697
- except Exception as e:
698
- type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
695
+ #except KeyError as e:
696
+ # type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
697
+ #except ValueError as e:
698
+ # type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
699
+ #except Exception as e:
700
+ # type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
699
701
 
700
702
  def handle_sleep_command(player: PC):
701
703
  type_text("You decide to rest for a while.", colorTrue=color_coding)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.6.9
3
+ Version: 3.6.11
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,4 +1,4 @@
1
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=s1ag-sdpJ0JVkNuHx5gzMDJEZOnYyu8Jljs4zUg9E5w,44175
1
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=UGzs4IqheW-dcl48zsfEYMceNy6mtoImZ-U69TfPrgQ,44245
2
2
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
3
3
  neelthee_mansion/Rooms.py,sha256=-70z28OFcbBbO_lcmfjMePiqeNMITpWKDuA48LR-Tnk,87843
4
4
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -7,8 +7,8 @@ neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUca
7
7
  neelthee_mansion/creatures.py,sha256=DQKYl1G3N92ycjay3_kxTMcOkj1S-zXKqRGUbbFZNlU,15396
8
8
  neelthee_mansion/items.py,sha256=78roH1JNOf9eB7PgXkJhs8K6eVsg1By05BRUn5hrP4M,5148
9
9
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
10
- neelthee_mansion-3.6.9.dist-info/METADATA,sha256=oOzRzzBIqP7KBN0wZrpoUM-hfLmjUSeUIlYgB7ncAw4,1991
11
- neelthee_mansion-3.6.9.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
- neelthee_mansion-3.6.9.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
- neelthee_mansion-3.6.9.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
- neelthee_mansion-3.6.9.dist-info/RECORD,,
10
+ neelthee_mansion-3.6.11.dist-info/METADATA,sha256=yR1aiYZE2cviGjL1ST5237Jbv2JpnDkbgeku8LnfrXM,1992
11
+ neelthee_mansion-3.6.11.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
+ neelthee_mansion-3.6.11.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
+ neelthee_mansion-3.6.11.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
+ neelthee_mansion-3.6.11.dist-info/RECORD,,