neelthee-mansion 3.7.0__py3-none-any.whl → 3.7.1__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.
@@ -434,13 +434,13 @@ def display_directions(text):
434
434
  def Examin(*Args):
435
435
  Name = ' '.join(Args)
436
436
  if player.inventory.index(Name):
437
- _ = player.inventory[player.inventory.index(Name)]
438
- if isinstance(_, Key):
437
+ Item = player.inventory[player.inventory.index(Name)]
438
+ if Item in player.inventory.keys():
439
439
  type_text("You look at your key and you figure out this about it:")
440
- revealer.reveal_key_code(_)
441
- elif isinstance(_, item):
442
- if _.type == 'weapon':
443
- type_text(f"This item is a weapon that adds {_.value} damage.")
440
+ revealer.reveal_key_code(Item)
441
+ elif isinstance(Item, item):
442
+ if Item.type == 'weapon':
443
+ type_text(f"This item is a weapon that adds {Item.value} damage.")
444
444
  elif Name in ROOMS[player.CURRENTROOM]['directions']:
445
445
  door = ROOMS[player.CURRENTROOM]['directions'][Name]
446
446
  if isinstance(door, Door):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.7.0
3
+ Version: 3.7.1
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,4 +1,4 @@
1
- neelthee_mansion/Mansion_of_Amnesia.py,sha256=qjNXfq17EcNFyP0-TfZPvGTqotCfiRZl9MG8pNTt2WU,44180
1
+ neelthee_mansion/Mansion_of_Amnesia.py,sha256=p6OG3OtJ7DBRxO7lQf01i3N2LFfSY9ax69VSUirqKp0,44208
2
2
  neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
3
3
  neelthee_mansion/Rooms.py,sha256=k658h0TUr0EuVnHgbi0xJ2qnmFq_9rpe0V6mZF9_mqA,87843
4
4
  neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -7,8 +7,8 @@ neelthee_mansion/all_game_utils.py,sha256=Xfty9uXiYAfmA6iVzJurq852ZBPn7a4gQUcUca
7
7
  neelthee_mansion/creatures.py,sha256=DQKYl1G3N92ycjay3_kxTMcOkj1S-zXKqRGUbbFZNlU,15396
8
8
  neelthee_mansion/items.py,sha256=eYgsLK6JNcetkADA7ndekNkaL_QktaAQTgUyJRnXwts,5156
9
9
  neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
10
- neelthee_mansion-3.7.0.dist-info/METADATA,sha256=Dp2HazbfYZxnbB_AnisVAhIlyitXGMdS1Tek_1zJGMI,1991
11
- neelthee_mansion-3.7.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
- neelthee_mansion-3.7.0.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
- neelthee_mansion-3.7.0.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
- neelthee_mansion-3.7.0.dist-info/RECORD,,
10
+ neelthee_mansion-3.7.1.dist-info/METADATA,sha256=oYJH3PWhMteu_7X9l9AKIYD-NCqMWzQnmUDn6wkrtwA,1991
11
+ neelthee_mansion-3.7.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
12
+ neelthee_mansion-3.7.1.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
13
+ neelthee_mansion-3.7.1.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
14
+ neelthee_mansion-3.7.1.dist-info/RECORD,,