Repository navigation
Expand file tree
/
Copy pathrooms.json
More file actions
263 lines (261 loc) · 7.32 KB
/
Copy pathrooms.json
File metadata and controls
263 lines (261 loc) · 7.32 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
"config" : {
"default_actions" : [
{
"class" : "ManageInventoryAction"
},
{
"class": "WrapperAction",
"menu_name": "Craft something",
"activation_text": "",
"wrap": {
"class": "CraftingEvent"
}
},
{
"class" : "WrapperAction",
"menu_name" : "View Summary",
"activation_text" : "",
"wrap" : {
"class" : "ViewSummaryEvent"
}
},
{
"class" : "WrapperAction",
"menu_name" : "Do Combat",
"activation_text" : "",
"wrap" : {
"class" : "CombatEvent",
"allies" : [2],
"enemies" : [3, 4]
},
"reveal_after_use" : ["combat_locked"]
}
]
},
"content": [
{
"class" : "Room",
"id" : 0,
"name" : "Lonely Debug Room",
"enter_text": "You enter a small, cramped, debug room.",
"actions" : [
{
"class" : "ExitAction",
"target_room" : 1,
"requirements" : [
{
"class" : "ConsumeItemRequirement",
"item_id" : 2,
"item_quantity" : 1
}
]
},
{
"class" : "WrapperAction",
"menu_name" : "Talk to suspicious person.",
"activation_text" : "You approach the weirdo.",
"wrap": {
"class" : "DialogEvent",
"dialog_id" : 0
}
},
{
"class" : "WrapperAction",
"menu_name" : "Ooh, shiny!",
"activation_text" : "You find a glittering brass key on the floor.",
"wrap" : {
"class": "AddItemEvent",
"item_id": 2,
"item_quantity": 2
}
},
{
"class" : "WrapperAction",
"menu_name" : "A reward of blood and bone",
"activation_text" : "As your enemies lay slain, their bodies turn to ash and scatter to the wind. Left behind is a trophy of your might.",
"wrap" : {
"class" : "AddItemEvent",
"item_id" : 6,
"item_quantity" : 1
},
"visible": false,
"tags" : ["combat_locked"],
"hide_after_use" : true
},
{
"class" : "ExitAction",
"target_room" : 2
},
{
"class" : "ExitAction",
"target_room" : 5
}
],
"__comment__" : "End of Lonely Debug Room"
},
{
"class" : "Room",
"id" : 1,
"name" : "Slightly More Complex Room",
"enter_text" : "You enter a dank cellar. Its non-euclidean geometry confuses you.",
"actions" : [
{
"class" : "ManageInventoryAction"
},
{
"class" : "ExitAction",
"target_room" : 0
},
{
"class" : "ShopAction",
"menu_name" : "Something Something Buy My Stuff Shop",
"activation_text" : "Welcome to my shop! I don't know why I'm here.",
"default_currency" : 0,
"wares" : [0, 1, 2]
}
]
},
{
"class" : "Room",
"id" : 2,
"name" : "Adventurer's Guild",
"enter_text" : "The Adventurer's Guild lies before you. Long wooden tables brimming with eager warriors and the smell of ale greet you",
"actions" : [
{
"class" : "ExitAction",
"target_room" : 1
},
{
"class" : "ExitAction",
"target_room" : 3
},
{
"class" : "ShopAction",
"menu_name" : "Waive down a waitress",
"activation_text" : "A young waitress deftly navigates the busy tavern room, swiftly arriving at your table. 'Welcome to the Adventurer's Tavern! What can I get for you?'",
"default_currency" : 0,
"wares" : [8, 9, 13]
}
]
},
{
"class" : "Room",
"id" : 3,
"name" : "Adventurer's Guide - Basement",
"enter_text" : "You enter a dark, damp basement, hewn from stone and erected with a well-crafted wooden foundation.",
"actions" : [
{
"class" : "ExitAction",
"target_room" : 2
},
{
"class" : "ExitAction",
"target_room" : 4,
"menu_name" : "Investigate sinkhole",
"activation_text" : "You peer down into the sinkhole. Deep within the swirling darkness you spot a glimmering vein of ores and gems. Do you want to descend?"
},
{
"class" : "WrapperAction",
"menu_name" : "Inspect wooden supply crates",
"activation_text" : "You rummage through an open crate.",
"wrap" : {
"class" : "AddItemEvent",
"item_id" : 7,
"item_quantity" : 1
},
"hide_after_use": true
}
]
},
{
"class" : "Room",
"id" : 4,
"name" : "Glittering Cave",
"enter_text" : "The walls of the cave are slick with condensation. You are surrounded by a variety of ores and gems, ripe for the taking.",
"actions" : [
{
"class" : "WrapperAction",
"menu_name" : "Mine copper ore",
"activation_text" : "You swing your pickaxe at the vein of copper. The earth yields her bounty to you.",
"wrap" : [
{
"class" : "AddItemEvent",
"item_id" : 10,
"item_quantity": 2
},
{
"class" : "SkillXPEvent",
"skill_id" : 2,
"xp_gained" : 5
}
],
"requirements" : [
{
"class" : "SkillRequirement",
"skill_id" : 2,
"level" : 1
},
{
"class" : "ItemRequirement",
"item_id" : 13,
"item_quantity" : 1
}
]
},
{
"class" : "WrapperAction",
"menu_name" : "Mine iron ore",
"activation_text" : "You swing your pickaxe at the vein of iron. The earth yields her bounty to you.",
"hide_after_use" : true,
"wrap" :[
{
"class" : "AddItemEvent",
"item_id" : 3,
"item_quantity": 2
},
{
"class" : "SkillXPEvent",
"skill_id" : 2,
"xp_gained" : 8
}
],
"requirements" : [
{
"class" : "SkillRequirement",
"skill_id" : 2,
"level" : 3
},
{
"class" : "ItemRequirement",
"item_id" : 13,
"item_quantity" : 1
}
]
},
{
"class" : "ExitAction",
"target_room" : 3
}
]
},
{
"class" : "Room",
"id" : 5,
"name" : "Gym-Rat Alley",
"enter_text" : "That's the smell of hard work. The smell of determination. That's the smell of-- feet. \nIt does smell like feet.",
"actions" : [
{
"class" : "DialogAction",
"menu_name" : "A voice calls out from the dark: \"Men are such pricks!\"",
"activation_text" : "You're approached by a woman with a suspiciously deep voice.",
"dialog_id" : 2
},
{
"class": "ExitAction",
"target_room" : 0
}
]
}
]
}