neelthee-mansion 3.20.8__py3-none-any.whl → 3.20.10__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 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
- "The Warning",
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
- # try:
753
- ShouldBreak = False
752
+ try:
753
+ ShouldBreak = False
754
754
 
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)
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](player)
770
- elif targets:
771
- commands[action](*targets)
773
+ commands[action]()
772
774
  else:
773
- commands[action]()
774
- else:
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
-
784
-
785
- # except KeyError as e:
786
- # type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
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
- "Founder’s Journal",
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.20.8
3
+ Version: 3.20.10
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
@@ -0,0 +1,16 @@
1
+ neelthee_mansion/Books.py,sha256=Zs6GOi12vrikne-E37LdrLNRb6CyUogOCDApDGFj6Ls,26168
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=hQl-0oO-8rsN4RLll5IgqGi4dONDOBTVexL3wCjl8hk,49949
3
+ neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
4
+ neelthee_mansion/Rooms.py,sha256=RO93vDdZupVcRkc0e910wb989Od1wWo-WJuzs8VLSaI,82430
5
+ neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
7
+ neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts0Qclo,351
8
+ neelthee_mansion/creatures.py,sha256=HF0riTBMyT6Jo_18fNJKXSHA60GWXRDFSSNn9alWUkM,20910
9
+ neelthee_mansion/items.py,sha256=--DtMCZrurDAe3S-gB5DXAul_kmG9BGB0QmBY2-Fphc,6383
10
+ neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
11
+ neelthee_mansion-3.20.10.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
+ neelthee_mansion-3.20.10.dist-info/METADATA,sha256=SWFlRSgvxhFLXHc5stjqL4KRezbZ7mOvND4i0hYLr3A,1757
13
+ neelthee_mansion-3.20.10.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
+ neelthee_mansion-3.20.10.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
+ neelthee_mansion-3.20.10.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
+ neelthee_mansion-3.20.10.dist-info/RECORD,,
@@ -1,16 +0,0 @@
1
- neelthee_mansion/Books.py,sha256=1U3HS-xjXewGO6u5V-Iq-sqqaY3xoR7zEHipLULMfwc,26168
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=AFR-m66ru8ZPOtbyuBuOuHY8t2EZwl6U7fg06QQ1MTc,49835
3
- neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
4
- neelthee_mansion/Rooms.py,sha256=4fi5ZmTlVUAKw3zi-9xr5fI0HZUC15zhfQ4sv6xQrfQ,82432
5
- neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
7
- neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts0Qclo,351
8
- neelthee_mansion/creatures.py,sha256=HF0riTBMyT6Jo_18fNJKXSHA60GWXRDFSSNn9alWUkM,20910
9
- neelthee_mansion/items.py,sha256=--DtMCZrurDAe3S-gB5DXAul_kmG9BGB0QmBY2-Fphc,6383
10
- neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
11
- neelthee_mansion-3.20.8.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
- neelthee_mansion-3.20.8.dist-info/METADATA,sha256=pcPApSvzypMFoNRie1buLIO0R7w1ezD5gz4x5BqNM5w,1756
13
- neelthee_mansion-3.20.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
- neelthee_mansion-3.20.8.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
- neelthee_mansion-3.20.8.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
- neelthee_mansion-3.20.8.dist-info/RECORD,,