-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathrooms.py
44 lines (44 loc) · 1.69 KB
/
rooms.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
rooms = {
"hallway": {
"description": "You are in a dark and spooky hallway.",
"exits": {"west": "kitchen", "east": "living_room", "downstairs":"basement", "upstairs":"attic"},
},
"kitchen": {
"description": "You are in a dusty old kitchen with cobwebs.",
"exits": {"east": "hallway", "west": "pantry"},
"items": {"knife", "bread"},
},
"pantry": {
"description": "You are in a small pantry filled with shelves.",
"exits": {"east": "kitchen"},
"rats": True,
},
"living_room": {
"description": "You are in a creepy living room with creaky furniture.",
"exits": {"west": "hallway", "north": "library"},
"items": {"black cat hair"},
},
"library": {
"description": "You are in a dimly lit library filled with old books.",
"exits": {"south": "living_room", "east":"bedroom"},
"items": {"locket"},
},
"bedroom": {
"description": "You are in a spooky bedroom with a large, unmade bed.",
"exits": {"west": "living_room"},
"items":{"treasure box"},
"lock":True,
"puzzle": "You see a locked chest with a numeric keypad. You need a code to open it. It can only be found in an old book.",
"ending":"You have successfully secured the treasure! Thanks for playing with us"
},
"basement":{
"description": "You are in a dimly lit basement with a musty smell.",
"exits": {"upstairs": "hallway"},
"items":{"knight's sword"}
},
"attic":{
"description": "You are in a dusty attic filled with old furniture and cobwebs.",
"exits": {"downstairs": "hallway"},
"items": {"old_book"}
}
}