neelthee-mansion 3.6.4__py3-none-any.whl → 3.6.5__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 +9 -9
- {neelthee_mansion-3.6.4.dist-info → neelthee_mansion-3.6.5.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.6.4.dist-info → neelthee_mansion-3.6.5.dist-info}/RECORD +6 -6
- {neelthee_mansion-3.6.4.dist-info → neelthee_mansion-3.6.5.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.6.4.dist-info → neelthee_mansion-3.6.5.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.6.4.dist-info → neelthee_mansion-3.6.5.dist-info}/top_level.txt +0 -0
@@ -660,8 +660,8 @@ def select_target(chooser, targets: list):
|
|
660
660
|
|
661
661
|
|
662
662
|
def command():
|
663
|
-
|
664
|
-
|
663
|
+
global player
|
664
|
+
try:
|
665
665
|
ShouldBreak = False
|
666
666
|
|
667
667
|
while True:
|
@@ -689,12 +689,12 @@ def command():
|
|
689
689
|
ShouldBreak = True
|
690
690
|
if ShouldBreak:
|
691
691
|
return
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
692
|
+
except KeyError as e:
|
693
|
+
type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
694
|
+
except ValueError as e:
|
695
|
+
type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
696
|
+
except Exception as e:
|
697
|
+
type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
698
698
|
|
699
699
|
def handle_sleep_command(player: PC):
|
700
700
|
type_text("You decide to rest for a while.", colorTrue=color_coding)
|
@@ -759,8 +759,8 @@ def search_container(player: PC, Container):
|
|
759
759
|
if isinstance(Container.lock, Lock):
|
760
760
|
key = PickKey(Container.lock)
|
761
761
|
Container.Unlock(key, player)
|
762
|
-
Container.take_contents(player)
|
763
762
|
type_text(f"You search the{' secret' if Container.secret else ''} %*RED*%{ContainerName}%*RESET*% and find a ", newline=False, colorTrue=color_coding)
|
763
|
+
Container.take_contents(player)
|
764
764
|
for searchitem in Container.contents:
|
765
765
|
if searchitem:
|
766
766
|
if isinstance(searchitem, item):
|
@@ -1,4 +1,4 @@
|
|
1
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=kt50-tGcL2-rsSx8gS1rU0q8YBtkT1v1txlt21zfNoY,44182
|
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.
|
11
|
-
neelthee_mansion-3.6.
|
12
|
-
neelthee_mansion-3.6.
|
13
|
-
neelthee_mansion-3.6.
|
14
|
-
neelthee_mansion-3.6.
|
10
|
+
neelthee_mansion-3.6.5.dist-info/METADATA,sha256=FH6wFzKfD0rfO5jZqAGpTP_DJ3NL7Uo7l2tBaccAABg,1991
|
11
|
+
neelthee_mansion-3.6.5.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-3.6.5.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-3.6.5.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-3.6.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|