neelthee-mansion 3.6.2__tar.gz → 3.6.4__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.2 → neelthee_mansion-3.6.4}/PKG-INFO +1 -1
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/creatures.py +3 -1
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/PKG-INFO +1 -1
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/setup.py +1 -1
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/README.md +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/Mansion_of_Amnesia.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion/utils.py +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/setup.cfg +0 -0
@@ -322,6 +322,8 @@ class PC(base_character):
|
|
322
322
|
|
323
323
|
def inventory_add(self, added: list[item]):
|
324
324
|
try:
|
325
|
+
if not isinstance(added, list):
|
326
|
+
added = [added]
|
325
327
|
for item_to_add in added:
|
326
328
|
if isinstance(item_to_add, item):
|
327
329
|
# Add the item to the player's inventory
|
@@ -335,7 +337,7 @@ class PC(base_character):
|
|
335
337
|
type_text(f"Error: {item_to_add} is not an instance of Item class")
|
336
338
|
except Exception as e:
|
337
339
|
# Print the full traceback if an exception occurs
|
338
|
-
type_text(
|
340
|
+
type_text(f"Error: {e}")
|
339
341
|
|
340
342
|
def heal(self, value):
|
341
343
|
self.hp = clamp(value, 0, self.maxhp)
|
@@ -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.4',
|
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
|
File without changes
|
{neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.6.2 → neelthee_mansion-3.6.4}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|