neelthee-mansion 3.23.5__tar.gz → 3.23.6__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/PKG-INFO +1 -1
  2. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/Mansion_of_Amnesia.py +18 -18
  3. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/Rooms.py +371 -371
  4. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/creatures.py +7 -56
  5. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/utils.py +1 -1
  6. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/PKG-INFO +1 -1
  7. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/setup.py +1 -1
  8. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/LICENSE.md +0 -0
  9. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/README.md +0 -0
  10. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/Books.py +0 -0
  11. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/Quests.py +0 -0
  12. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/__init__.py +0 -0
  13. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/__main__.py +0 -0
  14. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/all_game_utils.py +0 -0
  15. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion/items.py +0 -0
  16. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/SOURCES.txt +0 -0
  17. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/dependency_links.txt +0 -0
  18. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/entry_points.txt +0 -0
  19. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/requires.txt +0 -0
  20. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/neelthee_mansion.egg-info/top_level.txt +0 -0
  21. {neelthee_mansion-3.23.5 → neelthee_mansion-3.23.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neelthee_mansion
3
- Version: 3.23.5
3
+ Version: 3.23.6
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
@@ -127,12 +127,12 @@ def showInstructions():
127
127
  """
128
128
  ===========================
129
129
  Commands:
130
- go [%*GREEN*%direction%*RESET*%/%*GREEN*%teleport%*RESET*%/%*GREEN*%number%*RESET*%] - Move to another location
131
- get [%*BLUE*%item%*RESET*%] - Pick up an item from your current location
132
- search [%*RED*%container%*RESET*%] - Search a container in your current location
133
- use [%*BLUE*%item%*RESET*%] - Use an item from your inventory
134
- put [%*BLUE*%item%*RESET*%] [in] [%*RED*%container%*RESET*%] - Put an item from your inventory into a container in your current location
135
- examine [%*GREEN*%direction%*RESET*%/%*RED*%container%*RESET*%/%*BLUE*%item%*RESET*%/%*BROWN*%NPC%*RESET*%] - Find out some info about the object
130
+ go [direction/teleport/number] - Move to another location
131
+ get [item] - Pick up an item from your current location
132
+ search [container] - Search a container in your current location
133
+ use [item] - Use an item from your inventory
134
+ put [item] [in] [container] - Put an item from your inventory into a container in your current location
135
+ examine [direction/container/item/NPC] - Find out some info about the object
136
136
  sleep - Rest for a bit and regain some health
137
137
  look - Look around your current location
138
138
  quit - Quit the game
@@ -278,7 +278,7 @@ def Use(*Args):
278
278
  if isinstance(item_obj, item):
279
279
  if item_obj.sell(player):
280
280
  add_text_to_textbox(info_text_area,
281
- f"You sell the %*BLUE*%{Item}%*RESET*%"
281
+ f"You sell the {Item}"
282
282
  )
283
283
  player.inventory.remove(item_obj.name)
284
284
  elif Item == "quill":
@@ -393,7 +393,7 @@ def start():
393
393
  sleep(0.1)
394
394
  # shows the main menu
395
395
  add_text_to_textbox(info_text_area,
396
- f"\nHello %*MAGENTA*%{player.name}%*RESET*% and welcome to my Role Playing Game. \nI hope you have fun!",
396
+ f"\nHello %*MAGENTA*%{player.name} and welcome to my Role Playing Game. \nI hope you have fun!",
397
397
  )
398
398
  showInstructions()
399
399
 
@@ -496,10 +496,10 @@ def display_directions(text):
496
496
  for direction in directions:
497
497
  if direction in ROOMS[player.CURRENTROOM]["directions"]:
498
498
  if direction != "teleport":
499
- text += f"\n{direction_descriptions[room_type][direction]} %*GREEN*%{direction}%*RESET*%."
499
+ text += f"\n{direction_descriptions[room_type][direction]} {direction}."
500
500
 
501
501
  if "teleport" in ROOMS[player.CURRENTROOM]["directions"]:
502
- text += "\nThere is a %*GREEN*%teleport%*RESET*%ation circle on the ground."
502
+ text += "\nThere is a teleportation circle on the ground."
503
503
 
504
504
  return text
505
505
 
@@ -647,7 +647,7 @@ def monster_turn(player: PC, monster: creature):
647
647
  player (PC): The player or ally.
648
648
  monster (creature): The monster attacking.
649
649
  """
650
- add_text_to_textbox(info_text_area, f"The %*CYAN*%{monster.name}%*RESET*% attacks!")
650
+ add_text_to_textbox(info_text_area, f"The {monster.name} attacks!")
651
651
  damage = calculate_damage(monster, player)
652
652
  player.take_damage(damage, info_text_area)
653
653
 
@@ -730,7 +730,7 @@ def use_special_ability(player: PC, monster: creature):
730
730
  monster (creature): The monster being fought.
731
731
  """
732
732
  if player.special_ability.ready:
733
- player.special_ability.activate(monster, random(calculate_damage_range(player.atpw)), info_text_area)
733
+ player.special_ability.activate(monster, randint(calculate_damage_range(player.atpw)), info_text_area)
734
734
  add_text_to_textbox(info_text_area,
735
735
  f"You use your special ability: {player.special_ability.name}."
736
736
  )
@@ -852,7 +852,7 @@ def handle_get_command(player: PC, *Args):
852
852
  if item_name == ItemName:
853
853
  player.inventory_add([ROOMS[player.CURRENTROOM]["items"][ItemName]], info_text_area)
854
854
  del ROOMS[player.CURRENTROOM]["items"][ItemName]
855
- add_text_to_textbox(info_text_area, f"%*BLUE*%{item_name}%*RESET*% got!")
855
+ add_text_to_textbox(info_text_area, f"{item_name} got!")
856
856
  return
857
857
  add_text_to_textbox(info_text_area, f"Can't get {item_name}!")
858
858
 
@@ -862,12 +862,12 @@ def handle_look_command():
862
862
  should_return = False
863
863
  if "items" in ROOMS[player.CURRENTROOM]:
864
864
  add_text_to_textbox(info_text_area,
865
- f'The items in the room: %*BLUE*%{", ".join(ROOMS[player.CURRENTROOM]["items"].keys())}%*RESET*%.'
865
+ f'The items in the room: {", ".join(ROOMS[player.CURRENTROOM]["items"].keys())}.'
866
866
  )
867
867
  should_return = True
868
868
  if "containers" in ROOMS[player.CURRENTROOM]:
869
869
  add_text_to_textbox(info_text_area,
870
- f"The containers here are: %*RED*%{', '.join(ROOMS[player.CURRENTROOM]['containers'].keys())}%*RESET*%"
870
+ f"The containers here are: {', '.join(ROOMS[player.CURRENTROOM]['containers'].keys())}"
871
871
  )
872
872
  should_return = True
873
873
  if should_return:
@@ -899,7 +899,7 @@ def search_container(player: PC, Container):
899
899
  key = PickKey(Container.lock)
900
900
  Container.Unlock(key, player)
901
901
  add_text_to_textbox(info_text_area,
902
- f"You search the{' secret' if Container.secret else ''} %*RED*%{ContainerName}%*RESET*% and find a ",
902
+ f"You search the{' secret' if Container.secret else ''} {ContainerName} and find a ",
903
903
  newline=False
904
904
  )
905
905
  for searchitem in Container.contents:
@@ -912,7 +912,7 @@ def search_container(player: PC, Container):
912
912
  else "\n"
913
913
  )
914
914
  add_text_to_textbox(info_text_area,
915
- f"%*BLUE*%{searchitem.name}%*RESET*%{end_str}",
915
+ f"{searchitem.name}{end_str}",
916
916
  newline=False,
917
917
 
918
918
  )
@@ -931,7 +931,7 @@ def put_in_container(player: PC, PutItem=None, container=None):
931
931
  ]
932
932
  ROOMS[player.CURRENTROOM]["containers"][container].contents += [PutItem]
933
933
  add_text_to_textbox(info_text_area,
934
- f"You put you're %*BLUE*%{PutItem.name}%*RESET*% into the %*RED*%{container}%*RESET*%",
934
+ f"You put you're {PutItem.name} into the {container}",
935
935
  )
936
936
 
937
937