scottkit 1.4.0 → 1.5.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.
@@ -19,11 +19,14 @@ lighttime 999
19
19
  unknown1 19540
20
20
  unknown2 0
21
21
 
22
- verbgroup WALK ENTER GO RUN
23
- verbgroup LEAVE DROP
24
- verbgroup TAKE GET
25
- verbgroup OPEN UNLOCK
22
+ verbgroup GO ENTER WALK RUN
23
+ verbgroup TAKE GET G
24
+ verbgroup DROP LEAVE D
26
25
  verbgroup LOOK L
26
+ verbgroup INVENTORY I
27
+ verbgroup QUIT Q
28
+ verbgroup OPEN UNLOCK
29
+ verbgroup CHOP CUT
27
30
 
28
31
  noungroup AXE AX
29
32
 
@@ -117,7 +120,7 @@ room shed "dark shed."
117
120
  room pond "*I'm by a fishpond ..."
118
121
  exit south swamp
119
122
  exit east yard
120
- item shark "maneating Shark!"
123
+ item shark "maneating Shark!" called SHARK
121
124
 
122
125
  room swamp "damp swamp."
123
126
  exit north pond
@@ -136,8 +139,8 @@ room bridge "*I'm on a very flimsy bridge..."
136
139
  room lawn "*I'm on a lawn to the North of a pond."
137
140
  exit north hut # This exit does not exist in the original
138
141
  exit south bridge
139
- item hut "Hut with locked door"
140
- item smashed "Hut with smashed door" nowhere
142
+ item hut "hut with locked Door"
143
+ item smashed "hut with smashed Door" nowhere
141
144
 
142
145
  room hut "small hut."
143
146
  exit south lawn
@@ -186,11 +189,12 @@ room chasm "*I'm on a narrow ledge, East of a chasm."
186
189
  exit north edge
187
190
  item wall1 "brick Wall"
188
191
  item match "safety Match" called MATCH
192
+ item spentmatch "spent Match" called MATCH nowhere
189
193
 
190
194
  room edge "*I'm at the edge of a deep chasm."
191
195
  exit south chasm
192
196
  exit east cliff
193
- item water "Water of youth"
197
+ item water "Water of youth" called water
194
198
  item fountain "Fountain of youth"
195
199
  item holeinthicket "Hole in thicket"
196
200
  item bottle "whisky Bottle" called BOTTLE nowhere
@@ -232,7 +236,7 @@ occur when !flag 1
232
236
  println
233
237
  print "Your task: kill the evil count Nosferatu and return home with his bloodstone."
234
238
 
235
- action DIG when !present spade
239
+ action DIG HOLE when !present spade
236
240
  print "I'll need a spade."
237
241
 
238
242
  occur when at cavern and !flag 15
@@ -245,32 +249,47 @@ occur when at bottom and flag 15
245
249
  look # XXX should only do this when changing state
246
250
  comment "everywhere outside the bottom of the pit is light"
247
251
 
248
- occur when at underground and !carried cross
252
+ occur when here count and !carried cross
253
+ print "Nosferatu rises from his altar, and bites my neck!"
254
+ game_over
255
+
256
+ action TAKE BLOODSTONE when here count
249
257
  print "Nosferatu rises from his altar, and bites my neck!"
250
258
  game_over
251
259
 
252
260
  action TIE ROPE when !present rope
253
- print "Huh? What rope?"
261
+ print "I don't have it."
254
262
 
255
263
  action TIE ROPE
256
264
  print "To what (eg. to key)"
257
265
  set_flag 3
258
266
 
259
- action TO RAIL when flag 3 and at balcony
267
+ action TIE:
268
+ print "I can't tie a"
269
+ println_noun
270
+
271
+ action TO RAIL when carried rope and flag 3 and at balcony
260
272
  clear_flag 3
261
273
  destroy rope
274
+ continue occur 0%
262
275
  drop ropetied
263
276
  print "OK."
277
+ look
264
278
 
265
- action TO when flag 3
279
+ action TO when carried rope and flag 3
266
280
  clear_flag 3
