neelthee-mansion 3.6.4__tar.gz → 3.6.6__tar.gz

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.
Files changed (19) hide show
  1. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/PKG-INFO +1 -1
  2. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/Mansion_of_Amnesia.py +9 -9
  3. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  4. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/setup.py +1 -1
  5. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/README.md +0 -0
  6. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/Quests.py +0 -0
  7. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/Rooms.py +0 -0
  8. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/__init__.py +0 -0
  9. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/__main__.py +0 -0
  10. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/all_game_utils.py +0 -0
  11. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/creatures.py +0 -0
  12. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/items.py +0 -0
  13. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion/utils.py +0 -0
  14. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
  15. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  16. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  17. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/requires.txt +0 -0
  18. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/neelthee_mansion.egg-info/top_level.txt +0 -0
  19. {neelthee_mansion-3.6.4 → neelthee_mansion-3.6.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.6.4
3
+ Version: 3.6.6
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
@@ -660,8 +660,8 @@ def select_target(chooser, targets: list):
660
660
 
661
661
 
662
662
  def command():
663
- global player
664
- #try:
663
+ global player
664
+ try:
665
665
  ShouldBreak = False
666
666
 
667
667
  while True:
@@ -689,12 +689,12 @@ def command():
689
689
  ShouldBreak = True
690
690
  if ShouldBreak:
691
691
  return
692
- #except KeyError as e:
693
- # type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
694
- #except ValueError as e:
695
- # type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
696
- #except Exception as e:
697
- # type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
692
+ except KeyError as e:
693
+ type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
694
+ except ValueError as e:
695
+ type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
696
+ except Exception as e:
697
+ type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
698
698
 
699
699
  def handle_sleep_command(player: PC):
700
700
  type_text("You decide to rest for a while.", colorTrue=color_coding)
@@ -759,13 +759,13 @@ def search_container(player: PC, Container):
759
759
  if isinstance(Container.lock, Lock):
760
760
  key = PickKey(Container.lock)
761
761
  Container.Unlock(key, player)
762
- Container.take_contents(player)
763
762
  type_text(f"You search the{' secret' if Container.secret else ''} %*RED*%{ContainerName}%*RESET*% and find a ", newline=False, colorTrue=color_coding)
764
763
  for searchitem in Container.contents:
765
764
  if searchitem:
766
765
  if isinstance(searchitem, item):
767
766
  end_str = ' and a ' if Container.contents.index(searchitem) < last_index(Container.contents) else '\n'
768
767
  type_text(f"%*BLUE*%{searchitem.name}%*RESET*%{end_str}", newline=False, colorTrue=color_coding)
768
+ Container.take_contents(player)
769
769
 
770
770
 
771
771
  def handle_put_command(player: PC, PutItem: item = None, container = None, sub_container = None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.6.4
3
+ Version: 3.6.6
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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neelthee_mansion',
5
- version='3.6.4',
5
+ version='3.6.6',
6
6
  packages=find_packages(), # Automatically finds all packages and modules
7
7
  install_requires=[
8
8
  'wheel', 'psutil', 'playsound', 'requests', 'keyboard', 'pandas', 'validators', 'dicttoxml', 'pytz',