neelthee-mansion 3.17.3__py3-none-any.whl → 3.18.1__py3-none-any.whl
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/Mansion_of_Amnesia.py +10 -9
- neelthee_mansion/Rooms.py +3 -1
- {neelthee_mansion-3.17.3.dist-info → neelthee_mansion-3.18.1.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.17.3.dist-info → neelthee_mansion-3.18.1.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.17.3.dist-info → neelthee_mansion-3.18.1.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.17.3.dist-info → neelthee_mansion-3.18.1.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.17.3.dist-info → neelthee_mansion-3.18.1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
from .Rooms import *
|
1
|
+
from .Rooms import *
|
2
2
|
from .creatures import *
|
3
3
|
from .items import *
|
4
4
|
from .Quests import *
|
@@ -741,18 +741,19 @@ def handle_go_command(direction):
|
|
741
741
|
|
742
742
|
def handle_get_command(player: PC, *Args):
|
743
743
|
item_name = " ".join(Args)
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
744
|
+
for ItemName in ROOMS[player.CURRENTROOM]['items'].Keys():
|
745
|
+
if "item" in ROOMS[player.CURRENTROOM] and item_name == ItemName:
|
746
|
+
player.inventory_add([ROOMS[player.CURRENTROOM]['items'][ItemName]])
|
747
|
+
del ROOMS[player.CURRENTROOM]['items'][ItemName]
|
748
|
+
type_text(f'%*BLUE*%{item_name}%*RESET*% got!', colorTrue=color_coding)
|
749
|
+
return
|
750
|
+
type_text(f"Can't get {item_name}!", colorTrue=color_coding)
|
750
751
|
|
751
752
|
def handle_look_command():
|
752
753
|
global player
|
753
754
|
should_return = False
|
754
|
-
if '
|
755
|
-
type_text(f'The
|
755
|
+
if 'items' in ROOMS[player.CURRENTROOM]:
|
756
|
+
type_text(f'The items in the room: %*BLUE*%{", ".join(ROOMS[player.CURRENTROOM]["items"].keys())}%*RESET*%.', colorTrue=color_coding)
|
756
757
|
should_return = True
|
757
758
|
if 'containers' in ROOMS[player.CURRENTROOM]:
|
758
759
|
type_text(f"The containers here are: %*RED*%{', '.join(ROOMS[player.CURRENTROOM]['containers'].keys())}%*RESET*%", colorTrue=color_coding)
|
neelthee_mansion/Rooms.py
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
neelthee_mansion/Books.py,sha256=P608nxbspB5wnGTKjK6ATrb4p-rCvfOxjwJ1O5tMhjY,25595
|
2
|
-
neelthee_mansion/Mansion_of_Amnesia.py,sha256=
|
2
|
+
neelthee_mansion/Mansion_of_Amnesia.py,sha256=fzJHF_RIKG8X4yEqdJXLjlQUM2XxVLwR5tttuSqkZUc,46675
|
3
3
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
4
|
-
neelthee_mansion/Rooms.py,sha256=
|
4
|
+
neelthee_mansion/Rooms.py,sha256=i6PjEPaa_OXtCGnaHMLhTdDmAsdhaMKujKtvn7QhZJI,90222
|
5
5
|
neelthee_mansion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
neelthee_mansion/__main__.py,sha256=OIAWZ04le70DyjtR4hlmK9csHej7EHxeUrMoNnM-Vjc,95
|
7
7
|
neelthee_mansion/all_game_utils.py,sha256=mnxws_YEnsoftkkBMZv1k_zlnGKWGenUvsZnNKjuFJQ,349
|
8
8
|
neelthee_mansion/creatures.py,sha256=nc-6YQ7S89teDiypJdHKLLuq-q3UpbQCVGfJ4hnCb7M,15600
|
9
9
|
neelthee_mansion/items.py,sha256=HTy9BhHWB0T_S53HFls0y6ER5jD7XAeI6PlY1ZnCZug,5711
|
10
10
|
neelthee_mansion/utils.py,sha256=Wt1CdK4eCskrxRXkeKgzVoa_NIzwQ047dJU-b_e8pb8,13559
|
11
|
-
neelthee_mansion-3.
|
12
|
-
neelthee_mansion-3.
|
13
|
-
neelthee_mansion-3.
|
14
|
-
neelthee_mansion-3.
|
15
|
-
neelthee_mansion-3.
|
11
|
+
neelthee_mansion-3.18.1.dist-info/METADATA,sha256=UGZBGlBe3kMU3-bp5gvga4IRz-1l_z86vZ7bEM5hYEA,1992
|
12
|
+
neelthee_mansion-3.18.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
13
|
+
neelthee_mansion-3.18.1.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
14
|
+
neelthee_mansion-3.18.1.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
15
|
+
neelthee_mansion-3.18.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|