neelthee-mansion 3.6.14__tar.gz → 3.7.0__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.
Files changed (19) hide show
  1. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/PKG-INFO +1 -1
  2. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/Mansion_of_Amnesia.py +2 -2
  3. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/Rooms.py +1 -1
  4. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/items.py +3 -3
  5. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  6. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/setup.py +1 -1
  7. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/README.md +0 -0
  8. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/Quests.py +0 -0
  9. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/__init__.py +0 -0
  10. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/__main__.py +0 -0
  11. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/all_game_utils.py +0 -0
  12. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/creatures.py +0 -0
  13. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion/utils.py +0 -0
  14. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
  15. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  16. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  17. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/requires.txt +0 -0
  18. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/neelthee_mansion.egg-info/top_level.txt +0 -0
  19. {neelthee_mansion-3.6.14 → neelthee_mansion-3.7.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.6.14
3
+ Version: 3.7.0
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
@@ -273,7 +273,7 @@ def PickKey(locked_obj):
273
273
 
274
274
  # Enumerate keys and display them
275
275
  for idx, key in enumerate(keys, 1): # Starts numbering at 1
276
- type_text(f"{idx}. {key.CurentRevealStr}")
276
+ type_text(f"{idx}. {key.name} - {key.CurentRevealStr}")
277
277
 
278
278
  # Use loop_til_valid_input to get a valid integer within the correct range
279
279
  choice = loop_til_valid_input(
@@ -307,7 +307,7 @@ def Move(move):
307
307
  def attempt_move_to_garden():
308
308
  global player
309
309
  key = PickKey(Lock("629.IdnXwnt"))
310
- if key.KeyCode == "629.IdnXwnt":
310
+ if key.GetKeyCode() == "629.IdnXwnt":
311
311
  End('You unlock the gate to the garden with the key!')
312
312
  return newRoom
313
313
  type_text('The gate is locked.', colorTrue=color_coding)
@@ -46,7 +46,7 @@ class Door:
46
46
  self.destination = RoomName
47
47
  self.lock = Lock(KeyCode) if KeyCode else None
48
48
  self.reveal_count = 0
49
- self.CurentRevealStr = "-" * len(self.lock.key_code) if isinstance(self.lock, Lock) else ""
49
+ self.CurentRevealStr = "=" * len(self.lock.key_code) if isinstance(self.lock, Lock) else ""
50
50
 
51
51
  def Unlock(self, key: Key, player):
52
52
  return self.lock.unlock(key, player)
@@ -53,7 +53,7 @@ class Key(item):
53
53
  super().__init__(name, 'key', KeyCode if KeyCode else get_random_string(10))
54
54
  self.KeyDels = KeyDels
55
55
  self.RevealCount = 0
56
- self.CurentRevealStr = "-" * len(self.value)
56
+ self.CurentRevealStr = "=" * len(self.value)
57
57
 
58
58
  def GetKeyCode(self):
59
59
  return self.value
@@ -62,7 +62,7 @@ class KeyRevealer:
62
62
  def __init__(self, max_reveals=2):
63
63
  self.max_reveals = max_reveals
64
64
 
65
- def reveal_key_code(self, obj: Key, mask_char="-"):
65
+ def reveal_key_code(self, obj: Key, mask_char="="):
66
66
  if obj.reveal_count >= self.max_reveals:
67
67
  type_text(f"You can only reveal a Key Code twice.")
68
68
  type_text(f"Here is what you already know about this lock: {obj.CurentRevealStr}")
@@ -141,7 +141,7 @@ class container:
141
141
  self.secret = secret
142
142
  self.lock = Lock(KeyCode) if KeyCode else None
143
143
  self.RevealCount = 0
144
- self.CurentRevealStr = "-" * len(self.lock.key_code) if isinstance(self.lock, Lock) else ""
144
+ self.CurentRevealStr = "=" * len(self.lock.key_code) if isinstance(self.lock, Lock) else ""
145
145
 
146
146
  def take_contents(self, geter=None):
147
147
  if isinstance(self.lock, Lock) and self.lock.is_locked:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.6.14
3
+ Version: 3.7.0
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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neelthee_mansion',
5
- version='3.6.14',
5
+ version='3.7.0',
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',