neelthee-mansion 2.2.4__py3-none-any.whl → 2.2.5__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 +0 -9
- neelthee_mansion/Rooms.py +0 -7
- neelthee_mansion/utils.py +1 -1
- {neelthee_mansion-2.2.4.dist-info → neelthee_mansion-2.2.5.dist-info}/METADATA +1 -1
- {neelthee_mansion-2.2.4.dist-info → neelthee_mansion-2.2.5.dist-info}/RECORD +8 -8
- {neelthee_mansion-2.2.4.dist-info → neelthee_mansion-2.2.5.dist-info}/WHEEL +0 -0
- {neelthee_mansion-2.2.4.dist-info → neelthee_mansion-2.2.5.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-2.2.4.dist-info → neelthee_mansion-2.2.5.dist-info}/top_level.txt +0 -0
@@ -750,14 +750,6 @@ commands = {
|
|
750
750
|
def quit():
|
751
751
|
exit()
|
752
752
|
|
753
|
-
def do_random_event():
|
754
|
-
if 'Random events' in ROOMS[CURRENTROOM] and 'Event chance' in ROOMS[CURRENTROOM]:
|
755
|
-
if random() <= ROOMS[CURRENTROOM]['Event chance']:
|
756
|
-
if is_executable(Event['Event code']):
|
757
|
-
Event = choice(ROOMS[CURRENTROOM]['Random events'])
|
758
|
-
type_text(Event['Output text'])
|
759
|
-
exec(Event['Event code'])
|
760
|
-
|
761
753
|
guards = [
|
762
754
|
Guard(
|
763
755
|
name="Guard",
|
@@ -911,7 +903,6 @@ def main():
|
|
911
903
|
for ___ in GameState['collected items']:
|
912
904
|
if isinstance(___, item):
|
913
905
|
quest_manager.update_objective(f"Colect {___.name}")
|
914
|
-
do_random_event()
|
915
906
|
|
916
907
|
|
917
908
|
|
neelthee_mansion/Rooms.py
CHANGED
@@ -176,13 +176,6 @@ ROOMS = {
|
|
176
176
|
'I wonder if there is anything salvageable in the %*RED*%cupboards%*RESET*%',
|
177
177
|
'I should probably look around',
|
178
178
|
],
|
179
|
-
'Event chance': 0.1,
|
180
|
-
'Random events': [
|
181
|
-
{
|
182
|
-
'Output text': "You hear a bang and the cupboard door swings open slowly and the cord is gone",
|
183
|
-
'Event code': "ROOMS['Kitchen']['containers']['cupboards'].take_contents()"
|
184
|
-
},
|
185
|
-
],
|
186
179
|
},
|
187
180
|
|
188
181
|
'Dining Room': {
|
neelthee_mansion/utils.py
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=0I6i8DXW5QW9xz2pT4eUtdNGYqmpv909tmgnQzNEOmk,37479
|
2
2
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
3
|
-
neelthee_mansion/Rooms.py,sha256=
|
3
|
+
neelthee_mansion/Rooms.py,sha256=QOSgS1pGP91KsqGOppnIRNZGAZ-MhfngmHPNeEm6vCo,81148
|
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=AwK38v_aLxV26mZtAZeSSeAQpZd66bL8zW7Hd7U4qR8,14058
|
8
8
|
neelthee_mansion/items.py,sha256=uzZ9fq6_YK3oQ2lkAsyidWwM6trasVsjdQi2V0JTPfw,2097
|
9
|
-
neelthee_mansion/utils.py,sha256=
|
10
|
-
neelthee_mansion-2.2.
|
11
|
-
neelthee_mansion-2.2.
|
12
|
-
neelthee_mansion-2.2.
|
13
|
-
neelthee_mansion-2.2.
|
14
|
-
neelthee_mansion-2.2.
|
9
|
+
neelthee_mansion/utils.py,sha256=7JkgDw4Tq3EG11DqX05tjisoGxE0L_Sd7VkqkU8x-jQ,11486
|
10
|
+
neelthee_mansion-2.2.5.dist-info/METADATA,sha256=ZsibLOPp0CiqNvQ2TaWngIK1MmZ4uDFXUmpoIgaeNiA,1680
|
11
|
+
neelthee_mansion-2.2.5.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-2.2.5.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-2.2.5.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-2.2.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|