neelthee-mansion 3.1.1__py3-none-any.whl → 3.1.3__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 +6 -6
- {neelthee_mansion-3.1.1.dist-info → neelthee_mansion-3.1.3.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.1.1.dist-info → neelthee_mansion-3.1.3.dist-info}/RECORD +6 -6
- {neelthee_mansion-3.1.1.dist-info → neelthee_mansion-3.1.3.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.1.1.dist-info → neelthee_mansion-3.1.3.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.1.1.dist-info → neelthee_mansion-3.1.3.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ from .all_game_utils import *
|
|
6
6
|
|
7
7
|
|
8
8
|
GameState = {
|
9
|
-
'
|
9
|
+
'Enemies killed': 0,
|
10
10
|
'collected items': [],
|
11
11
|
}
|
12
12
|
|
@@ -851,12 +851,12 @@ def handle_guard_action(guard):
|
|
851
851
|
guard = function_to_call(player, guard)
|
852
852
|
return [True, guard] # Function was found and called
|
853
853
|
else:
|
854
|
-
return [False, guard] # Function was not found
|
854
|
+
return [False, [guard, True]] # Function was not found
|
855
855
|
|
856
856
|
def main():
|
857
857
|
global player, color_coding
|
858
858
|
global charactersList
|
859
|
-
|
859
|
+
|
860
860
|
|
861
861
|
df = pd.DataFrame(charactersList)
|
862
862
|
|
@@ -949,6 +949,9 @@ must navigate the mansion and uncover the truth behind your captivity, all while
|
|
949
949
|
if isinstance(guard, Guard):
|
950
950
|
guard.move(ROOMS, player)
|
951
951
|
|
952
|
+
good_guys = []
|
953
|
+
bad_guys = []
|
954
|
+
|
952
955
|
# Check for detection
|
953
956
|
for guard in guards:
|
954
957
|
if isinstance(guard, Guard):
|
@@ -977,9 +980,6 @@ must navigate the mansion and uncover the truth behind your captivity, all while
|
|
977
980
|
if not isinstance(enemies, list):
|
978
981
|
enemies = [enemies] # Ensure enemies is a list even if there's only one creature
|
979
982
|
|
980
|
-
good_guys = []
|
981
|
-
bad_guys = []
|
982
|
-
|
983
983
|
for enemy in enemies:
|
984
984
|
if isinstance(enemy, creature):
|
985
985
|
enemy.type_text_flavor_text()
|
@@ -1,4 +1,4 @@
|
|
1
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
1
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=HdX9n8nqK_aHKw8HKeOTKPXQpLSb5kKc3qlDyRsf7cQ,42661
|
2
2
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
3
3
|
neelthee_mansion/Rooms.py,sha256=G4UBk2QEpr17PoUBnMLTCffDgKPFE1S2GyKB5f11KNI,82780
|
4
4
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -7,8 +7,8 @@ neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUca
|
|
7
7
|
neelthee_mansion/creatures.py,sha256=kSfzQSE5UmFiDV0eDsTXCk-LQwZIyY5Rwsyh5Uhropw,14826
|
8
8
|
neelthee_mansion/items.py,sha256=uzZ9fq6_YK3oQ2lkAsyidWwM6trasVsjdQi2V0JTPfw,2097
|
9
9
|
neelthee_mansion/utils.py,sha256=PhFBDQXQoSNHpBUd0NKhP0KcclXK5Mho0qGnrpKAbe0,12187
|
10
|
-
neelthee_mansion-3.1.
|
11
|
-
neelthee_mansion-3.1.
|
12
|
-
neelthee_mansion-3.1.
|
13
|
-
neelthee_mansion-3.1.
|
14
|
-
neelthee_mansion-3.1.
|
10
|
+
neelthee_mansion-3.1.3.dist-info/METADATA,sha256=O7xmoSa72uiv7IeLFHBeJ0B4KLd1ikV3d0iIiUr3QqI,1991
|
11
|
+
neelthee_mansion-3.1.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-3.1.3.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-3.1.3.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-3.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|