neelthee-mansion 3.16.8__py3-none-any.whl → 3.16.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.
@@ -678,8 +678,8 @@ def select_target(chooser, targets: list):
678
678
 
679
679
 
680
680
  def command():
681
- global player
682
- #try:
681
+ global player
682
+ try:
683
683
  ShouldBreak = False
684
684
 
685
685
  while True:
@@ -707,12 +707,12 @@ def command():
707
707
  ShouldBreak = True
708
708
  if ShouldBreak:
709
709
  return
710
- #except KeyError as e:
711
- # type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
712
- #except ValueError as e:
713
- # type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
714
- #except Exception as e:
715
- # type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
710
+ except KeyError as e:
711
+ type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
712
+ except ValueError as e:
713
+ type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
714
+ except Exception as e:
715
+ type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
716
716
 
717
717
  def handle_sleep_command(player: PC):
718
718
  type_text("You decide to rest for a while.", colorTrue=color_coding)
@@ -986,6 +986,9 @@ def initializer():
986
986
  color_coding = loop_til_valid_input("Do you want color coding (Y/N)?", "you didn't answer Y or N.", Y_N).value
987
987
 
988
988
 
989
+ background_name = []
990
+ background_skills = []
991
+
989
992
  while True:
990
993
  type_text("") # Prints an empty line
991
994
  type_text("0. Random")
@@ -1022,7 +1025,8 @@ def initializer():
1022
1025
  'Soldier',
1023
1026
  height,
1024
1027
  weight,
1025
- CURRENTROOM='Hall'
1028
+ CURRENTROOM='Hall',
1029
+ Skills=background_skills,
1026
1030
  )
1027
1031
 
1028
1032
  def main():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.16.8
3
+ Version: 3.16.9
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
@@ -1,5 +1,5 @@
1
1
  neelthee_mansion/Books.py,sha256=7jBS6lRqQ6DCTpbPN365lRoGnZdjU2b438gmcMkFnOc,25591
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=l3567bSDiwogm14FM8nhUteCIAm8BO8TDdAM3A8aQ-I,46365
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=LkL9X430cDa9JnLj0CTjMCoOAIfgYZqbm3EDTPqC-CQ,46446
3
3
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
4
4
  neelthee_mansion/Rooms.py,sha256=DuPkR0a0dC6jB3_Ebh1U88sJ9XND77xup1z6CulUxTc,90157
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=rfbyQ-2-MP-LCXKHRyimy-0fFFLmVYZWZcKyCCloF_M,5644
10
10
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
11
- neelthee_mansion-3.16.8.dist-info/METADATA,sha256=TQfa-ygHBNp45A3M0v2TYZ2R0Hyr6S-KKQN_FOtTSpo,1992
12
- neelthee_mansion-3.16.8.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
- neelthee_mansion-3.16.8.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
- neelthee_mansion-3.16.8.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
- neelthee_mansion-3.16.8.dist-info/RECORD,,
11
+ neelthee_mansion-3.16.9.dist-info/METADATA,sha256=h31D6Hn-uwMVmM0-o3Gp5RdZXdfIJRMGCUJlxxlCN44,1992
12
+ neelthee_mansion-3.16.9.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
+ neelthee_mansion-3.16.9.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
+ neelthee_mansion-3.16.9.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
+ neelthee_mansion-3.16.9.dist-info/RECORD,,