neelthee-mansion 3.24.11__tar.gz → 3.24.13__tar.gz
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-3.24.11 → neelthee_mansion-3.24.13}/PKG-INFO +21 -2
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/Mansion_of_Amnesia.py +5 -8
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/PKG-INFO +22 -3
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/setup.py +1 -1
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/LICENSE.md +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/README.md +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/Books.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/creatures.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/utils.py +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: neelthee_mansion
|
3
|
-
Version: 3.24.
|
3
|
+
Version: 3.24.13
|
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
|
@@ -18,6 +18,25 @@ Classifier: Operating System :: OS Independent
|
|
18
18
|
Requires-Python: >=3.6
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
License-File: LICENSE.md
|
21
|
+
Requires-Dist: wheel
|
22
|
+
Requires-Dist: psutil
|
23
|
+
Requires-Dist: playsound
|
24
|
+
Requires-Dist: requests
|
25
|
+
Requires-Dist: keyboard
|
26
|
+
Requires-Dist: pandas
|
27
|
+
Requires-Dist: validators
|
28
|
+
Requires-Dist: dicttoxml
|
29
|
+
Requires-Dist: pytz
|
30
|
+
Dynamic: author
|
31
|
+
Dynamic: author-email
|
32
|
+
Dynamic: classifier
|
33
|
+
Dynamic: description
|
34
|
+
Dynamic: description-content-type
|
35
|
+
Dynamic: home-page
|
36
|
+
Dynamic: license
|
37
|
+
Dynamic: requires-dist
|
38
|
+
Dynamic: requires-python
|
39
|
+
Dynamic: summary
|
21
40
|
|
22
41
|
# Neel-thee's Mansion of Amnesia
|
23
42
|
|
{neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion/Mansion_of_Amnesia.py
RENAMED
@@ -614,10 +614,6 @@ def battle(player: PC, good_guys: list, bad_guys: list, last_room):
|
|
614
614
|
handle_victory(player, bad_guys)
|
615
615
|
return good_guys, None
|
616
616
|
|
617
|
-
if ask_for_consent("Do you want to run away", info_text_area):
|
618
|
-
Move(last_room)
|
619
|
-
return good_guys, bad_guys
|
620
|
-
|
621
617
|
# Player and good guys' turn
|
622
618
|
for ally in [player] + good_guys:
|
623
619
|
if all(monster.hp <= 0 for monster in bad_guys):
|
@@ -649,7 +645,7 @@ def player_turn(player: PC, monster: creature):
|
|
649
645
|
monster (creature): The monster being fought.
|
650
646
|
"""
|
651
647
|
player_action = loop_til_valid_input(
|
652
|
-
"Choose your action: (attack/defend
|
648
|
+
"Choose your action: (attack/defend): ", # /special
|
653
649
|
"Invalid action. Please enter a valid action.",
|
654
650
|
PC_action,
|
655
651
|
).value.lower()
|
@@ -659,8 +655,8 @@ def player_turn(player: PC, monster: creature):
|
|
659
655
|
elif player_action == "defend":
|
660
656
|
player.defending = True
|
661
657
|
add_text_to_textbox(info_text_area, "You brace yourself for the next attack.")
|
662
|
-
elif player_action == "special":
|
663
|
-
|
658
|
+
#elif player_action == "special":
|
659
|
+
# use_special_ability(player, monster)
|
664
660
|
|
665
661
|
|
666
662
|
def monster_turn(player: PC, monster: creature):
|
@@ -755,7 +751,8 @@ def use_special_ability(player: PC, monster: creature):
|
|
755
751
|
"""
|
756
752
|
if player.special_ability.ready:
|
757
753
|
damage_min, damage_max = calculate_damage_range(player.atpw)
|
758
|
-
|
754
|
+
damage = randint(damage_min, damage_max)
|
755
|
+
player.special_ability.activate(monster, damage, info_text_area)
|
759
756
|
add_text_to_textbox(info_text_area,
|
760
757
|
f"You use your special ability: {player.special_ability.name}."
|
761
758
|
)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name:
|
3
|
-
Version: 3.24.
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: neelthee_mansion
|
3
|
+
Version: 3.24.13
|
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
|
@@ -18,6 +18,25 @@ Classifier: Operating System :: OS Independent
|
|
18
18
|
Requires-Python: >=3.6
|
19
19
|
Description-Content-Type: text/markdown
|
20
20
|
License-File: LICENSE.md
|
21
|
+
Requires-Dist: wheel
|
22
|
+
Requires-Dist: psutil
|
23
|
+
Requires-Dist: playsound
|
24
|
+
Requires-Dist: requests
|
25
|
+
Requires-Dist: keyboard
|
26
|
+
Requires-Dist: pandas
|
27
|
+
Requires-Dist: validators
|
28
|
+
Requires-Dist: dicttoxml
|
29
|
+
Requires-Dist: pytz
|
30
|
+
Dynamic: author
|
31
|
+
Dynamic: author-email
|
32
|
+
Dynamic: classifier
|
33
|
+
Dynamic: description
|
34
|
+
Dynamic: description-content-type
|
35
|
+
Dynamic: home-page
|
36
|
+
Dynamic: license
|
37
|
+
Dynamic: requires-dist
|
38
|
+
Dynamic: requires-python
|
39
|
+
Dynamic: summary
|
21
40
|
|
22
41
|
# Neel-thee's Mansion of Amnesia
|
23
42
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="neelthee_mansion",
|
5
|
-
version="3.24.
|
5
|
+
version="3.24.13", # Update version number for each release
|
6
6
|
packages=find_packages(), # Automatically finds all packages and modules
|
7
7
|
install_requires=[
|
8
8
|
"wheel",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
{neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/requires.txt
RENAMED
File without changes
|
{neelthee_mansion-3.24.11 → neelthee_mansion-3.24.13}/neelthee_mansion.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|