neelthee-mansion 3.18.5__py3-none-any.whl → 3.18.7__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.
- neelthee_mansion/Mansion_of_Amnesia.py +10 -8
- {neelthee_mansion-3.18.5.dist-info → neelthee_mansion-3.18.7.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.18.5.dist-info → neelthee_mansion-3.18.7.dist-info}/RECORD +6 -6
- {neelthee_mansion-3.18.5.dist-info → neelthee_mansion-3.18.7.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.18.5.dist-info → neelthee_mansion-3.18.7.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.18.5.dist-info → neelthee_mansion-3.18.7.dist-info}/top_level.txt +0 -0
@@ -245,6 +245,8 @@ def Use_note(note_number):
|
|
245
245
|
|
246
246
|
def Use(*Args):
|
247
247
|
global player
|
248
|
+
if isinstance(Args[0], list) or isinstance(Args[0], tuple):
|
249
|
+
Args = Args[0]
|
248
250
|
Item = " ".join(Args)
|
249
251
|
"""Uses an item from the player's inventory."""
|
250
252
|
if Item in player.inventory:
|
@@ -679,8 +681,8 @@ def select_target(chooser, targets: list):
|
|
679
681
|
|
680
682
|
|
681
683
|
def command():
|
682
|
-
|
683
|
-
try:
|
684
|
+
global player
|
685
|
+
#try:
|
684
686
|
ShouldBreak = False
|
685
687
|
|
686
688
|
while True:
|
@@ -708,12 +710,12 @@ def command():
|
|
708
710
|
ShouldBreak = True
|
709
711
|
if ShouldBreak:
|
710
712
|
return
|
711
|
-
except KeyError as e:
|
712
|
-
|
713
|
-
except ValueError as e:
|
714
|
-
|
715
|
-
except Exception as e:
|
716
|
-
|
713
|
+
#except KeyError as e:
|
714
|
+
# type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
715
|
+
#except ValueError as e:
|
716
|
+
# type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
717
|
+
#except Exception as e:
|
718
|
+
# type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
717
719
|
|
718
720
|
def handle_sleep_command(player: PC):
|
719
721
|
type_text("You decide to rest for a while.", colorTrue=color_coding)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
neelthee_mansion/Books.py,sha256=P608nxbspB5wnGTKjK6ATrb4p-rCvfOxjwJ1O5tMhjY,25595
|
2
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
2
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=gih7G7ictcp9Ztb-5q1HEMya6kcEpjT2Wk0H49vJfoA,46714
|
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.
|
12
|
-
neelthee_mansion-3.18.
|
13
|
-
neelthee_mansion-3.18.
|
14
|
-
neelthee_mansion-3.18.
|
15
|
-
neelthee_mansion-3.18.
|
11
|
+
neelthee_mansion-3.18.7.dist-info/METADATA,sha256=2kg3nyR17RtuO-U0MFTYgmEon5Wx7Ij844VJoqJ4IYU,1992
|
12
|
+
neelthee_mansion-3.18.7.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
13
|
+
neelthee_mansion-3.18.7.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
14
|
+
neelthee_mansion-3.18.7.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
15
|
+
neelthee_mansion-3.18.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|