neelthee-mansion 3.11.0__py3-none-any.whl → 3.13.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.
@@ -478,7 +478,7 @@ def battle(player: PC, good_guys: list, bad_guys: list, last_room):
478
478
  Returns:
479
479
  None if all bad guys are defeated, else the remaining bad guys.
480
480
  """
481
- while player.hp > 0 and any(monster.hp > 0 for monster in bad_guys):
481
+ while player.hp > 0:
482
482
  if ask_for_consent("Do you want to run away"):
483
483
  Move(last_room)
484
484
  return good_guys, bad_guys
@@ -1057,6 +1057,9 @@ def main():
1057
1057
 
1058
1058
  for enemy in enemies:
1059
1059
  if isinstance(enemy, creature):
1060
+ enemy.type_text_flavor_text()
1061
+ if ask_for_consent(f"Do you want to examine the {enemy.name}"):
1062
+ enemy.type_text_description()
1060
1063
 
1061
1064
  # Handle specific creatures
1062
1065
  if enemy.name == 'hungry bear':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.11.0
3
+ Version: 3.13.0
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,4 +1,4 @@
1
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=ss3iWSSuY0aCR1HISA5nB8u7tvcDctp4fYJEx4n33Lw,44544
1
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=4pTi8QyWpMOU15CbjHJ9RhDVGl7DsUZ8u_6jWp8q7fc,44687
2
2
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
3
3
  neelthee_mansion/Rooms.py,sha256=k658h0TUr0EuVnHgbi0xJ2qnmFq_9rpe0V6mZF9_mqA,87843
4
4
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -7,8 +7,8 @@ neelthee_mansion/all_game_utils.py,sha256=mnxws_YEnsoftkkBMZv1k_zlnGKWGenUvsZnNK
7
7
  neelthee_mansion/creatures.py,sha256=DQKYl1G3N92ycjay3_kxTMcOkj1S-zXKqRGUbbFZNlU,15396
8
8
  neelthee_mansion/items.py,sha256=_6-kBLmlUcB9c0_YpOjAr43Mwvy0kdoTkGU4tDvA2hk,5538
9
9
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
10
- neelthee_mansion-3.11.0.dist-info/METADATA,sha256=swfPYghwEZ8OdpPiDjIiLpqkLvWkN27fAr4o9sZdChw,1992
11
- neelthee_mansion-3.11.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
- neelthee_mansion-3.11.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
- neelthee_mansion-3.11.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
- neelthee_mansion-3.11.0.dist-info/RECORD,,
10
+ neelthee_mansion-3.13.0.dist-info/METADATA,sha256=KvnM1Hc8BLDJBjcBSKQtgzoTDYobOhcTgdxBsueFpgM,1992
11
+ neelthee_mansion-3.13.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
+ neelthee_mansion-3.13.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
+ neelthee_mansion-3.13.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
+ neelthee_mansion-3.13.0.dist-info/RECORD,,