267
- print "What a stupid concept."
281
+ print "I can't tie a rope to a"
282
+ println_noun
283
+
284
+ action TO when !carried rope and flag 3
285
+ print "I haven't got a rope."
268
286
 
269
- action TO:
270
- print "Huh?"
287
+ action GET ROPE when here ropetied
288
+ print "It's tied to a rail!"
271
289
 
272
290
  action CLIMB ROPE when here ropetied
273
291
  goto ledge
292
+ look
274
293
 
275
294
  action CLIMB ROPE when at ledge and carried kipper
276
295
  print "I'm too heavy:\nI fall!"
@@ -279,6 +298,7 @@ action CLIMB ROPE when at ledge and carried kipper
279
298
 
280
299
  action CLIMB ROPE when at ledge
281
300
  goto balcony
301
+ look
282
302
 
283
303
  action OPEN DOOR when present key and here lockeddoor
284
304
  swap lockeddoor opendoor
@@ -286,20 +306,36 @@ action OPEN DOOR when present key and here lockeddoor
286
306
  look
287
307
  comment "In the original, this created a new exit leading west, but we can't do that in the Scott Adams engine. Instead, the player must GO DOOR."
288
308
 
309
+ action OPEN DOOR when here lockeddoor
310
+ print "It's locked!"
311
+
312
+ action OPEN DOOR when present key and here hut
313
+ print "My key won't fit!"
314
+
315
+ action OPEN DOOR when here hut
316
+ print "It's locked!"
317
+
289
318
  action GO DOOR when here opendoor
290
319
  goto yard
320
+ look
291
321
 
292
322
  action GO GRAVE when here grave
293
323
  goto cave
324
+ look
294
325
 
295
- action WAIT when !here bus
326
+ action WAIT when at busstop and !here bus
296
327
  print "Time passes..."
297
328
  pause
298
329
  print "A bus arrives!"
299
330
  drop bus
331
+ look
300
332
 
301
333
  action GO BUS when here bus
302
334
  goto bus
335
+ look
336
+
337
+ action GO BUS
338
+ print "It's not here."
303
339
 
304
340
  action DROP BOTTLE when here witch and carried water
305
341
  destroy water
@@ -309,10 +345,20 @@ action DROP BOTTLE when here witch and carried water
309
345
  print "The witch drinks the water, rejuvenates, drops something, and disappears!"
310
346
  look
311
347
 
348
+ action DROP WATER when carried water and !here fountain
349
+ print "It soaks away."
350
+ destroy water
351
+
352
+ action GIVE COINS when here conductor and !present coins
353
+ print "I don't have it."
354
+
312
355
  action GIVE COINS when here conductor
313
356
  print "He takes them, the bus starts, and I'm home"
314
357
  set_flag 5
315
358
 
359
+ action GIVE: when here conductor
360
+ print "He doesn't want it."
361
+
316
362
  occur when flag 5 and carried bloodstone
317
363
  print "with Nosferatu's Bloodstone."
318
364
  print "* Congratulations *"
@@ -323,46 +369,71 @@ occur when flag 5 and !carried bloodstone
323
369
  print "without Nosferatu's Bloodstone."
324
370
  game_over
325
371
 
326
- action DIG when at field
372
+ action DIG HOLE when present crucifix
327
373
  swap crucifix pit
328
374
  print "I break through to an underground chamber!"
329
375
  look
330
376
 
377
+ action DIG HOLE when present pit
378
+ print "I've already done it!"
379
+
331
380
  action GO PIT when here pit
332
381
  goto bottom
382
+ look
383
+
384
+ action CLIMB LADDER when !here ladder
385
+ print "It's not here."
333
386
 
334
- action CLIMB LADDER when here ladder and at bottom
387
+ action CLIMB LADDER when at bottom
335
388
  goto forest
336
389
  drop ladder
390
+ look
337
391
 
338
- action CLIMB LADDER when here ladder and at inpit
392
+ action CLIMB LADDER when at inpit
339
393
  goto forest
340
394
  drop ladder
395
+ look
396
+
397
+ action CLIMB LADDER
398
+ print "not now."
399
+
400
+ action CLIMB:
401
+ print "I can't climb a"
402
+ println_noun
341
403
 
