neelthee-mansion 3.7.5__py3-none-any.whl → 3.7.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 +8 -8
- neelthee_mansion/items.py +1 -1
- {neelthee_mansion-3.7.5.dist-info → neelthee_mansion-3.7.7.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.7.5.dist-info → neelthee_mansion-3.7.7.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.7.5.dist-info → neelthee_mansion-3.7.7.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.7.5.dist-info → neelthee_mansion-3.7.7.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.7.5.dist-info → neelthee_mansion-3.7.7.dist-info}/top_level.txt +0 -0
@@ -664,8 +664,8 @@ def select_target(chooser, targets: list):
|
|
664
664
|
|
665
665
|
|
666
666
|
def command():
|
667
|
-
|
668
|
-
try:
|
667
|
+
global player
|
668
|
+
#try:
|
669
669
|
ShouldBreak = False
|
670
670
|
|
671
671
|
while True:
|
@@ -693,12 +693,12 @@ def command():
|
|
693
693
|
ShouldBreak = True
|
694
694
|
if ShouldBreak:
|
695
695
|
return
|
696
|
-
except KeyError as e:
|
697
|
-
|
698
|
-
except ValueError as e:
|
699
|
-
|
700
|
-
except Exception as e:
|
701
|
-
|
696
|
+
#except KeyError as e:
|
697
|
+
# type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
698
|
+
#except ValueError as e:
|
699
|
+
# type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
700
|
+
#except Exception as e:
|
701
|
+
# type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
702
702
|
|
703
703
|
def handle_sleep_command(player: PC):
|
704
704
|
type_text("You decide to rest for a while.", colorTrue=color_coding)
|
neelthee_mansion/items.py
CHANGED
@@ -74,7 +74,7 @@ class KeyRevealer:
|
|
74
74
|
else:
|
75
75
|
key_code = obj.lock.key_code
|
76
76
|
one_third_length = len(key_code) // 3
|
77
|
-
selected_indices =
|
77
|
+
selected_indices = sample(range(len(key_code)), one_third_length)
|
78
78
|
|
79
79
|
result = [
|
80
80
|
key_code[i] if i in selected_indices else mask_char
|
@@ -1,14 +1,14 @@
|
|
1
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=bZVUuFjokTNlSEseRnxOhHMGhn2MOabiJiODogCm--k,44358
|
2
2
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
3
3
|
neelthee_mansion/Rooms.py,sha256=k658h0TUr0EuVnHgbi0xJ2qnmFq_9rpe0V6mZF9_mqA,87843
|
4
4
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
|
6
6
|
neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUcaV9yEU,341
|
7
7
|
neelthee_mansion/creatures.py,sha256=DQKYl1G3N92ycjay3_kxTMcOkj1S-zXKqRGUbbFZNlU,15396
|
8
|
-
neelthee_mansion/items.py,sha256=
|
8
|
+
neelthee_mansion/items.py,sha256=DznPE0mYAoPUmV71vzLHicN10Pc9CTrXNHefWCydz3g,5273
|
9
9
|
neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
|
10
|
-
neelthee_mansion-3.7.
|
11
|
-
neelthee_mansion-3.7.
|
12
|
-
neelthee_mansion-3.7.
|
13
|
-
neelthee_mansion-3.7.
|
14
|
-
neelthee_mansion-3.7.
|
10
|
+
neelthee_mansion-3.7.7.dist-info/METADATA,sha256=qRR7xR2_q8LE9y1vaRtk_UZRT4NGV8THnZ-SAwC_Kw4,1991
|
11
|
+
neelthee_mansion-3.7.7.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-3.7.7.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-3.7.7.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-3.7.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|