neelthee-mansion 3.6.3__py3-none-any.whl → 3.6.4__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/creatures.py +2 -0
- {neelthee_mansion-3.6.3.dist-info → neelthee_mansion-3.6.4.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.6.3.dist-info → neelthee_mansion-3.6.4.dist-info}/RECORD +6 -6
- {neelthee_mansion-3.6.3.dist-info → neelthee_mansion-3.6.4.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.6.3.dist-info → neelthee_mansion-3.6.4.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.6.3.dist-info → neelthee_mansion-3.6.4.dist-info}/top_level.txt +0 -0
neelthee_mansion/creatures.py
CHANGED
@@ -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
|
@@ -4,11 +4,11 @@ neelthee_mansion/Rooms.py,sha256=-70z28OFcbBbO_lcmfjMePiqeNMITpWKDuA48LR-Tnk,878
|
|
4
4
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
|
6
6
|
neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUcaV9yEU,341
|
7
|
-
neelthee_mansion/creatures.py,sha256=
|
7
|
+
neelthee_mansion/creatures.py,sha256=DQKYl1G3N92ycjay3_kxTMcOkj1S-zXKqRGUbbFZNlU,15396
|
8
8
|
neelthee_mansion/items.py,sha256=78roH1JNOf9eB7PgXkJhs8K6eVsg1By05BRUn5hrP4M,5148
|
9
9
|
neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
|
10
|
-
neelthee_mansion-3.6.
|
11
|
-
neelthee_mansion-3.6.
|
12
|
-
neelthee_mansion-3.6.
|
13
|
-
neelthee_mansion-3.6.
|
14
|
-
neelthee_mansion-3.6.
|
10
|
+
neelthee_mansion-3.6.4.dist-info/METADATA,sha256=OFPfZU-RpB_fpE58PYYQNsRv__Bc29ZazOy1EZOUbaE,1991
|
11
|
+
neelthee_mansion-3.6.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
12
|
+
neelthee_mansion-3.6.4.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
13
|
+
neelthee_mansion-3.6.4.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
14
|
+
neelthee_mansion-3.6.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|