342
404
  action JUMP when at bythicket
343
405
  goto chasm
406
+ look
344
407
 
345
408
  action JUMP when at chasm
346
409
  goto bythicket
410
+ look
347
411
 
348
- action GET WATER when present emptybottle and here fountain
412
+ action GET WATER when present emptybottle and here water
349
413
  print OK
350
414
  swap emptybottle bottle
351
415
  superget water
352
416
 
417
+ action GET WATER when here water
418
+ print "I need a container."
419
+
353
420
  action POUR WATER when carried water
354
421
  print OK
355
422
  destroy water
356
423
  swap bottle emptybottle
357
424
 
358
- action THROW AXE when !present axe
359
- print "Huh? What axe?"
425
+ action THROW AXE when !carried axe
426
+ print "I don't have it."
360
427
 
361
428
  action THROW AXE
362
429
  print "At what (eg. at bus)"
363
430
  set_flag 2
364
431
 
365
- action AT DOOR when flag 2 and here hut
432
+ action THROW:
433
+ print "I can't throw a"
434
+ println_noun
435
+
436
+ action AT DOOR when carried axe and flag 2 and here hut
366
437
  clear_flag 2
367
438
  drop axe
368
439
  continue occur 0%
@@ -372,8 +443,9 @@ action AT DOOR when flag 2 and here hut
372
443
 
373
444
  action GO DOOR when here smashed
374
445
  goto hut
446
+ look
375
447
 
376
- action AT STALACTITE when flag 2 and here stalactite
448
+ action AT STALACTITE when carried axe and flag 2 and here stalactite
377
449
  clear_flag 2
378
450
  drop axe
379
451
  continue occur 0%
@@ -381,14 +453,19 @@ action AT STALACTITE when flag 2 and here stalactite
381
453
  print "It shatters!"
382
454
  look
383
455
 
384
- action AT when flag 2
456
+ action AT when carried axe and flag 2
385
457
  clear_flag 2
386
458
  drop axe
387
459
  print "OK."
388
- print "Nothing happens."
460
+ print "It bounces off."
461
+
462
+ action AT when !carried axe and flag 2
463
+ print "I need an ax."
464
+ comment "For some reason, the original uses 'ax' here rather then 'axe'."
389
465
 
390
466
  action GO ENTRANCE when here entrance
391
467
  goto underground
468
+ look
392
469
 
393
470
  action KILL COUNT when here count
394
471
  print "OK."
@@ -399,6 +476,7 @@ action KILL COUNT when here count
399
476
  action TELEPORT COFFIN
400
477
  print ">Fzing!<"
401
478
  goto coffin
479
+ look
402
480
 
403
481
  action READ BOOK
404
482
  print "Which one?"
@@ -413,17 +491,43 @@ action READ ATLAS when present atlas
413
491
  print "The book says:\n\nNear the forest is a disused cess-pit."
414
492
 
415
493
  action READ MAGIC when present magic
416
- print "The book says:\n\nMagic word id: 'OVYEZ'"
494
+ print "The book says:\n\nMagic word is: 'OVYEZ'"
417
495
 
418
496
  action READ GAMES when present games
419
497
  print "The book says:\n\nBored with this game already, huh?"
420
498
 
499
+ action READ:
500
+ print "I can't read a"
501
+ println_noun
502
+
421
503
  action DRINK WHISKY when present whisky
422
504
  print "OK."
423
505
  print "Burp! It's good!"
424
506
  print "I feel stronger."
425
507
  swap whisky emptybottle
426
508
  set_flag 4
509
+ set_counter 7
510
+
511
+ action DRINK WHISKY when present emptybottle
512
+ print "I've already done it!"
513
+
514
+ action DRINK WHISKY
515
+ print "I don't have it."
516
+
517
+ action DRINK:
518
+ print "I can't drink a"
519
+ println_noun
520
+
521
+ occur when counter_gt 1
522
+ dec_counter
523
+
524
+ occur when counter_eq 1
525
+ dec_counter
526
+ print "I feel weaker."
527
+ clear_flag 4
528
+
529
+ action OPEN SARCOPHAGUS when here sarcophagus and exists cross
530
+ print "I've already done it!"
427
531
 
