neelthee-mansion 2.0.2__py3-none-any.whl → 2.0.4__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.
@@ -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
@@ -1,13 +1,14 @@
1
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=N9gehHhhkSl5pB68jBZ3ICF5MzudDloLKTlpUcCOrMw,37082
1
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=_RSWeoW-2ArOBbcgcRfl4HoLQWzc_m2vCdTw-SI_76Q,36937
2
2
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
3
3
  neelthee_mansion/Rooms.py,sha256=DPGcAWro1utfHjsTiwLfkf6dnypKNG-T_fnYlJXNsyk,79262
4
4
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
6
+ neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUcaV9yEU,341
6
7
  neelthee_mansion/creatures.py,sha256=BMznNtk4dH5ns1YVtOKprVOIp0PjFf7pMHjAVpxvchg,13994
7
8
  neelthee_mansion/items.py,sha256=MrLIpY33I5jU926MCapHAb34KKyZAf9rHo1E2hIUHS4,1898
8
9
  neelthee_mansion/utils.py,sha256=IfaFlIDPGMxW5eBNDTuRi-wFpPwPKSThdjYGpOZphYs,11494
9
- neelthee_mansion-2.0.2.dist-info/METADATA,sha256=QoAwiq_GQOjO451rKzWpoL7MOlzJn75RkjcLZi3PGCs,1680
10
- neelthee_mansion-2.0.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
11
- neelthee_mansion-2.0.2.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
12
- neelthee_mansion-2.0.2.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
13
- neelthee_mansion-2.0.2.dist-info/RECORD,,
10
+ neelthee_mansion-2.0.4.dist-info/METADATA,sha256=1cEQwDkGq3ZiBIxUjMEAabSK1NEqmnab2rU_2V5dXWE,1680
11
+ neelthee_mansion-2.0.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
+ neelthee_mansion-2.0.4.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
+ neelthee_mansion-2.0.4.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
+ neelthee_mansion-2.0.4.dist-info/RECORD,,