forked from troglobit/adventure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
advent3.h
282 lines (282 loc) · 6.47 KB
/
advent3.h
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
const char *adventtxt3[64] = {
// 1
"/Set of keys.\n"
"/There are some keys on the ground here.\n"
"/\n",
// 2
"/Brass lantern\n"
"/There is a shiny brass lamp nearby.\n"
"/There is a lamp shining nearby.\n"
"/\n",
// 3
"/*Grate\n"
"/The grate is locked.\n"
"/The grate is open.\n"
"/\n",
// 4
"/Wicker cage\n"
"/There is a small wicker cage discarded nearby.\n"
"/\n",
// 5
"/Black rod\n"
"/A three foot black rod with a rusty star on an end lies nearby.\n"
"/\n",
// 6
"/Black rod\n"
"/A three foot black rod with a rusty mark on an end lies nearby.\n"
"/\n",
// 7
"/*Steps\n"
"/Rough stone steps lead down the pit.\n"
"/Rough stone steps lead up the dome.\n"
"/\n",
// 8
"/Little bird in cage\n"
"/A cheerful little bird is sitting here singing.\n"
"/There is a little bird in the cage.\n"
"/\n",
// 9
"/*Rusty door\n"
"/The way north is barred by a massive, rusty, iron door.\n"
"/The way north leads through a massive, rusty, iron door.\n"
"/\n",
// 10
"/Velvet pillow\n"
"/A small velvet pillow lies on the floor.\n"
"/\n",
// 11
"/*Snake\n"
"/A huge green fierce snake bars the way!\n"
"//\n",
// 12
"/*Fissure\n"
"//A crystal bridge now spans the fissure.\n"
"/The crystal bridge has vanished!\n"
"/\n",
// 13
"/*Stone tablet\n"
"/A massive stone tablet imbedded in the wall reads:\n"
"\"Congratulations on bringing light into the dark-room!\"\n"
"/\n",
// 14
"/Giant clam >Grunt!<\n"
"/There is an enormous clam here with its shell tightly closed.\n"
"/\n",
// 15
"/Giant oyster >Groan!<\n"
"/There is an enormous oyster here with its shell tightly closed.\n"
"/Interesting. There seems to be something written on the\n"
"underside of the oyster.\n"
"/\n",
// 16
"/\"Spelunker Today\"\n"
"/There are a few recent issues of \"Spelunker Today\" magazine\n"
"here.\n"
"/\n",
// 17
NULL,
// 18
NULL,
// 19
"/Tasty food\n"
"/There is tasty food here.\n"
"/\n",
// 20
"/Small bottle\n"
"/There is a bottle of water here.\n"
"/There is an empty bottle here.\n"
"/There is a bottle of oil here.\n"
"/\n",
// 21
"/Water in the bottle.\n"
"/\n",
// 22
"/Oil in the bottle\n"
"/\n",
// 23
"/*Mirror\n"
"//\n",
// 24
"/*Plant\n"
"/There is a tiny little plant in the pit, murmuring\n"
"\"Water, Water, ...\"\n"
"/The plant spurts into furious growth for a few seconds.\n"
"/There is a 12-foot-tall beanstalk stretching up out of\n"
"the pit, bellowing \"Water!! Water!!\"\n"
"/The plant grows explosively, almost filling the bottom\n"
"of the pit. \n"
"/There is a gigantic beanstalk stretching all the way\n"
"up to the hole.\n"
"/You've over-watered the plant! It's shriveling up!\n"
"It's, It's...\n"
"/\n",
// 25
"/*Phony plant\n"
"/\n"
"/The top of a 12-foot-tall beanstalk is poking up out of\n"
"the west pit.\n"
"/There is a huge beanstalk growing out of the west pit up to\n"
"the hole.\n"
"/\n",
// 26
"/*Stalactite\n"
"//\n",
// 27
"/*Shadowy figure\n"
"/The shadowy figure seems to be trying to attract your attention.\n"
"/\n",
// 28
"/Dwarf's axe\n"
"/There is a little axe here.\n"
"/There is a little axe lying beside the bear.\n"
"/\n",
// 29
"/*Cave drawings\n"
"//\n",
// 30
"/*Pirate\n"
"//\n",
// 31
"/*Dragon\n"
"/A huge green fierce dragon bars the way!\n"
"/Congratulations! You have just vanquished a dragon with\n"
"your bare hands! (Unbelievable, Isn't it?)\n"
"/The body of a huge green dead dragon is lying off to one\n"
"side.\n"
"/\n",
// 32
"/*Chasm\n"
"/A rickety wooden bridge extends across the chasm, vanishing\n"
"into the mist. A sign posted on the bridge reads:\n"
" \"Stop! Pay Troll!\"\n"
"/The wreckage of a bridge (and a dead bear) can be seen\n"
"at the bottom of the chasm.\n"
"/\n",
// 33
"/*Troll\n"
"/A burly troll stands by the bridge and insists you throw\n"
"him a treasure before you may cross.\n"
"/The troll steps out from beneath the bridge and blocks\n"
"your way.\n"
"//\n",
// 34
"/*Phony troll\n"
"/The troll is nowhere to be seen.\n"
"/\n",
// 35
"//There is a ferocious cave bear eyeing you from the far\n"
"end of the room!\n"
"/There is a gentle cave bear sitting placidly in one corner.\n"
"/There is a contented-looking bear wandering about nearby.\n"
"//\n",
// 36
"/*Message in second maze\n"
"/There is a message scrawled in the dust in a flowery script,\n"
"reading:\n"
" \"This is not the maze where the\"\n"
" \"pirate leaves his treasure chest\"\n"
"/\n",
// 37
"/*Volcano and,or Geyser\n"
"//\n",
// 38
"/*Vending machine\n"
"/There is a massive vending machine here. The instructions\n"
"on it read:\n"
" \"Drop coins here to receive fresh batteries.\"\n"
"/\n",
// 39
"/Batteries\n"
"/There are fresh batteries here.\n"
"/Some worn-out batteries have been discarded nearby.\n"
"/\n",
// 40
"/*Carpet and,or moss\n"
"//\n",
// 41
NULL,
// 42
NULL,
// 43
NULL,
// 44
NULL,
// 45
NULL,
// 46
NULL,
// 47
NULL,
// 48
NULL,
// 49
NULL,
// 50
"/Large gold nugget\n"
"/There is a large sparkling nugget of gold here!\n"
"/\n",
// 51
"/Several diamonds\n"
"/There are diamonds here!\n"
"/\n",
// 52
"/Bars of silver\n"
"/There are bars of silver here!\n"
"/\n",
// 53
"/Precious jewelry\n"
"/There is precious jewelry here!\n"
"/\n",
// 54
"/Rare coins\n"
"/There are many coins here!\n"
"/\n",
// 55
"/Treasure chest\n"
"/The pirate's treasure chest is here!\n"
"/\n",
// 56
"/Golden eggs\n"
"/There is a large nest here, full of golden eggs!\n"
"/The nest of golden eggs has vanished!\n"
"/Done!\n"
"/\n",
// 57
"/Jeweled trident\n"
"/There is a jewel-encrusted trident here!\n"
"/\n",
// 58
"/Ming vase\n"
"/There is a delicate, precious, ming vase here!\n"
"/The vase is now resting, delicately, on a velvet pillow.\n"
"/The floor is littered with worthless shards of pottery.\n"
"/The ming vase drops with a delicate crash.\n"
"/\n",
// 59
"/Egg-sized emerald\n"
"/There is an emerald here the size of a plover's egg!\n"
"/\n",
// 60
"/Platinum pyramid\n"
"/There is a platinum pyramid here, 8 inches on a side!\n"
"/\n",
// 61
"/Glistening pearl\n"
"/Off to one side lies a glistening pearl!\n"
"/\n",
// 62
"/Persian rug\n"
"/There is a persian rug spread out on the floor!\n"
"/The dragon is sprawled out on a persian rug!!\n"
"/\n",
// 63
"/Rare spices\n"
"/There are rare spices here!\n"
"/\n",
// 64
"/Golden chain\n"
"/There is a golden chain lying in a heap on the floor!\n"
"/The bear is locked to the wall with a golden chain!\n"
"/There is a golden chain locked to the wall!\n"
"/\n"
};