neelthee-mansion 3.18.4__py3-none-any.whl → 3.18.6__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.
@@ -257,7 +257,7 @@ def Use(*Args):
257
257
  Use_quill()
258
258
  elif Item == 'grappling-hook':
259
259
  Use_grappling_hook()
260
- elif Item[0] == 'note' and Item[1]:
260
+ elif len(Item) >= 2 and Item[0] == 'note' and Item[1]:
261
261
  Use_note(Item[1])
262
262
  elif Item == '0':
263
263
  type_text("You can't use nothing", colorTrue=color_coding)
@@ -679,8 +679,8 @@ def select_target(chooser, targets: list):
679
679
 
680
680
 
681
681
  def command():
682
- global player
683
- try:
682
+ global player
683
+ #try:
684
684
  ShouldBreak = False
685
685
 
686
686
  while True:
@@ -708,12 +708,12 @@ def command():
708
708
  ShouldBreak = True
709
709
  if ShouldBreak:
710
710
  return
711
- except KeyError as e:
712
- type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
713
- except ValueError as e:
714
- type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
715
- except Exception as e:
716
- type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
711
+ #except KeyError as e:
712
+ # type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
713
+ #except ValueError as e:
714
+ # type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
715
+ #except Exception as e:
716
+ # type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
717
717
 
718
718
  def handle_sleep_command(player: PC):
719
719
  type_text("You decide to rest for a while.", colorTrue=color_coding)
@@ -763,9 +763,9 @@ def handle_look_command():
763
763
  return
764
764
  type_text('There is nothing of interest.', colorTrue=color_coding)
765
765
 
766
- def handle_use_command(item = None, sub_item = None):
766
+ def handle_use_command(*Args):
767
767
  global player
768
- Use(item, sub_item)
768
+ Use(Args)
769
769
 
770
770
  def handle_search_command(player, *Args):
771
771
  Container = " ".join(Args)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.18.4
3
+ Version: 3.18.6
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=P608nxbspB5wnGTKjK6ATrb4p-rCvfOxjwJ1O5tMhjY,25595
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=eGEPWHf3jhEkXM0_DT2bCZm8MZJ66WzCt3qHWOY-oCI,46628
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=QlwKLi2-Bp2UqB6blFp4f3Yk9A-6ORQ-zE0Q9u-CIaw,46625
3
3
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
4
4
  neelthee_mansion/Rooms.py,sha256=i6PjEPaa_OXtCGnaHMLhTdDmAsdhaMKujKtvn7QhZJI,90222
5
5
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -8,8 +8,8 @@ neelthee_mansion/all_game_utils.py,sha256=mnxws_YEnsoftkkBMZv1k_zlnGKWGenUvsZnNK
8
8
  neelthee_mansion/creatures.py,sha256=nc-6YQ7S89teDiypJdHKLLuq-q3UpbQCVGfJ4hnCb7M,15600
9
9
  neelthee_mansion/items.py,sha256=HTy9BhHWB0T_S53HFls0y6ER5jD7XAeI6PlY1ZnCZug,5711
10
10
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
11
- neelthee_mansion-3.18.4.dist-info/METADATA,sha256=UUrUsK2wJVuuCQvlf2ODxVxxSXlsgjO-nGdbyTMnHjk,1992
12
- neelthee_mansion-3.18.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
- neelthee_mansion-3.18.4.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
- neelthee_mansion-3.18.4.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
- neelthee_mansion-3.18.4.dist-info/RECORD,,
11
+ neelthee_mansion-3.18.6.dist-info/METADATA,sha256=VOtxCQDRhDvKrWXM6cLi_spl-Z_EWNAfc4JdLUWw-HI,1992
12
+ neelthee_mansion-3.18.6.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
+ neelthee_mansion-3.18.6.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
+ neelthee_mansion-3.18.6.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
+ neelthee_mansion-3.18.6.dist-info/RECORD,,