428
532
  action OPEN SARCOPHAGUS when here sarcophagus and flag 4
429
533
  print "I find something!"
@@ -434,10 +538,15 @@ action OPEN SARCOPHAGUS when here sarcophagus and flag 4
434
538
  action OPEN SARCOPHAGUS when here sarcophagus
435
539
  print "The lid's too heavy!"
436
540
 
541
+ action OPEN:
542
+ print "I can't open a"
543
+ println_noun
544
+
437
545
  action GET BODY when here body
438
546
  print "It turns to dust!"
439
547
  destroy body
440
548
  drop dust
549
+ look
441
550
 
442
551
  action GET DUST when here dust
443
552
  print "It slips through my fingers"
@@ -447,29 +556,68 @@ action CHOP THICKET when carried axe and here thicket
447
556
  continue occur 0%
448
557
  swap sign1 sign2
449
558
  print "OK"
559
+ look
560
+
561
+ action CHOP THICKET when here mutilated
562
+ print "I've already done it!"
563
+
564
+ action CHOP THICKET when carried axe
565
+ print "not now."
566
+
567
+ action CHOP TREE when carried axe and here trees
568
+ print "What's the point?"
569
+
570
+ action CHOP when !carried axe
571
+ print "I need an ax."
572
+
573
+ action CHOP:
574
+ print "I can't chop a"
575
+ println_noun
450
576
 
451
577
  action GO THICKET when here mutilated
452
578
  goto edge
579
+ look
453
580
 
454
581
  action GO HOLE when here gravehole
455
582
  goto graveyard
583
+ look
456
584
 
457
585
  action GO TUNNEL when here tunnel
458
586
  goto cavern
587
+ look
588
+
589
+ action LIGHT: when present spentmatch
590
+ print "Using a SPENT match?"
591
+
592
+ action LIGHT: when !present match
593
+ print "First I need a match."
459
594
 
460
- # XXX Should require the match. Check original for message when it's missing
461
- action LIGHT LAMP when present lamp
595
+ action LIGHT LAMP when !present lamp
596
+ print "I don't have it."
597
+
598
+ action LIGHT LAMP
462
599
  swap lamp litlamp
600
+ swap match spentmatch
463
601
  print "OK"
464
602
  look
465
603
  comment "We only really want to look if it was previously dark. Can do this with flags."
466
604
 
605
+ action LIGHT:
606
+ swap match spentmatch
607
+ print "It won't burn."
608
+
467
609
  action SAY OVYEZ when here count
468
- print "OK."
469
- println_noun
470
- println
471
- print "Nosferatu vanishes in a cloud of smoke!"
472
- look
610
+ print "OK."
611
+ println_noun
612
+ println
613
+ print "Nosferatu vanishes in a cloud of smoke!"
614
+ destroy count
615
+ look
616
+
617
+ action SAY:
618
+ print "OK."
619
+ println_noun
620
+ print "Nothing happens"
473
621
 
474
622
  action HELP:
475
623
  print "You'll have to figure it out for yourself."
@@ -479,14 +627,31 @@ action EXAMINE:
479
627
  println_noun
480
628
 
481
629
  action WAIT:
630
+ print "Time passes..."
631
+ pause
482
632
  print "Nothing happens."
483
633
 
484
634
  action JUMP:
485
635
  print Wheee!
486
636
 
487
- action DIG:
637
+ action DIG HOLE:
488
638
  print "I find nothing."
489
639
 
640
+ action DIG:
641
+ print "I can only dig a hole"
642
+
490
643
  action LOOK:
491
644
  look
492
645
 
646
+ action QUIT:
647
+ game_over
648
+
649
+ action SCREAM:
650
+ print "OK."
651
+ print "`Yaaaagh!`"
652
+ print "Nothing happens."
653
+
654
+ action GET SHARK when here shark
655
+ print "He doesn't seem to be too keen on that idea: He's eating me!"
656
+ game_over
657
+