neelthee-mansion 3.5.2__py3-none-any.whl → 3.6.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.
- neelthee_mansion/Mansion_of_Amnesia.py +9 -4
- neelthee_mansion/Rooms.py +1 -1
- {neelthee_mansion-3.5.2.dist-info → neelthee_mansion-3.6.0.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.5.2.dist-info → neelthee_mansion-3.6.0.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.5.2.dist-info → neelthee_mansion-3.6.0.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.5.2.dist-info → neelthee_mansion-3.6.0.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.5.2.dist-info → neelthee_mansion-3.6.0.dist-info}/top_level.txt +0 -0
@@ -966,13 +966,18 @@ def initializer():
|
|
966
966
|
|
967
967
|
|
968
968
|
while True:
|
969
|
+
type_text("")
|
970
|
+
type_text(f"0. Random")
|
969
971
|
for idx, background in enumerate(BACKGROUNDS):
|
970
|
-
type_text(f"{idx}. {background}")
|
972
|
+
type_text(f"{idx + 1}. {background}")
|
971
973
|
|
972
974
|
background = loop_til_valid_input("What background do you want? (please select the number to the left of them)", "You didn't pick one", int)
|
973
|
-
|
974
|
-
if background <=
|
975
|
-
background = BACKGROUNDS[background]
|
975
|
+
length = len(CHARACTERSLIST)
|
976
|
+
if 1 <= background <= length:
|
977
|
+
background = BACKGROUNDS[background-1]
|
978
|
+
break
|
979
|
+
elif background == 0:
|
980
|
+
background = choice(BACKGROUNDS)
|
976
981
|
break
|
977
982
|
else:
|
978
983
|
type_text("You didn't pick one")
|
neelthee_mansion/Rooms.py
CHANGED
@@ -63,7 +63,7 @@ class Door:
|
|
63
63
|
|
64
64
|
class SwitchDoor(Door):
|
65
65
|
def __init__(self, RoomOneName, RoomTwoName, KeyCode=None) -> None:
|
66
|
-
super().__init__(RoomOneName, KeyCode
|
66
|
+
super().__init__(RoomOneName, KeyCode)
|
67
67
|
self.switch_destination = RoomTwoName
|
68
68
|
|
69
69
|
def GetRoom(self, currentroom):
|
@@ -1,14 +1,14 @@
|
|
1
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=grW9Yn2oqm88hlWwEaM27gfl-F9QcoYnM5EyXUzS8lM,44182
|
2
2
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
3
|
-
neelthee_mansion/Rooms.py,sha256
|
3
|
+
neelthee_mansion/Rooms.py,sha256=-70z28OFcbBbO_lcmfjMePiqeNMITpWKDuA48LR-Tnk,87843
|
4
4
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
|
6
6
|
neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUcaV9yEU,341
|
7
7
|
neelthee_mansion/creatures.py,sha256=FsBVgO6drEKS97lVXUZhbzzqHdOogzNzI8qmBkzvSZ4,15267
|
8
8
|
neelthee_mansion/items.py,sha256=78roH1JNOf9eB7PgXkJhs8K6eVsg1By05BRUn5hrP4M,5148
|
9
9
|
neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
|
10
|
-
neelthee_mansion-3.
|
11
|
-
neelthee_mansion-3.
|
12
|
-
neelthee_mansion-3.
|
13
|
-
neelthee_mansion-3.
|
14
|
-
neelthee_mansion-3.
|
10
|
+
neelthee_mansion-3.6.0.dist-info/METADATA,sha256=OXggFiN5boZZpUdF00WT8XgGBN7YGX-_Fn3zHOP7bP4,1991
|
11
|
+
neelthee_mansion-3.6.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-3.6.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-3.6.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-3.6.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|