neelthee-mansion 3.19.18__py3-none-any.whl → 3.19.19__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 +28 -25
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/LICENSE.md +0 -0
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.19.18.dist-info → neelthee_mansion-3.19.19.dist-info}/top_level.txt +0 -0
@@ -1283,34 +1283,37 @@ def main():
|
|
1283
1283
|
|
1284
1284
|
for enemy in enemies:
|
1285
1285
|
if isinstance(enemy, creature):
|
1286
|
-
if enemy
|
1287
|
-
enemy.
|
1288
|
-
|
1289
|
-
enemy.
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1286
|
+
if not isinstance(enemy, NPC):
|
1287
|
+
if enemy.hp > 0:
|
1288
|
+
enemy.type_text_flavor_text()
|
1289
|
+
if ask_for_consent(f"Do you want to examine the {enemy.name}"):
|
1290
|
+
enemy.type_text_description()
|
1291
|
+
|
1292
|
+
is_reacting = False
|
1293
|
+
|
1294
|
+
# Handle specific creatures
|
1295
|
+
if enemy.name == "hungry bear":
|
1296
|
+
enemy_REF = handle_hungry_bear(player, enemy)
|
1297
|
+
elif enemy.name == "grumpy pig":
|
1298
|
+
enemy_REF = handle_grumpy_pig(player, enemy)
|
1299
|
+
elif enemy.name == "greedy goblin":
|
1300
|
+
enemy_REF = handle_greedy_goblin(player, enemy)
|
1301
|
+
else:
|
1302
|
+
enemy_REF = enemy
|
1300
1303
|
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1304
|
+
if isinstance(enemy_REF, list):
|
1305
|
+
is_reacting = enemy_REF[1]
|
1306
|
+
enemy_REF = enemy_REF[0]
|
1307
|
+
is_reactings.append(is_reacting)
|
1305
1308
|
|
1306
|
-
|
1309
|
+
enemies[enemies.index(enemy)] = enemy_REF
|
1307
1310
|
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1311
|
+
# Add to good or bad lists if reacting
|
1312
|
+
if is_reacting:
|
1313
|
+
if enemy_REF.frendly:
|
1314
|
+
good_guys.append(enemy_REF)
|
1315
|
+
else:
|
1316
|
+
bad_guys.append(enemy_REF)
|
1314
1317
|
|
1315
1318
|
if all_same_value(enemies, False):
|
1316
1319
|
del ROOMS[player.CURRENTROOM]["creatures stats"]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
neelthee_mansion/Books.py,sha256=ABAdO2LQJ0PwPlHXpvdANoyz6uNbMTkI8-_RDpq6Qcc,25627
|
2
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
2
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=8lRuSqEXjsWpEQq58zu6tUSmcG8glfPHsCuPsJe-7CA,49703
|
3
3
|
neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
|
4
4
|
neelthee_mansion/Rooms.py,sha256=OU2A0XhR6xQuGUWE_65JFSOXn6Unxpmow12ucPgWNW4,78352
|
5
5
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -8,9 +8,9 @@ neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts
|
|
8
8
|
neelthee_mansion/creatures.py,sha256=p_jckHtzafeOsd5o7E_BXGQKWgmcOCvJjGho2Bk9zHg,20156
|
9
9
|
neelthee_mansion/items.py,sha256=mV4K3Ep522LypL74NOT112bpP6ywQ1DR0A38KiHJFa8,5816
|
10
10
|
neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
|
11
|
-
neelthee_mansion-3.19.
|
12
|
-
neelthee_mansion-3.19.
|
13
|
-
neelthee_mansion-3.19.
|
14
|
-
neelthee_mansion-3.19.
|
15
|
-
neelthee_mansion-3.19.
|
16
|
-
neelthee_mansion-3.19.
|
11
|
+
neelthee_mansion-3.19.19.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
|
12
|
+
neelthee_mansion-3.19.19.dist-info/METADATA,sha256=AkblaBrTukhZ_fU1fWuEAN97DOaWedQiVcJhdJ8x0bs,1757
|
13
|
+
neelthee_mansion-3.19.19.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
14
|
+
neelthee_mansion-3.19.19.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
15
|
+
neelthee_mansion-3.19.19.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
16
|
+
neelthee_mansion-3.19.19.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|