neelthee-mansion 2.0.2__tar.gz → 2.0.4__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-2.0.2 → neelthee_mansion-2.0.4}/PKG-INFO +1 -1
  2. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/Mansion_of_Amnesia.py +1 -6
  3. neelthee_mansion-2.0.4/neelthee_mansion/all_game_utils.py +13 -0
  4. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  5. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/SOURCES.txt +1 -0
  6. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/setup.py +1 -1
  7. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/README.md +0 -0
  8. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/Quests.py +0 -0
  9. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/Rooms.py +0 -0
  10. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/__init__.py +0 -0
  11. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/__main__.py +0 -0
  12. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/creatures.py +0 -0
  13. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/items.py +0 -0
  14. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion/utils.py +0 -0
  15. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  16. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  17. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/requires.txt +0 -0
  18. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/neelthee_mansion.egg-info/top_level.txt +0 -0
  19. {neelthee_mansion-2.0.2 → neelthee_mansion-2.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 2.0.2
3
+ Version: 2.0.4
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,12 +2,7 @@ from .Rooms import *
2
2
  from .creatures import *
3
3
  from .items import *
4
4
  from .Quests import *
5
- import sys
6
- import os
7
-
8
- # Add the path to Utils
9
- sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'all_game_utils.py')))
10
- from all_game_utils import *
5
+ from .all_game_utils import *
11
6
 
12
7
 
13
8
  GameState = {
@@ -0,0 +1,13 @@
1
+ from .utils import *
2
+ from re import *
3
+
4
+ def ask_for_consent(text: str) -> bool:
5
+ while True:
6
+ type_text(f"{text}? Y/N")
7
+ anser = str(input(">")).lower()
8
+ if anser == 'y':
9
+ return True
10
+ elif anser == 'n':
11
+ return False
12
+ else:
13
+ type_text("That wasn't Y or N")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 2.0.2
3
+ Version: 2.0.4
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
@@ -5,6 +5,7 @@ neelthee_mansion/Quests.py
5
5
  neelthee_mansion/Rooms.py
6
6
  neelthee_mansion/__init__.py
7
7
  neelthee_mansion/__main__.py
8
+ neelthee_mansion/all_game_utils.py
8
9
  neelthee_mansion/creatures.py
9
10
  neelthee_mansion/items.py
10
11
  neelthee_mansion/utils.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neelthee_mansion',
5
- version='2.0.2',
5
+ version='2.0.4',
6
6
  packages=find_packages(), # Automatically finds all packages and modules
7
7
  install_requires=[
8
8
  'psutil', 'playsound', 'requests', 'keyboard', 'pandas', 'validators', 'dicttoxml', 'pytz',