neelthee-mansion 3.20.5__py3-none-any.whl → 3.20.7__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.
@@ -287,11 +287,11 @@ def Use(*Args):
287
287
  Use_quill()
288
288
  elif Item == "grappling-hook":
289
289
  Use_grappling_hook()
290
+ else:
291
+ Item.use()
290
292
  elif len(Item) >= 2 and Item[0] == "note" and Item[1]:
291
293
  Use_note(Item[1])
292
- else:
293
- if isinstance(Item, item):
294
- Item.use()
294
+
295
295
 
296
296
 
297
297
  def PickKey(locked_obj):
@@ -514,9 +514,7 @@ def Examine(*Args):
514
514
  type_text(f"The exit {Name} has no lock.")
515
515
  else:
516
516
  type_text(f"There is nothing special about the exit {Name}.")
517
- elif (
518
- Name in ROOMS[player.CURRENTROOM]["containers"]
519
- ): # Check containers in the room
517
+ elif "containers" in ROOMS[player.CURRENTROOM] and Name in ROOMS[player.CURRENTROOM]["containers"]:
520
518
  containerins = ROOMS[player.CURRENTROOM]["containers"][Name]
521
519
  if isinstance(containerins, container):
522
520
  if isinstance(containerins.lock, Lock):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.20.5
3
+ Version: 3.20.7
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,5 +1,5 @@
1
1
  neelthee_mansion/Books.py,sha256=1U3HS-xjXewGO6u5V-Iq-sqqaY3xoR7zEHipLULMfwc,26168
2
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=ecer53NtJ6jRRmHC94lyEkzn5bVO2mJ5_aGuOiYg3KI,49845
2
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=xlf4cgpOautTZYsTb6MMra8MNYzKs742x6FCC0QvtiU,49831
3
3
  neelthee_mansion/Quests.py,sha256=pUlru2RugP57MACQORZaF_X9lsbefTdPYTSO474phgo,2791
4
4
  neelthee_mansion/Rooms.py,sha256=4fi5ZmTlVUAKw3zi-9xr5fI0HZUC15zhfQ4sv6xQrfQ,82432
5
5
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -8,9 +8,9 @@ neelthee_mansion/all_game_utils.py,sha256=AasunTkFmgAqt9ZIoYmymi4R7leBe4ubW-C1ts
8
8
  neelthee_mansion/creatures.py,sha256=HF0riTBMyT6Jo_18fNJKXSHA60GWXRDFSSNn9alWUkM,20910
9
9
  neelthee_mansion/items.py,sha256=--DtMCZrurDAe3S-gB5DXAul_kmG9BGB0QmBY2-Fphc,6383
10
10
  neelthee_mansion/utils.py,sha256=GaCkein6dppeufYfBMk59gHAE2b4p9TJW2MsRjyyFvQ,13702
11
- neelthee_mansion-3.20.5.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
- neelthee_mansion-3.20.5.dist-info/METADATA,sha256=LjXl7Kei3SdRbC1La4rCnz-f40zKesUcgFow69RaRdE,1756
13
- neelthee_mansion-3.20.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
- neelthee_mansion-3.20.5.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
- neelthee_mansion-3.20.5.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
- neelthee_mansion-3.20.5.dist-info/RECORD,,
11
+ neelthee_mansion-3.20.7.dist-info/LICENSE.md,sha256=CV8XGZaCyyAMdbkYFQUjb8AjBq9vkoyqdZCq1_hetms,1105
12
+ neelthee_mansion-3.20.7.dist-info/METADATA,sha256=_R-MnutDbCVr3E5m_7vU0UWYfX3dRkQrBVPvJpwDRAI,1756
13
+ neelthee_mansion-3.20.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
+ neelthee_mansion-3.20.7.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
15
+ neelthee_mansion-3.20.7.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
16
+ neelthee_mansion-3.20.7.dist-info/RECORD,,