scottkit 1.1.0 → 1.2.0
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.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -1
- data/README.md +12 -0
- data/VERSION +1 -1
- data/data/nosferatu/.gitignore +1 -0
- data/data/nosferatu/Makefile +14 -0
- data/data/nosferatu/README +13 -0
- data/data/nosferatu/nosferatu.map +59 -0
- data/data/nosferatu/nosferatu.regression +345 -0
- data/data/nosferatu/nosferatu.sck +469 -0
- data/data/nosferatu/nosferatu.script +452 -0
- data/data/nosferatu/nosferatu.sol +104 -0
- data/data/test/adams/adv01.transcript +1 -1
- data/data/test/adams/adv01.transcript.md5 +1 -1
- data/data/test/adams/adv02.transcript +1 -1
- data/data/test/adams/adv02.transcript.md5 +1 -1
- data/data/test/adams/adv04.transcript +1 -1
- data/data/test/adams/adv04.transcript.md5 +1 -1
- data/data/test/crystal.transcript +1 -1
- data/data/test/t7.transcript +1 -1
- data/lib/scottkit/compile.rb +2 -0
- data/lib/scottkit/game.rb +5 -1
- data/lib/scottkit/play.rb +1 -1
- data/manual/reference.md +5 -1
- metadata +10 -2
@@ -0,0 +1,452 @@
|
|
1
|
+
ScottKit, a Scott Adams game toolkit in Ruby.
|
2
|
+
Release 1.2, (C) 2010-2017 Mike Taylor <mike@miketaylor.org.uk>
|
3
|
+
Distributed under the GNU software license
|
4
|
+
|
5
|
+
I'm in a tall, satin-lined wooden box.
|
6
|
+
Obvious exits: East.
|
7
|
+
|
8
|
+
Welcome to "NOSFERATU", by Mike Taylor.
|
9
|
+
Original VIC-20 BASIC version, 1982
|
10
|
+
Translation to Games::ScottAdams starting Sunday 25th November 2001
|
11
|
+
Translation to ScottKit starting Saturday 14 October 2017
|
12
|
+
This is a demo for the "ScottKit" adventure system --
|
13
|
+
See https://github.com/MikeTaylor/scottkit/
|
14
|
+
|
15
|
+
Your task is to kill the evil count Nosferatu and get back home.
|
16
|
+
Tell me what to do ? e
|
17
|
+
|
18
|
+
I'm in an empty room.
|
19
|
+
Obvious exits: North, South, East, West.
|
20
|
+
|
21
|
+
Tell me what to do ? s
|
22
|
+
|
23
|
+
I'm in a dark crypt.
|
24
|
+
Obvious exits: North, East.
|
25
|
+
I can also see: stone Sarcophagus
|
26
|
+
|
27
|
+
Tell me what to do ? e
|
28
|
+
|
29
|
+
I'm in the library.
|
30
|
+
Obvious exits: North, West.
|
31
|
+
I can also see: transylvanian Atlas, book of Magic, book of Games
|
32
|
+
|
33
|
+
Tell me what to do ? get magic
|
34
|
+
O.K.
|
35
|
+
Tell me what to do ? read magic Magic word is: 'OVYEZ'
|
36
|
+
The book says:
|
37
|
+
|
38
|
+
Magic word id: 'OVYEZ'
|
39
|
+
Tell me what to do ? drop magic
|
40
|
+
O.K.
|
41
|
+
Tell me what to do ? n
|
42
|
+
|
43
|
+
I'm on a balcony overlooking a tall cliff.
|
44
|
+
Obvious exits: South, West.
|
45
|
+
I can also see: balcony Rail
|
46
|
+
|
47
|
+
Tell me what to do ? w
|
48
|
+
|
49
|
+
I'm in an empty room.
|
50
|
+
Obvious exits: North, South, East, West.
|
51
|
+
|
52
|
+
Tell me what to do ? n
|
53
|
+
|
54
|
+
I'm in the kitchen.
|
55
|
+
Obvious exits: North, South.
|
56
|
+
I can also see: bottle of Whisky
|
57
|
+
|
58
|
+
Tell me what to do ? n
|
59
|
+
|
60
|
+
I'm in the washroom.
|
61
|
+
Obvious exits: South, East.
|
62
|
+
I can also see: locked Door, long Rope
|
63
|
+
|
64
|
+
Tell me what to do ? get rope
|
65
|
+
O.K.
|
66
|
+
Tell me what to do ? s
|
67
|
+
|
68
|
+
I'm in the kitchen.
|
69
|
+
Obvious exits: North, South.
|
70
|
+
I can also see: bottle of Whisky
|
71
|
+
|
72
|
+
Tell me what to do ? s
|
73
|
+
|
74
|
+
I'm in an empty room.
|
75
|
+
Obvious exits: North, South, East, West.
|
76
|
+
|
77
|
+
Tell me what to do ? e
|
78
|
+
|
79
|
+
I'm on a balcony overlooking a tall cliff.
|
80
|
+
Obvious exits: South, West.
|
81
|
+
I can also see: balcony Rail
|
82
|
+
|
83
|
+
Tell me what to do ? tie rope
|
84
|
+
To what (eg. to key)
|
85
|
+
Tell me what to do ? to rail
|
86
|
+
OK.
|
87
|
+
Tell me what to do ? climb rope
|
88
|
+
Tell me what to do ? get key (The scarlet kipper is a red herring)
|
89
|
+
O.K.
|
90
|
+
Tell me what to do ? climb rope
|
91
|
+
Tell me what to do ? w
|
92
|
+
|
93
|
+
I'm in an empty room.
|
94
|
+
Obvious exits: North, South, East, West.
|
95
|
+
|
96
|
+
Tell me what to do ? n
|
97
|
+
|
98
|
+
I'm in the kitchen.
|
99
|
+
Obvious exits: North, South.
|
100
|
+
I can also see: bottle of Whisky
|
101
|
+
|
102
|
+
Tell me what to do ? get whisky
|
103
|
+
O.K.
|
104
|
+
Tell me what to do ? s
|
105
|
+
|
106
|
+
I'm in an empty room.
|
107
|
+
Obvious exits: North, South, East, West.
|
108
|
+
|
109
|
+
Tell me what to do ? s
|
110
|
+
|
111
|
+
I'm in a dark crypt.
|
112
|
+
Obvious exits: North, East.
|
113
|
+
I can also see: stone Sarcophagus
|
114
|
+
|
115
|
+
Tell me what to do ? drink whisky (Otherwise the lid is too heavy to move)
|
116
|
+
OK.
|
117
|
+
Burp! It's good!
|
118
|
+
I feel stronger.
|
119
|
+
Tell me what to do ? open sarcophagus
|
120
|
+
I find something!
|
121
|
+
|
122
|
+
I'm in a dark crypt.
|
123
|
+
Obvious exits: North, East.
|
124
|
+
I can also see: stone Sarcophagus, decomposing Body, wooden Cross
|
125
|
+
|
126
|
+
Tell me what to do ? get cross (Carrying this stops the Count killing me)
|
127
|
+
O.K.
|
128
|
+
Tell me what to do ? n
|
129
|
+
|
130
|
+
I'm in an empty room.
|
131
|
+
Obvious exits: North, South, East, West.
|
132
|
+
|
133
|
+
Tell me what to do ? n
|
134
|
+
|
135
|
+
I'm in the kitchen.
|
136
|
+
Obvious exits: North, South.
|
137
|
+
|
138
|
+
Tell me what to do ? n
|
139
|
+
|
140
|
+
I'm in the washroom.
|
141
|
+
Obvious exits: South, East.
|
142
|
+
I can also see: locked Door
|
143
|
+
|
144
|
+
Tell me what to do ? open door
|
145
|
+
OK.
|
146
|
+
|
147
|
+
I'm in the washroom.
|
148
|
+
Obvious exits: South, East.
|
149
|
+
I can also see: wide open Door
|
150
|
+
|
151
|
+
Tell me what to do ? drop key
|
152
|
+
O.K.
|
153
|
+
Tell me what to do ? go door (Just "w" in the original, where a new exit opens)
|
154
|
+
Tell me what to do ? get axe
|
155
|
+
O.K.
|
156
|
+
Tell me what to do ? n
|
157
|
+
|
158
|
+
I'm in a dark shed.
|
159
|
+
Obvious exits: South.
|
160
|
+
I can also see: tall Ladder
|
161
|
+
|
162
|
+
Tell me what to do ? get ladder
|
163
|
+
O.K.
|
164
|
+
Tell me what to do ? s
|
165
|
+
|
166
|
+
I'm in a rather dark yard.
|
167
|
+
Obvious exits: North, East, West.
|
168
|
+
|
169
|
+
Tell me what to do ? w
|
170
|
+
|
171
|
+
I'm by a fishpond ...
|
172
|
+
Obvious exits: South, East.
|
173
|
+
I can also see: maneating Shark!
|
174
|
+
|
175
|
+
Tell me what to do ? s
|
176
|
+
|
177
|
+
I'm in a damp swamp.
|
178
|
+
Obvious exits: North, West.
|
179
|
+
|
180
|
+
Tell me what to do ? w
|
181
|
+
|
182
|
+
I'm on a track. To my North is a bridge over a pond.
|
183
|
+
Obvious exits: North, East, West.
|
184
|
+
|
185
|
+
Tell me what to do ? drop bottle
|
186
|
+
O.K.
|
187
|
+
Tell me what to do ? drop ladder
|
188
|
+
O.K.
|
189
|
+
Tell me what to do ? drop cross
|
190
|
+
O.K.
|
191
|
+
Tell me what to do ? n
|
192
|
+
|
193
|
+
I'm on a very flimsy bridge...
|
194
|
+
Obvious exits: North, South.
|
195
|
+
|
196
|
+
Tell me what to do ? n
|
197
|
+
|
198
|
+
I'm on a lawn to the North of a pond.
|
199
|
+
Obvious exits: North, South.
|
200
|
+
I can also see: Hut with locked door
|
201
|
+
|
202
|
+
Tell me what to do ? throw axe
|
203
|
+
At what (eg. at bus)
|
204
|
+
Tell me what to do ? at door
|
205
|
+
It shatters!
|
206
|
+
|
207
|
+
I'm on a lawn to the North of a pond.
|
208
|
+
Obvious exits: North, South.
|
209
|
+
I can also see: sharp Axe, Hut with smashed door
|
210
|
+
|
211
|
+
Tell me what to do ? go door (Just "n" in the original, where a new exit opens)
|
212
|
+
Tell me what to do ? get spade
|
213
|
+
O.K.
|
214
|
+
Tell me what to do ? s
|
215
|
+
|
216
|
+
I'm on a lawn to the North of a pond.
|
217
|
+
Obvious exits: North, South.
|
218
|
+
I can also see: sharp Axe, Hut with smashed door
|
219
|
+
|
220
|
+
Tell me what to do ? s
|
221
|
+
|
222
|
+
I'm on a very flimsy bridge...
|
223
|
+
Obvious exits: North, South.
|
224
|
+
|
225
|
+
Tell me what to do ? s
|
226
|
+
|
227
|
+
I'm on a track. To my North is a bridge over a pond.
|
228
|
+
Obvious exits: North, East, West.
|
229
|
+
I can also see: wooden Cross, empty whisky Bottle, tall Ladder
|
230
|
+
|
231
|
+
Tell me what to do ? drop spade
|
232
|
+
O.K.
|
233
|
+
Tell me what to do ? n
|
234
|
+
|
235
|
+
I'm on a very flimsy bridge...
|
236
|
+
Obvious exits: North, South.
|
237
|
+
|
238
|
+
Tell me what to do ? n
|
239
|
+
|
240
|
+
I'm on a lawn to the North of a pond.
|
241
|
+
Obvious exits: North, South.
|
242
|
+
I can also see: sharp Axe, Hut with smashed door
|
243
|
+
|
244
|
+
Tell me what to do ? get axe
|
245
|
+
O.K.
|
246
|
+
Tell me what to do ? s
|
247
|
+
|
248
|
+
I'm on a very flimsy bridge...
|
249
|
+
Obvious exits: North, South.
|
250
|
+
|
251
|
+
Tell me what to do ? s
|
252
|
+
|
253
|
+
I'm on a track. To my North is a bridge over a pond.
|
254
|
+
Obvious exits: North, East, West.
|
255
|
+
I can also see: wooden Cross, empty whisky Bottle, tall Ladder, garden Spade
|
256
|
+
|
257
|
+
Tell me what to do ? get bottle
|
258
|
+
O.K.
|
259
|
+
Tell me what to do ? w
|
260
|
+
|
261
|
+
I'm in a sunny field.
|
262
|
+
Obvious exits: North, South, East, West.
|
263
|
+
I can also see: crusifix engraved on the ground
|
264
|
+
|
265
|
+
Tell me what to do ? n
|
266
|
+
|
267
|
+
I'm west of a pond.
|
268
|
+
Obvious exits: South, West.
|
269
|
+
|
270
|
+
Tell me what to do ? w
|
271
|
+
|
272
|
+
I'm at the top of a cliff.
|
273
|
+
Obvious exits: South, East.
|
274
|
+
I can also see: inpenetrable Thicket, Sign here says: 'EXA NO FO TROHS'
|
275
|
+
|
276
|
+
Tell me what to do ? chop thicket
|
277
|
+
OK
|
278
|
+
Tell me what to do ? go thicket (Just "w" in the original, where a new exit opens)
|
279
|
+
Tell me what to do ? get water
|
280
|
+
OK
|
281
|
+
Tell me what to do ? s
|
282
|
+
|
283
|
+
I'm on a narrow ledge, East of a chasm.
|
284
|
+
Obvious exits: North.
|
285
|
+
I can also see: brick Wall, safety Match
|
286
|
+
|
287
|
+
Tell me what to do ? get match
|
288
|
+
O.K.
|
289
|
+
Tell me what to do ? n
|
290
|
+
|
291
|
+
I'm at the edge of a deep chasm.
|
292
|
+
Obvious exits: South, East.
|
293
|
+
I can also see: Fountain of youth, Hole in thicket
|
294
|
+
|
295
|
+
Tell me what to do ? e
|
296
|
+
|
297
|
+
I'm at the top of a cliff.
|
298
|
+
Obvious exits: South, East.
|
299
|
+
I can also see: mutilated thicket, SHORT OF AN AXE' is written backwards on a Sign nearby'
|
300
|
+
|
301
|
+
Tell me what to do ? s
|
302
|
+
|
303
|
+
I'm north of a rather smelly hole.
|
304
|
+
Obvious exits: North, South, East.
|
305
|
+
I can also see: brick Wall
|
306
|
+
|
307
|
+
Tell me what to do ? e
|
308
|
+
|
309
|
+
I'm in a sunny field.
|
310
|
+
Obvious exits: North, South, East, West.
|
311
|
+
I can also see: crusifix engraved on the ground
|
312
|
+
|
313
|
+
Tell me what to do ? e
|
314
|
+
|
315
|
+
I'm on a track. To my North is a bridge over a pond.
|
316
|
+
Obvious exits: North, East, West.
|
317
|
+
I can also see: wooden Cross, tall Ladder, garden Spade
|
318
|
+
|
319
|
+
Tell me what to do ? e
|
320
|
+
|
321
|
+
I'm in a damp swamp.
|
322
|
+
Obvious exits: North, West.
|
323
|
+
|
324
|
+
Tell me what to do ? n
|
325
|
+
|
326
|
+
I'm by a fishpond ...
|
327
|
+
Obvious exits: South, East.
|
328
|
+
I can also see: maneating Shark!
|
329
|
+
|
330
|
+
Tell me what to do ? e
|
331
|
+
|
332
|
+
I'm in a rather dark yard.
|
333
|
+
Obvious exits: North, East, West.
|
334
|
+
|
335
|
+
Tell me what to do ? e
|
336
|
+
|
337
|
+
I'm in the washroom.
|
338
|
+
Obvious exits: South, East.
|
339
|
+
I can also see: brass Key, wide open Door
|
340
|
+
|
341
|
+
Tell me what to do ? e
|
342
|
+
|
343
|
+
I'm in the mortuary.
|
344
|
+
Obvious exits: North, West.
|
345
|
+
I can also see: 7-pound Mallet
|
346
|
+
|
347
|
+
Tell me what to do ? n
|
348
|
+
|
349
|
+
I'm in a desolate windswept graveyard.
|
350
|
+
Obvious exits: North, South.
|
351
|
+
I can also see: newely dug open Grave, tombstone engraved: BEWARE THE WITCH
|
352
|
+
|
353
|
+
Tell me what to do ? go grave
|
354
|
+
Tell me what to do ? drop bottle
|
355
|
+
The witch drinks the water, rejuvenates, drops something, and disappears!
|
356
|
+
|
357
|
+
I'm in a dark gloomy cave.
|
358
|
+
I can also see: Hole (above me), old Lamp, whisky Bottle
|
359
|
+
|
360
|
+
Tell me what to do ? get lamp
|
361
|
+
O.K.
|
362
|
+
Tell me what to do ? go hole
|
363
|
+
Tell me what to do ? s
|
364
|
+
|
365
|
+
I'm in the mortuary.
|
366
|
+
Obvious exits: North, West.
|
367
|
+
I can also see: 7-pound Mallet
|
368
|
+
|
369
|
+
Tell me what to do ? w
|
370
|
+
|
371
|
+
I'm in the washroom.
|
372
|
+
Obvious exits: South, East.
|
373
|
+
I can also see: brass Key, wide open Door
|
374
|
+
|
375
|
+
Tell me what to do ? go door (Just "w" in the original, where a new exit opens)
|
376
|
+
Tell me what to do ? w
|
377
|
+
|
378
|
+
I'm by a fishpond ...
|
379
|
+
Obvious exits: South, East.
|
380
|
+
I can also see: maneating Shark!
|
381
|
+
|
382
|
+
Tell me what to do ? s
|
383
|
+
|
384
|
+
I'm in a damp swamp.
|
385
|
+
Obvious exits: North, West.
|
386
|
+
|
387
|
+
Tell me what to do ? w
|
388
|
+
|
389
|
+
I'm on a track. To my North is a bridge over a pond.
|
390
|
+
Obvious exits: North, East, West.
|
391
|
+
I can also see: wooden Cross, tall Ladder, garden Spade
|
392
|
+
|
393
|
+
Tell me what to do ? get spade
|
394
|
+
O.K.
|
395
|
+
Tell me what to do ? get ladder
|
396
|
+
O.K.
|
397
|
+
Tell me what to do ? w
|
398
|
+
|
399
|
+
I'm in a sunny field.
|
400
|
+
Obvious exits: North, South, East, West.
|
401
|
+
I can also see: crusifix engraved on the ground
|
402
|
+
|
403
|
+
Tell me what to do ? dig hole
|
404
|
+
I break through to an underground chamber!
|
405
|
+
|
406
|
+
I'm in a sunny field.
|
407
|
+
Obvious exits: North, South, East, West.
|
408
|
+
I can also see: Pit in the ground
|
409
|
+
|
410
|
+
Tell me what to do ? drop spade
|
411
|
+
O.K.
|
412
|
+
Tell me what to do ? e
|
413
|
+
|
414
|
+
I'm on a track. To my North is a bridge over a pond.
|
415
|
+
Obvious exits: North, East, West.
|
416
|
+
I can also see: wooden Cross
|
417
|
+
|
418
|
+
Tell me what to do ? get cross
|
419
|
+
O.K.
|
420
|
+
Tell me what to do ? w
|
421
|
+
|
422
|
+
I'm in a sunny field.
|
423
|
+
Obvious exits: North, South, East, West.
|
424
|
+
I can also see: garden Spade, Pit in the ground
|
425
|
+
|
426
|
+
Tell me what to do ? go pit
|
427
|
+
Tell me what to do ? drop ladder
|
428
|
+
O.K.
|
429
|
+
Tell me what to do ? go tunnel
|
430
|
+
|
431
|
+
I can't see. It is too dark!
|
432
|
+
|
433
|
+
Tell me what to do ? light lamp
|
434
|
+
OK
|
435
|
+
|
436
|
+
I'm in a subterranean cavern.
|
437
|
+
Obvious exits: South.
|
438
|
+
I can also see: Stalactites hanging from the ceiling
|
439
|
+
|
440
|
+
Tell me what to do ? drop match
|
441
|
+
O.K.
|
442
|
+
Tell me what to do ? throw axe
|
443
|
+
At what (eg. at bus)
|
444
|
+
Tell me what to do ? at stalactite
|
445
|
+
It shatters!
|
446
|
+
|
447
|
+
I'm in a subterranean cavern.
|
448
|
+
Obvious exits: South.
|
449
|
+
I can also see: sharp Axe, safety Match, entrance to cave
|
450
|
+
|
451
|
+
Tell me what to do ? go entrance (Just "n" in the original, where a new exit opens)
|
452
|
+
Tell me what to do ?
|
@@ -0,0 +1,104 @@
|
|
1
|
+
e
|
2
|
+
s
|
3
|
+
e
|
4
|
+
get magic
|
5
|
+
read magic Magic word is: 'OVYEZ'
|
6
|
+
drop magic
|
7
|
+
n
|
8
|
+
w
|
9
|
+
n
|
10
|
+
n
|
11
|
+
get rope
|
12
|
+
s
|
13
|
+
s
|
14
|
+
e
|
15
|
+
tie rope
|
16
|
+
to rail
|
17
|
+
climb rope
|
18
|
+
get key (The scarlet kipper is a red herring)
|
19
|
+
climb rope
|
20
|
+
w
|
21
|
+
n
|
22
|
+
get whisky
|
23
|
+
s
|
24
|
+
s
|
25
|
+
drink whisky (Otherwise the lid is too heavy to move)
|
26
|
+
open sarcophagus
|
27
|
+
get cross (Carrying this stops the Count killing me)
|
28
|
+
n
|
29
|
+
n
|
30
|
+
n
|
31
|
+
open door
|
32
|
+
drop key
|
33
|
+
go door (Just "w" in the original, where a new exit opens)
|
34
|
+
get axe
|
35
|
+
n
|
36
|
+
get ladder
|
37
|
+
s
|
38
|
+
w
|
39
|
+
s
|
40
|
+
w
|
41
|
+
drop bottle
|
42
|
+
drop ladder
|
43
|
+
drop cross
|
44
|
+
n
|
45
|
+
n
|
46
|
+
throw axe
|
47
|
+
at door
|
48
|
+
go door (Just "n" in the original, where a new exit opens)
|
49
|
+
get spade
|
50
|
+
s
|
51
|
+
s
|
52
|
+
s
|
53
|
+
drop spade
|
54
|
+
n
|
55
|
+
n
|
56
|
+
get axe
|
57
|
+
s
|
58
|
+
s
|
59
|
+
get bottle
|
60
|
+
w
|
61
|
+
n
|
62
|
+
w
|
63
|
+
chop thicket
|
64
|
+
go thicket (Just "w" in the original, where a new exit opens)
|
65
|
+
get water
|
66
|
+
s
|
67
|
+
get match
|
68
|
+
n
|
69
|
+
e
|
70
|
+
s
|
71
|
+
e
|
72
|
+
e
|
73
|
+
e
|
74
|
+
n
|
75
|
+
e
|
76
|
+
e
|
77
|
+
e
|
78
|
+
n
|
79
|
+
go grave
|
80
|
+
drop bottle
|
81
|
+
get lamp
|
82
|
+
go hole
|
83
|
+
s
|
84
|
+
w
|
85
|
+
go door (Just "w" in the original, where a new exit opens)
|
86
|
+
w
|
87
|
+
s
|
88
|
+
w
|
89
|
+
get spade
|
90
|
+
get ladder
|
91
|
+
w
|
92
|
+
dig hole
|
93
|
+
drop spade
|
94
|
+
e
|
95
|
+
get cross
|
96
|
+
w
|
97
|
+
go pit
|
98
|
+
drop ladder
|
99
|
+
go tunnel
|
100
|
+
light lamp
|
101
|
+
drop match
|
102
|
+
throw axe
|
103
|
+
at stalactite
|
104
|
+
go entrance (Just "n" in the original, where a new exit opens)
|