-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathworld.ron
323 lines (323 loc) · 10.4 KB
/
world.ron
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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
(player: "PLAYER", last_it: "stick", items: {
"PLAYER": (
names: ["self", "me", "myself", "i"],
locations: ["BRIG"],
hp: 10,
),
"BRIG": (
names: ["Brig"],
desc: "You are in a small wooden room with a wood pillar in the middle. The ground slowly creaks and rocks beneath you.",
),
"WOOD PILLAR": (
names: ["pillar", "center middle wood wooden pillar"],
locations: ["BRIG"],
details: "Don't get a splinter!",
),
"STICK": (
desc: "There is a stick here.",
names: ["stick"],
locations: ["BRIG"],
details: "It's short but stout.",
can_take: true,
damage: 1,
),
"BRIG DOOR": (
names: ["door"],
details: "It is plain and wooden.",
container: Closed,
),
"BRIG DOOR BRIG": (
desc: "There is a door on the north side.",
names: ["door", "north"],
locations: ["BRIG"],
dest: "HOLD 1",
door: "BRIG DOOR",
),
"BRIG DOOR HOLD": (
desc: "There is a door at the south end of the hold.",
names: ["door", "south"],
locations: ["HOLD 1"],
dest: "BRIG",
door: "BRIG DOOR",
),
"ROOT BEER BARRELS": (
desc: "You can detect the slight scent of root beer.",
names: ["barrels", "root beer", "crates"],
locations: ["HOLD 1", "HOLD 2"],
details: "You can find no way to open the barrels, but there is definitely root beer inside.",
open_message: "You can find no way to open the barrels, but there is definitely root beer inside.",
take_message: "The barrels are far too heavy.",
),
"HOLD 1": (
names: ["Hold"],
desc: "You are in the middle of a spacious hold. Crates and barrels array the sides.",
),
"HOLD 1 NORTH": (
names: ["north"],
desc: "The hold continues to the north.",
locations: ["HOLD 1"],
details: "The end of the hold is too dark to see into.",
dest: "HOLD 2",
),
"SLEEPING PIRATE": (
names: ["pirate"],
desc: "There is a pirate lying in a chair, asleep.",
locations: ["HOLD 1"],
details: "He seems to be intently snoring.",
push_message: "You probably shouldn't wake him.",
hp: 1,
),
"BANANA": (
names: ["banana"],
desc: "There is a banana here.",
locations: ["SLEEPING PIRATE"],
can_take: true,
food: Edible,
),
"STEEP STAIRS HOLD": (
desc: "Steep stairs lead upwards.",
names: ["steep stairs", "up"],
locations: ["HOLD 1"],
dest: "CREW DECK 1",
),
"HOLD 2": (
names: ["Hold"],
desc: "You are at the end of a spacious hold. Crates and barrels array the sides.",
),
"HOLD 2 SOUTH": (
desc: "The hold continues to the south.",
names: ["south"],
locations: ["HOLD 2"],
details: "The middle of the hold is lit by a lantern.",
dest: "HOLD 1",
),
"RATS": (
desc: "A swarm of rats raves on the floor.",
names: ["swarm of rats"],
locations: ["HOLD 2"],
nature: Aggressive,
hp: 1,
damage: 1,
),
"SWORD": (
desc: "There is a sword here.",
names: ["sword"],
locations: ["HOLD 2"],
details: "It's a basic short sword with a few knicks.",
can_take: true,
damage: 3,
),
"STEEP STAIRS CREW DOWN": (
desc: "Steep stairs lead downwards.",
names: ["steep stairs leading downwards", "down"],
locations: ["CREW DECK 1"],
dest: "HOLD 1",
),
"CREW DECK 1": (
desc: "You are on a deck with dirty hammocks hanging everywhere.",
names: ["Crew Deck"],
),
"CREW DECK 1 NORTH": (
desc: "The deck continues to the north.",
names: ["north"],
locations: ["CREW DECK 1"],
dest: "CREW DECK 2",
),
"DRUNK PIRATE": (
desc: "There is a drunk pirate stumbling around the room.",
names: ["drunk pirate"],
details: "He stumbles around but does not seem to recognize you.",
locations: ["CREW DECK 1"],
nature: Passive,
hp: 5,
damage: 2,
),
"CUTLASS": (
desc: "There is a cutlass here.",
names: ["cutlass"],
locations: ["DRUNK PIRATE"],
details: "It is made of thick steel and has many notches. The edge is very sharp.",
can_take: true,
damage: 5,
),
"CREW DECK 2": (
desc: "You are on a deck with dirty hammocks hanging everywhere.",
names: ["Crew Deck"],
),
"CREW DECK 2 SOUTH": (
desc: "The deck continues to the south.",
names: ["south"],
locations: ["CREW DECK 2"],
dest: "CREW DECK 1",
),
"ANGRY PIRATE": (
desc: "There is an angry pirate here.",
names: ["angry pirate"],
locations: ["CREW DECK 2"],
details: "He snarls at you.",
nature: Aggressive,
hp: 7,
damage: 2,
),
"STEEP STAIRS CREW UP": (
desc: "Steep stairs lead upwards.",
names: ["steep stairs leading upwards", "up"],
locations: ["CREW DECK 1"],
dest: "CANNON DECK 1",
),
"STEEP STAIRS CANNON DOWN": (
desc: "Steep stairs lead downwards.",
names: ["steep stairs leading downwards", "down"],
locations: ["CANNON DECK 1"],
dest: "CANNON DECK 1",
),
"CANNONS": (
desc: "There is a row of cannons on each side of the deck.",
names: ["cannons"],
locations: ["CANNON DECK 1", "CANNON DECK 2"],
),
"CANNON DECK 1": (
desc: "This deck has cannons lining each side.",
names: ["Cannon Deck"],
),
"CANNON DECK 1 NORTH": (
desc: "The deck continues to the north.",
names: ["north"],
locations: ["CANNON DECK 1"],
dest: "CANNON DECK 2",
),
"CANNON DECK 2": (
desc: "This deck has cannons lining each side.",
names: ["Cannon Deck"],
),
"CANNON DECK 2 SOUTH": (
desc: "The deck continues to the south.",
names: ["south"],
locations: ["CANNON DECK 2"],
dest: "CANNON DECK 1",
),
"STEEP STAIRS CANNON UP": (
desc: "Steep stairs lead upwards.",
names: ["steep stairs leading upwards", "up"],
locations: ["CANNON DECK 1"],
dest: "MAIN DECK",
),
"STEEP STAIRS MAIN DOWN": (
desc: "Steep stairs lead downwards.",
names: ["steep stairs", "down"],
locations: ["MAIN DECK"],
dest: "CANNON DECK 1",
),
"MAIN DECK": (
desc: "The vast open sea surrounds the ship you stand on.",
names: ["Main Deck"],
),
"MAIN DECK UP": (
desc: "There is a platform above you on the central mast",
names: ["mast", "platform", "up"],
locations: ["MAIN DECK"],
details: "The platform can be reached by using holds on the mast.",
dest: "PLATFORM",
),
"HELM STAIRS DECK": (
desc: "Stairs towards the south lead up to the sterncastle.",
names: ["stairs", "south"],
locations: ["MAIN DECK"],
details: "The stairs look old and dirty.",
dest: "HELM",
),
"GREAT CABIN": (
desc: "You stand in a large cabin with the captains belongings littering the ground and hanging on the walls.",
names: ["Great Cabin"],
),
"GREAT CABIN DOOR": (
names: ["great cabin door"],
details: "The door is large with a small dim window in the center.",
container: Closed,
),
"GREAT CABIN DOOR DECK": (
desc: "There is door on the wall beneath the sterncastle of the ship.",
names: ["door"],
locations: ["MAIN DECK"],
dest: "GREAT CABIN",
door: "GREAT CABIN DOOR",
),
"GREAT CABIN DOOR CABIN": (
desc: "There is door at the north end of the room.",
names: ["door", "north"],
locations: ["GREAT CABIN"],
dest: "MAIN DECK",
door: "GREAT CABIN DOOR",
),
"PIRATE CAPTAIN": (
desc: "There is a pirate captain here.",
names: ["pirate captain"],
locations: ["GREAT CABIN"],
details: "He grins, showing off multiple golden teeth.",
nature: Aggressive,
hp: 10,
damage: 3,
),
"BLUE RING": (
desc: "There is a blue ring here.",
names: ["blue ring"],
locations: ["PIRATE CAPTAIN"],
details: "When the ring catches the sunlight, the surface shimmers like the waves of the sea.",
can_take: true,
),
"HELM": (
desc: "You are at the helm of the ship. There is another mast in the center behind the ships wheel.",
names: ["Helm"],
),
"HELM STAIRS HELM": (
desc: "The stairs lead back onto the main deck.",
names: ["stairs", "north", "down"],
locations: ["HELM"],
details: "The stairs look old and dirty.",
dest: "MAIN DECK",
),
"PLATFORM": (
desc: "You stand on a platform several feet above the main deck.",
names: ["Platform"],
),
"PLATFORM DOWN": (
desc: "The main deck is below you.",
names: ["main deck", "down"],
locations: ["PLATFORM"],
dest: "MAIN DECK",
details: "The main deck is several feet below.",
),
"PLATFORM UP": (
desc: "There is a crows nest above you on the central mast.",
names: ["crows nest", "mast", "up"],
locations: ["PLATFORM"],
dest: "CROWS NEST",
details: "The crows nest can be reached through holds and rigging on the mast.",
),
"CROWS NEST": (
desc: "You are in a crows nest overlooking the entire ship and sea.",
names: ["Crow's Nest"],
),
"CROWS NEST DOWN": (
desc: "There is a platform below you on the central mast.",
names: ["platform", "mast", "down"],
locatations: ["CROWS NEST"],
dest: "PLATFORM",
details: "The platform can be reached through holds on the mast.",
),
"SLEEPING LOOKOUT": (
desc: "There is a sleeping pirate here.",
names: ["pirate", "lookout"],
locations: ["CROWS NEST"],
details: "He doesn't appear to be a very good lookout",
push_message: "You probably shouldn't wake him.",
hp: 1,
),
"GOLD COIN": (
desc: "There is a gold coin here.",
names: ["gold coin"],
locations: ["SLEEPING LOOKOUT"],
details: "It's very shiny and looks valuable.",
can_take: true,
),
})