neelthee-mansion 3.20.8__py3-none-any.whl → 3.20.9__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/Books.py +1 -1
- neelthee_mansion/Mansion_of_Amnesia.py +34 -36
- neelthee_mansion/Rooms.py +1 -1
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/RECORD +9 -9
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/LICENSE.md +0 -0
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.20.8.dist-info → neelthee_mansion-3.20.9.dist-info}/top_level.txt +0 -0
neelthee_mansion/Books.py
CHANGED
@@ -408,7 +408,7 @@ no limits, and that curiosity was their guiding star. The library’s mysteries
|
|
408
408
|
""",
|
409
409
|
),
|
410
410
|
Book(
|
411
|
-
"
|
411
|
+
"the warning",
|
412
412
|
"""
|
413
413
|
I’ve tried everything. The windows don’t open, the doors are all locked. If you’re reading this, you’ve made the same mistake I did. Don’t trust Neel-thee. Don’t listen to him. He
|
414
414
|
knows how to get inside your mind. He will not let you leave. The walls are his prison, and now they are yours too.
|
@@ -749,45 +749,43 @@ def select_target(chooser, targets: list):
|
|
749
749
|
|
750
750
|
def command():
|
751
751
|
global player
|
752
|
-
|
753
|
-
|
752
|
+
try:
|
753
|
+
ShouldBreak = False
|
754
754
|
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
755
|
+
while True:
|
756
|
+
showStatus()
|
757
|
+
user_input = get_player_input(False)
|
758
|
+
|
759
|
+
if user_input:
|
760
|
+
commands_list = user_input.split(",")
|
761
|
+
for command_str in commands_list:
|
762
|
+
action, targets = parse_command(command_str.strip(), commands)
|
763
|
+
|
764
|
+
if action in commands:
|
765
|
+
if has_named_arg(commands[action], "player"):
|
766
|
+
if targets:
|
767
|
+
commands[action](player, *targets)
|
768
|
+
else:
|
769
|
+
commands[action](player)
|
770
|
+
elif targets:
|
771
|
+
commands[action](*targets)
|
768
772
|
else:
|
769
|
-
commands[action](
|
770
|
-
elif targets:
|
771
|
-
commands[action](*targets)
|
773
|
+
commands[action]()
|
772
774
|
else:
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
# except ValueError as e:
|
788
|
-
# type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
789
|
-
# except Exception as e:
|
790
|
-
# type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
775
|
+
type_text(
|
776
|
+
f"Unknown command '{action}'. Type 'help' for a list of commands.",
|
777
|
+
colorTrue=color_coding,
|
778
|
+
)
|
779
|
+
if action in commands:
|
780
|
+
ShouldBreak = True
|
781
|
+
if ShouldBreak:
|
782
|
+
return
|
783
|
+
except KeyError as e:
|
784
|
+
type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
785
|
+
except ValueError as e:
|
786
|
+
type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
787
|
+
except Exception as e:
|
788
|
+
type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
791
789
|
|
792
790
|
|
793
791
|
def handle_sleep_command(player: PC):
|
neelthee_mansion/Rooms.py
CHANGED
@@ -178,7 +178,7 @@ ROOMS = {
|
|
178
178
|
"containers": {
|
179
179
|
"drawers": container([
|
180
180
|
Book(
|
181
|
-
"
|
181
|
+
"founder’s journal",
|
182
182
|
"""
|
183
183
|
Entry 1 - Beginnings of a Dream
|
184
184
|
“I have begun the construction of the mansion. The site was perfect: secluded, hidden in the shadow of the mountains, far from the prying eyes of the world. This will be my legacy—a
|
@@ -1,16 +1,16 @@
|
|
1
|
-
neelthee_mansion/Books.py,sha256=
|
2
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Books.py,sha256=Zs6GOi12vrikne-E37LdrLNRb6CyUogOCDApDGFj6Ls,26168
|
2
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=hQl-0oO-8rsN4RLll5IgqGi4dONDOBTVexL3wCjl8hk,49949
|
3
3
|
neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
|
4
|
-
neelthee_mansion/Rooms.py,sha256=
|
4
|
+
neelthee_mansion/Rooms.py,sha256=PRCiGyD1OYhPASrfGMVMU5LtOSeEbAMFs0bezuMVN6A,82432
|
5
5
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
|
7
7
|
neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts0Qclo,351
|
8
8
|
neelthee_mansion/creatures.py,sha256=HF0riTBMyT6Jo_18fNJKXSHA60GWXRDFSSNn9alWUkM,20910
|
9
9
|
neelthee_mansion/items.py,sha256=--DtMCZrurDAe3S-gB5DXAul_kmG9BGB0QmBY2-Fphc,6383
|
10
10
|
neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
|
11
|
-
neelthee_mansion-3.20.
|
12
|
-
neelthee_mansion-3.20.
|
13
|
-
neelthee_mansion-3.20.
|
14
|
-
neelthee_mansion-3.20.
|
15
|
-
neelthee_mansion-3.20.
|
16
|
-
neelthee_mansion-3.20.
|
11
|
+
neelthee_mansion-3.20.9.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
|
12
|
+
neelthee_mansion-3.20.9.dist-info/METADATA,sha256=hMBtc3P6vImCIZ6km5tZNc_szMMhTZr9oW4aR9cpjsk,1756
|
13
|
+
neelthee_mansion-3.20.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
14
|
+
neelthee_mansion-3.20.9.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
15
|
+
neelthee_mansion-3.20.9.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
16
|
+
neelthee_mansion-3.20.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|