neelthee-mansion 3.6.0__tar.gz → 3.6.2__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.6.0 → neelthee_mansion-3.6.2}/PKG-INFO +1 -1
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/Mansion_of_Amnesia.py +8 -8
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/creatures.py +3 -3
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/PKG-INFO +1 -1
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/setup.py +1 -1
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/README.md +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion/utils.py +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/setup.cfg +0 -0
@@ -660,8 +660,8 @@ def select_target(chooser, targets: list):
|
|
660
660
|
|
661
661
|
|
662
662
|
def command():
|
663
|
-
|
664
|
-
try:
|
663
|
+
global player
|
664
|
+
#try:
|
665
665
|
ShouldBreak = False
|
666
666
|
|
667
667
|
while True:
|
@@ -689,12 +689,12 @@ def command():
|
|
689
689
|
ShouldBreak = True
|
690
690
|
if ShouldBreak:
|
691
691
|
return
|
692
|
-
except KeyError as e:
|
693
|
-
|
694
|
-
except ValueError as e:
|
695
|
-
|
696
|
-
except Exception as e:
|
697
|
-
|
692
|
+
#except KeyError as e:
|
693
|
+
# type_text(f"KeyError: {e} - This might be due to an undefined command or incorrect arguments.", colorTrue=color_coding)
|
694
|
+
#except ValueError as e:
|
695
|
+
# type_text(f"ValueError: {e} - This might be due to incorrect arguments provided.", colorTrue=color_coding)
|
696
|
+
#except Exception as e:
|
697
|
+
# type_text(f"Unexpected Error: {e}", colorTrue=color_coding)
|
698
698
|
|
699
699
|
def handle_sleep_command(player: PC):
|
700
700
|
type_text("You decide to rest for a while.", colorTrue=color_coding)
|
@@ -199,11 +199,11 @@ class Guard(creature):
|
|
199
199
|
rooms = []
|
200
200
|
for direction, room in ROOMS[self.current_room]['directions'].items():
|
201
201
|
rooms.append(room)
|
202
|
-
self.current_room = choice(rooms).GetRoom()
|
202
|
+
self.current_room = choice(rooms).GetRoom(self.current_room)
|
203
203
|
elif self.patrol_type == 'follow':
|
204
204
|
for direction, room in ROOMS[self.current_room]['directions'].items():
|
205
|
-
if room.GetRoom() == player.CURRENTROOM:
|
206
|
-
self.current_room = room.GetRoom()
|
205
|
+
if room.GetRoom(self.current_room) == player.CURRENTROOM:
|
206
|
+
self.current_room = room.GetRoom(self.current_room)
|
207
207
|
return
|
208
208
|
|
209
209
|
def check_detection(self, player_room):
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='neelthee_mansion',
|
5
|
-
version='3.6.
|
5
|
+
version='3.6.2',
|
6
6
|
packages=find_packages(), # Automatically finds all packages and modules
|
7
7
|
install_requires=[
|
8
8
|
'wheel', 'psutil', 'playsound', 'requests', 'keyboard', 'pandas', 'validators', 'dicttoxml', 'pytz',
|
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.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.6.0 → neelthee_mansion-3.6.2}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|