neelthee-mansion 3.20.16__tar.gz → 3.20.17__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 (21) hide show
  1. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/PKG-INFO +1 -1
  2. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/Mansion_of_Amnesia.py +2 -0
  3. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/Rooms.py +61 -1
  4. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  5. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/setup.py +1 -1
  6. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/LICENSE.md +0 -0
  7. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/README.md +0 -0
  8. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/Books.py +0 -0
  9. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/Quests.py +0 -0
  10. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/__init__.py +0 -0
  11. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/__main__.py +0 -0
  12. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/all_game_utils.py +0 -0
  13. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/creatures.py +0 -0
  14. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/items.py +0 -0
  15. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion/utils.py +0 -0
  16. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
  17. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  18. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  19. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/requires.txt +0 -0
  20. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/neelthee_mansion.egg-info/top_level.txt +0 -0
  21. {neelthee_mansion-3.20.16 → neelthee_mansion-3.20.17}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.20.16
3
+ Version: 3.20.17
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
@@ -497,6 +497,8 @@ def Examine(*Args):
497
497
  elif isinstance(_, Recorder):
498
498
  type_text("This device records sound. The current message is:")
499
499
  type_text(_.message)
500
+ else:
501
+ type_text(_.value)
500
502
  elif Name in ROOMS[player.CURRENTROOM]["directions"]: # Check exits in the room
501
503
  door = ROOMS[player.CURRENTROOM]["directions"][Name]
502
504
  if isinstance(door, Door):
@@ -648,6 +648,7 @@ You notice a "
648
648
  "directions": {
649
649
  "south": Door("Basement 3"),
650
650
  "east": Door("Basement 1"),
651
+ "north": Door("DND"),
651
652
  },
652
653
  "items": {
653
654
  "torch": item("torch"),
@@ -659,7 +660,7 @@ You notice a "
659
660
  "info": "You are in a dimly lit underground armoury (all the light in the room comes from 3 %*BLUE*%torch%*RESET*%es on the walls) with 2 racks full of damaged weapons,\n\
660
661
  %*RED*%rack-1%*RESET*% has damaged bows and %*RED*%rack-2%*RESET*% has damaged spears.",
661
662
  "map": """
662
- █████████
663
+ ██████║██
663
664
  █╦ █
664
665
  █ ╦█
665
666
  █ █
@@ -805,6 +806,65 @@ You notice a "
805
806
  'Is it just me or are the first letters of all of those book names spelling the words "He\'s watching you"',
806
807
  ],
807
808
  },
809
+ 'DND': {
810
+ 'room type': 'type',
811
+ 'position': (0, 0, 0),
812
+ 'discovered': False,
813
+ 'directions': {
814
+ 'north': Door('Room name'),
815
+ 'south': Door("Basement Armoury"),
816
+ },
817
+ 'creatures stats': [
818
+ NPC(
819
+ "dungeon master",
820
+ 1000,
821
+ 100,
822
+ type=creature_type("god", "dungeon master"),
823
+ responses={
824
+ "introduction": "I see you’ve come to the next stage of your quest, player. But remember—your choices, even the smallest ones, will shape your fate.\
825
+ Oh and before I forget, If you go through the door to the north, there wil be no turning back. You will ether have to join Neel-thee or fight him.",
826
+ "map": "Oh, the map! That's the map of one of my favourite places! Sword Coast is an amazing place to be! I hope you can go there one day.",
827
+ "you": "Me? I'm a prymodrial being from beyond the stars that can alter reality. You can call me the Dungeon Master."
828
+ },
829
+ keyword_variations={
830
+ "introduction": ["hello", "hi", "greetings", "hey"],
831
+ "map": ["the map", "map", "sword coast", "strange map"],
832
+ "you": ["you"],
833
+ },
834
+ generic_response="I will not answer that question at this time."
835
+ ),
836
+ ],
837
+ 'containers': {
838
+ 'container name': container([item("unknown map", "map", "This map is of some strange land, far away. At the top of the map, it says 'Sword Coast.'")]),
839
+ },
840
+ 'info': 'description',
841
+ 'map': '''
842
+ ████║████
843
+ █ █
844
+ █ █
845
+ █ █
846
+ █ █
847
+ █ █
848
+ █ █
849
+ █ █
850
+ ██████║██''',
851
+ 'random_events': [
852
+ RandomEvent(
853
+ name='rumble',
854
+ probability=0.4, # Adjust this for the probability of the event running (e.g., 0.1 is 10% chance)
855
+ condition=lambda player: True, # Condition under which the event can occur
856
+ effect=lambda player: type_text("You hear a strange rumbling sound."), # Define the effect of the event
857
+ )
858
+ ],
859
+ 'random_events': [
860
+ RandomEvent(
861
+ name='fire',
862
+ probability=0.3, # Adjust this for the probability of the event running (e.g., 0.1 is 10% chance)
863
+ condition=lambda player: True, # Condition under which the event can occur
864
+ effect=lambda player: type_text("Fire comes gushing out of a crack in the roof and into the wall."), # Define the effect of the event
865
+ )
866
+ ],
867
+ },
808
868
  "Cavern 1": {
809
869
  "room type": "cavern",
810
870
  "position": (-2, 0, 0),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.20.16
3
+ Version: 3.20.17
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.20.16",
5
+ version="3.20.17",
6
6
  packages=find_packages(), # Automatically finds all packages and modules
7
7
  install_requires=[
8
8
  "wheel",