neelthee-mansion 3.18.3__tar.gz → 3.18.5__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.
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/PKG-INFO +1 -1
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/Mansion_of_Amnesia.py +12 -11
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/PKG-INFO +1 -1
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/setup.py +1 -1
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/README.md +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/Books.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/Quests.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/Rooms.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/__init__.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/__main__.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/all_game_utils.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/creatures.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/items.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion/utils.py +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/entry_points.txt +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/requires.txt +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/top_level.txt +0 -0
- {neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/setup.cfg +0 -0
@@ -243,22 +243,23 @@ def Use_note(note_number):
|
|
243
243
|
type_text('You do not have that note', colorTrue=color_coding)
|
244
244
|
|
245
245
|
|
246
|
-
def Use(
|
246
|
+
def Use(*Args):
|
247
247
|
global player
|
248
|
+
Item = " ".join(Args)
|
248
249
|
"""Uses an item from the player's inventory."""
|
249
|
-
if
|
250
|
-
item_obj = player.inventory[player.inventory.index(
|
250
|
+
if Item in player.inventory:
|
251
|
+
item_obj = player.inventory[player.inventory.index(Item)]
|
251
252
|
if isinstance(item_obj, item):
|
252
253
|
if item_obj.sell(player):
|
253
|
-
type_text(f"You sell the %*BLUE*%{
|
254
|
+
type_text(f"You sell the %*BLUE*%{Item}%*RESET*%", colorTrue=color_coding)
|
254
255
|
player.inventory.remove(item_obj.name)
|
255
|
-
elif
|
256
|
+
elif Item == 'quill':
|
256
257
|
Use_quill()
|
257
|
-
elif
|
258
|
+
elif Item == 'grappling-hook':
|
258
259
|
Use_grappling_hook()
|
259
|
-
elif
|
260
|
-
Use_note(
|
261
|
-
elif
|
260
|
+
elif len(Item) >= 2 and Item[0] == 'note' and Item[1]:
|
261
|
+
Use_note(Item[1])
|
262
|
+
elif Item == '0':
|
262
263
|
type_text("You can't use nothing", colorTrue=color_coding)
|
263
264
|
else:
|
264
265
|
type_text("You can't use that", colorTrue=color_coding)
|
@@ -762,9 +763,9 @@ def handle_look_command():
|
|
762
763
|
return
|
763
764
|
type_text('There is nothing of interest.', colorTrue=color_coding)
|
764
765
|
|
765
|
-
def handle_use_command(
|
766
|
+
def handle_use_command(*Args):
|
766
767
|
global player
|
767
|
-
Use(
|
768
|
+
Use(Args)
|
768
769
|
|
769
770
|
def handle_search_command(player, *Args):
|
770
771
|
Container = " ".join(Args)
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='neelthee_mansion',
|
5
|
-
version='3.18.
|
5
|
+
version='3.18.5',
|
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',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/dependency_links.txt
RENAMED
File without changes
|
{neelthee_mansion-3.18.3 → neelthee_mansion-3.18.5}/neelthee_mansion.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|