neelthee-mansion 3.16.11__py3-none-any.whl → 3.16.13__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.
@@ -794,7 +794,7 @@ def handle_put_command(player: PC, *Args):
794
794
  Arguments = arguments.split("in")
795
795
  for arg in Arguments:
796
796
  Arguments[Arguments.index(arg)] = arg.strip()
797
- PutItem = Arguments[0]
797
+ PutItem = player.inventory[player.inventory.index(Arguments[0])]
798
798
  Container = Arguments[1]
799
799
  if PutItem in player.inventory:
800
800
  if 'containers' in ROOMS[player.CURRENTROOM]:
neelthee_mansion/items.py CHANGED
@@ -117,6 +117,8 @@ class inv(list):
117
117
  for item_ in self:
118
118
  if item_.name == item_name:
119
119
  return True
120
+ elif item_ == item_name:
121
+ return True
120
122
  return False
121
123
 
122
124
  def index(self, value, start=0, end=None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.16.11
3
+ Version: 3.16.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
@@ -1,15 +1,15 @@
1
1
  neelthee_mansion/Books.py,sha256=7jBS6lRqQ6DCTpbPN365lRoGnZdjU2b438gmcMkFnOc,25591
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=UPfRXjszjHSyzUjSrP_CZfI_zJczbJEkHAb3xJFFX9g,46302
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=63DCwdYmpODuqAHQX4uWbdQQSaA1-yUPk3BZs4cTm-g,46344
3
3
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
4
4
  neelthee_mansion/Rooms.py,sha256=DuPkR0a0dC6jB3_Ebh1U88sJ9XND77xup1z6CulUxTc,90157
5
5
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
7
7
  neelthee_mansion/all_game_utils.py,sha256=mnxws_YEnsoftkkBMZv1k_zlnGKWGenUvsZnNKjuFJQ,349
8
8
  neelthee_mansion/creatures.py,sha256=nc-6YQ7S89teDiypJdHKLLuq-q3UpbQCVGfJ4hnCb7M,15600
9
- neelthee_mansion/items.py,sha256=rfbyQ-2-MP-LCXKHRyimy-0fFFLmVYZWZcKyCCloF_M,5644
9
+ neelthee_mansion/items.py,sha256=HTy9BhHWB0T_S53HFls0y6ER5jD7XAeI6PlY1ZnCZug,5711
10
10
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
11
- neelthee_mansion-3.16.11.dist-info/METADATA,sha256=TyDyEv_P0Zg79EwxMNHdN6wyc7EYZHalsdylu5gI7u8,1993
12
- neelthee_mansion-3.16.11.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
- neelthee_mansion-3.16.11.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
- neelthee_mansion-3.16.11.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
- neelthee_mansion-3.16.11.dist-info/RECORD,,
11
+ neelthee_mansion-3.16.13.dist-info/METADATA,sha256=W4Owp_m4BDPIi5DilQgmG0N51qPGunS9tQJkZdMlBtQ,1993
12
+ neelthee_mansion-3.16.13.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
13
+ neelthee_mansion-3.16.13.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
14
+ neelthee_mansion-3.16.13.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
15
+ neelthee_mansion-3.16.13.dist-info/RECORD,,