neelthee-mansion 3.19.1__py3-none-any.whl → 3.19.2__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 +7 -6
- neelthee_mansion/Rooms.py +27 -9
- {neelthee_mansion-3.19.1.dist-info → neelthee_mansion-3.19.2.dist-info}/METADATA +1 -1
- {neelthee_mansion-3.19.1.dist-info → neelthee_mansion-3.19.2.dist-info}/RECORD +7 -7
- {neelthee_mansion-3.19.1.dist-info → neelthee_mansion-3.19.2.dist-info}/WHEEL +0 -0
- {neelthee_mansion-3.19.1.dist-info → neelthee_mansion-3.19.2.dist-info}/entry_points.txt +0 -0
- {neelthee_mansion-3.19.1.dist-info → neelthee_mansion-3.19.2.dist-info}/top_level.txt +0 -0
@@ -744,12 +744,13 @@ def handle_go_command(direction):
|
|
744
744
|
|
745
745
|
def handle_get_command(player: PC, *Args):
|
746
746
|
item_name = " ".join(Args)
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
747
|
+
if 'items' in ROOMS[player.CURRENTROOM]:
|
748
|
+
for ItemName in ROOMS[player.CURRENTROOM]['items'].keys():
|
749
|
+
if item_name == ItemName:
|
750
|
+
player.inventory_add([ROOMS[player.CURRENTROOM]['items'][ItemName]])
|
751
|
+
del ROOMS[player.CURRENTROOM]['items'][ItemName]
|
752
|
+
type_text(f'%*BLUE*%{item_name}%*RESET*% got!', colorTrue=color_coding)
|
753
|
+
return
|
753
754
|
type_text(f"Can't get {item_name}!", colorTrue=color_coding)
|
754
755
|
|
755
756
|
def handle_look_command():
|
neelthee_mansion/Rooms.py
CHANGED
@@ -199,7 +199,9 @@ ROOMS = {
|
|
199
199
|
'north': Door('Hall'),
|
200
200
|
'east': Door('Garden'),
|
201
201
|
},
|
202
|
-
'
|
202
|
+
'items': {
|
203
|
+
'rations': item('rations'),
|
204
|
+
},
|
203
205
|
'containers': {
|
204
206
|
'cupboards': container([item('money-pouch', 'valuable', 10)]),
|
205
207
|
},
|
@@ -246,7 +248,9 @@ ROOMS = {
|
|
246
248
|
'south': Door('Garden'),
|
247
249
|
'north': Door('Sitting Room'),
|
248
250
|
},
|
249
|
-
'
|
251
|
+
'items': {
|
252
|
+
'': item('potion'),
|
253
|
+
},
|
250
254
|
'containers': {
|
251
255
|
'chandelier': container([item('gem', 'valuable', 50)]),
|
252
256
|
},
|
@@ -517,7 +521,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
517
521
|
'containers': {
|
518
522
|
'stone': container([item('money-pouch', 'valuable', 25), Key('key', "629.IdnXwnt")], True),
|
519
523
|
},
|
520
|
-
'
|
524
|
+
'items': {
|
525
|
+
'': item('tome'),
|
526
|
+
},
|
521
527
|
'info': 'You are in the middle of a stone tower. The only light comes from above, through the cracks around the hatch to above.',
|
522
528
|
'map': '''
|
523
529
|
█████████
|
@@ -576,7 +582,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
576
582
|
'south': Door('Basement 3'),
|
577
583
|
'east': Door('Basement 1'),
|
578
584
|
},
|
579
|
-
'
|
585
|
+
'items': {
|
586
|
+
'torch': item('torch'),
|
587
|
+
},
|
580
588
|
'containers': {
|
581
589
|
'rack-1': container([item('bow', 'weapon', 4)]),
|
582
590
|
'rack-2': container([item('spear', 'weapon', 3)]),
|
@@ -608,7 +616,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
608
616
|
'west': Door('Basement Armoury'),
|
609
617
|
'up': Door('Sitting Room'),
|
610
618
|
},
|
611
|
-
'
|
619
|
+
'items': {
|
620
|
+
'torch': item('torch'),
|
621
|
+
},
|
612
622
|
'info': 'You are in an dimly lit underground (all the light in the room comes from 3 %*BLUE*%torch%*RESET*%es on the walls). You hear a %*YELLOW*%ripping%*RESET*% from the\
|
613
623
|
stairs going %*GREEN*%up%*RESET*%.',
|
614
624
|
'map': '''
|
@@ -634,7 +644,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
634
644
|
'north': Door('Basement 1'),
|
635
645
|
'west': Door('Basement 3'),
|
636
646
|
},
|
637
|
-
'
|
647
|
+
'items': {
|
648
|
+
'torch': item('torch'),
|
649
|
+
},
|
638
650
|
'info': 'You are in an dimly lit underground (all the light in the room comes from 3 %*BLUE*%torch%*RESET*%es on the walls).',
|
639
651
|
'map': '''
|
640
652
|
████║████
|
@@ -660,7 +672,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
660
672
|
'east': Door('Basement 2'),
|
661
673
|
'north': Door('Basement Armoury'),
|
662
674
|
},
|
663
|
-
'
|
675
|
+
'items': {
|
676
|
+
'torch': item('torch'),
|
677
|
+
},
|
664
678
|
'info': 'You are in an dimly lit underground (all the light in the room comes from 3 %*BLUE*%torch%*RESET*%es on the walls).',
|
665
679
|
'map': '''
|
666
680
|
████║████
|
@@ -683,7 +697,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
683
697
|
'east': Door('Library'),
|
684
698
|
'shoot': Door('Cavern 1'),
|
685
699
|
},
|
686
|
-
'
|
700
|
+
'items': {
|
701
|
+
'torch': item('torch'),
|
702
|
+
},
|
687
703
|
'info': 'You are in an dimly lit underground (all the light in the room comes from 3 %*BLUE*%torch%*RESET*%es on the walls). there is a choot in the floor (type: \'go shoot\' to go down the shoot).',
|
688
704
|
'map': '''
|
689
705
|
████║████
|
@@ -876,7 +892,9 @@ You notice a ''%*RED*%storage%*RESET*% device in one corner. You hear a %*YELLOW
|
|
876
892
|
'8': Door('The Watch Castle'),
|
877
893
|
'9': Door('The Old Manor'),
|
878
894
|
},
|
879
|
-
'
|
895
|
+
'items': {
|
896
|
+
'money-pouch': item('money-pouch', 'valuable', 10),
|
897
|
+
},
|
880
898
|
'info': '''
|
881
899
|
You are in a strange cave with many teleportation circles, as well as some ships that are floating above the floor.
|
882
900
|
|
@@ -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=WG0r4Vb3BwlBeYto4iGPek4I9UtmOP5AQEd4OfAA4_8,46784
|
3
3
|
neelthee_mansion/Quests.py,sha256=q6VzR3mt9AYe29ACWZuf-suz4yOKrL946aJ493eQRS0,2611
|
4
|
-
neelthee_mansion/Rooms.py,sha256=
|
4
|
+
neelthee_mansion/Rooms.py,sha256=UgI0U6yXEtrhX_W3goARqxa20TdvuXg-MY3HJc_N-5Q,90805
|
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.19.
|
12
|
-
neelthee_mansion-3.19.
|
13
|
-
neelthee_mansion-3.19.
|
14
|
-
neelthee_mansion-3.19.
|
15
|
-
neelthee_mansion-3.19.
|
11
|
+
neelthee_mansion-3.19.2.dist-info/METADATA,sha256=lpfxe-JjTWMrHvkXvsJzUuizPV0Dg-qcfQr3gUYTSL0,2047
|
12
|
+
neelthee_mansion-3.19.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
13
|
+
neelthee_mansion-3.19.2.dist-info/entry_points.txt,sha256=j5ScTTyIidFhmT3F6hcX9pnlom4cJdDmfe26BmM6Igo,56
|
14
|
+
neelthee_mansion-3.19.2.dist-info/top_level.txt,sha256=woQImQewylhly5Rb24HwPEGMxPY6do_PaUwGd5BNLOM,17
|
15
|
+
neelthee_mansion-3.19.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|