neelthee-mansion 3.8.0__py3-none-any.whl → 3.9.0__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.
@@ -125,6 +125,7 @@ get [%*BLUE*%item%*RESET*%] - Pick up an item from your current location
125
125
  search [the/] [%*RED*%container%*RESET*%] - Search a container in your current location
126
126
  use [%*BLUE*%item%*RESET*%] - Use an item from your inventory
127
127
  put [%*BLUE*%item%*RESET*%] [the/] [%*RED*%container%*RESET*%] - Put an item from your inventory into a container in your current location
128
+ examin [%*GREEN*%direction%*RESET*%/%*RED*%container%*RESET*%/%*BLUE*%item%*RESET*%] - Find out some info about the object
128
129
  sleep - Rest for a bit and regain some health
129
130
  look - Look around your current location
130
131
  quit - Quit the game
@@ -664,8 +665,8 @@ def select_target(chooser, targets: list):
664
665
 
665
666
 
666
667
  def command():
667
- global player
668
- #try:
668
+ global player
669
+ try:
669
670
  ShouldBreak = False
670
671
 
671
672
  while True:
@@ -693,12 +694,12 @@ def command():
693
694
  ShouldBreak = True
694
695
  if ShouldBreak:
695
696
  return
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)
697
+ except KeyError as e:
698
+ type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
699
+ except ValueError as e:
700
+ type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
701
+ except Exception as e:
702
+ type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
702
703
 
703
704
  def handle_sleep_command(player: PC):
704
705
  type_text("You decide to rest for a while.", colorTrue=color_coding)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.8.0
3
+ Version: 3.9.0
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,4 +1,4 @@
1
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=bZVUuFjokTNlSEseRnxOhHMGhn2MOabiJiODogCm--k,44358
1
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=1nc3uERCpPLS2HwGeOfkBHsNlmL572JpMq4VAFfj3C8,44471
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
@@ -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=DznPE0mYAoPUmV71vzLHicN10Pc9CTrXNHefWCydz3g,5273
9
9
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
10
- neelthee_mansion-3.8.0.dist-info/METADATA,sha256=KQVwy2YGQqU7vuLDxL7SDZbUPJts_xalZ1POFCoqOBM,1991
11
- neelthee_mansion-3.8.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
- neelthee_mansion-3.8.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
- neelthee_mansion-3.8.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
- neelthee_mansion-3.8.0.dist-info/RECORD,,
10
+ neelthee_mansion-3.9.0.dist-info/METADATA,sha256=yCWHWa3tfS9IupSFrHSw-Xtlgt4TeJ4jM1nvy_D0Pt4,1991
11
+ neelthee_mansion-3.9.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
+ neelthee_mansion-3.9.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
+ neelthee_mansion-3.9.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
+ neelthee_mansion-3.9.0.dist-info/RECORD,,