neelthee-mansion 3.16.9__tar.gz → 3.16.10__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 (20) hide show
  1. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/PKG-INFO +1 -1
  2. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/Mansion_of_Amnesia.py +11 -9
  3. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  4. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/setup.py +1 -1
  5. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/README.md +0 -0
  6. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/Books.py +0 -0
  7. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/Quests.py +0 -0
  8. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/Rooms.py +0 -0
  9. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/__init__.py +0 -0
  10. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/__main__.py +0 -0
  11. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/all_game_utils.py +0 -0
  12. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/creatures.py +0 -0
  13. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/items.py +0 -0
  14. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion/utils.py +0 -0
  15. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
  16. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  17. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  18. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/requires.txt +0 -0
  19. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/neelthee_mansion.egg-info/top_level.txt +0 -0
  20. {neelthee_mansion-3.16.9 → neelthee_mansion-3.16.10}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.16.9
3
+ Version: 3.16.10
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
@@ -125,7 +125,7 @@ go [%*GREEN*%direction%*RESET*%/%*GREEN*%teleport%*RESET*%/%*GREEN*%number%*RESE
125
125
  get [%*BLUE*%item%*RESET*%] - Pick up an item from your current location
126
126
  search [the/] [%*RED*%container%*RESET*%] - Search a container in your current location
127
127
  use [%*BLUE*%item%*RESET*%] - Use an item from your inventory
128
- put [%*BLUE*%item%*RESET*%] [the/] [%*RED*%container%*RESET*%] - Put an item from your inventory into a container in your current location
128
+ put [%*BLUE*%item%*RESET*%] [in] [%*RED*%container%*RESET*%] - Put an item from your inventory into a container in your current location
129
129
  examine [%*GREEN*%direction%*RESET*%/%*RED*%container%*RESET*%/%*BLUE*%item%*RESET*%] - Find out some info about the object
130
130
  sleep - Rest for a bit and regain some health
131
131
  look - Look around your current location
@@ -789,16 +789,18 @@ def search_container(player: PC, Container):
789
789
  Container.take_contents(player)
790
790
 
791
791
 
792
- def handle_put_command(player: PC, PutItem: item = None, container = None, sub_container = None):
792
+ def handle_put_command(player: PC, *Args):
793
+ arguments = " ".join(Args)
794
+ Arguments = arguments.split("in")
795
+ for arg in Arguments:
796
+ Arguments[Arguments.index(arg)] = arg.strip()
797
+ PutItem = Arguments[0]
798
+ Container = Arguments[1]
793
799
  if PutItem in player.inventory:
794
800
  if 'containers' in ROOMS[player.CURRENTROOM]:
795
- if container == 'the' and sub_container in ROOMS[player.CURRENTROOM]['containers']:
796
- put_in_container(player, player.inventory[player.inventory.index(PutItem)], sub_container)
797
- return
798
- elif container in ROOMS[player.CURRENTROOM]['containers']:
799
- put_in_container(player, player.inventory[player.inventory.index(PutItem)], container)
800
- return
801
- type_text(f"You cannot put the {PutItem.name} in the {container}", colorTrue=color_coding)
801
+ put_in_container(player, player.inventory[player.inventory.index(PutItem)], Container)
802
+ return
803
+ type_text(f"You cannot put the {PutItem.name} in the {Container}", colorTrue=color_coding)
802
804
 
803
805
 
804
806
  def put_in_container(player: PC, PutItem = None, container = None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee-mansion
3
- Version: 3.16.9
3
+ Version: 3.16.10
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.16.9',
5
+ version='3.16.10',
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',