-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.properties
703 lines (675 loc) · 10.7 KB
/
tasks.properties
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
# #-sign is comment
# %-is block comment
# ?-is macro of form ?conditional?true_value: false_value
# go from mailbox, get egg, back to mailbox # (5 pts)
# 2 -> 2
load("tasks/get_egg.properties")
# go from mailbox, open window, back to mailbox # (10 pts)
# 2 -> 2
load("tasks/open_window.properties")
## go from 2 to 8 #
# 2 -> 8
load("tasks/mailbox_to_library.properties")
# go from library to cellar, drop egg, and back # (25 pts)
# 8 -> 8
load("tasks/open_cellar.properties")
## go from mailbox with egg to cellar, back to library # (35 pts)
## 2 -> 8
#load("tasks/drop_egg.properties")
## go from library to painting (4 pts)
## 8 -> 105 -> 8
load("tasks/get_painting.properties")
load("tasks/return_painting.properties")
load("tasks/stash_painting.properties")
## go to bank, get portrait and bills, go to exit # (20 pts)
## 8 -> 152 -> 8
load("tasks/get_portrait_bills.properties")
load("tasks/return_portrait_bills.properties")
load("tasks/stash_portrait_bills.properties")
## go from library to troll room, kill troll, back to library # (5 pts)
## 8->10->8
load("tasks/kill_troll.properties")
# go to skeleton, get coins and keys, unlock grate # (10 pts)
# 8->16->25->8
load("tasks/grate_and_coins.properties")
load("tasks/return_coins.properties")
load("tasks/stash_coins.properties")
## go to the carousel room (83) and take a random step
## 8->83-> (1,11,48,57,84,90,95)
load("tasks/go_to_carousel.properties")
##load("tasks/deep_canyon_to_carousel.properties")
##load("tasks/engravings_to_carousel.properties")
## go get robot, disable machine, break out sphere, return #
## 90 -> 83 -> 8
load("tasks/disable_machine.properties")
load("tasks/return_disable_machine.properties")
load("tasks/stash_necklace.properties")
load("tasks/stash_spices.properties")
load("tasks/stash_sphere.properties")
load("tasks/stash_violin.properties")
## get knife, scare cyclops, kill thief, get loot, return
## 8->101->103->8
#load("tasks/scare_cyclops.properties")
l # padding for RNG
l # padding for RNG
l
load("tasks/kill_thief.properties")
load("tasks/stash_chalice.properties")
#
### get bauble
### 8-> 33 -> 8
load("tasks/get_bauble.properties")
load("tasks/stash_egg.properties")
load("tasks/stash_bauble.properties")
load("tasks/stash_canary.properties")
### get grail, bar, trident
### 8->95->49->47->8 ##
load("tasks/get_grail_bar_trident.properties")
load("tasks/stash_bar.properties")
load("tasks/stash_grail.properties")
load("tasks/stash_trident.properties")
#
### exorcise hades
load("tasks/exorcise_hades.properties")
### open dam to drain swamp and get torch
####### Task 9a, get Coffin (3 pts) ######
## prereq:
## lamp
## dam turned off
## start(152)
## grate opened
## troll dead
## post:
## end (8)
#get lamp
#move rug
#open trapdoor
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#n # goto 37
#w # goto 38
#nw # goto 44
#get coffin # 3 pts
#extinguish lamp
#
######## Task 9b, stash Coffin (7 pts) ######
### prereq:
### lamp
### coffin
### start(152)
### grate opened
### post:
### end (8)
#light lamp
#u # goto 45
#n # goto 42
#get wire
#e # goto 39
#n # goto 40
#n # goto 41
#n # goto 47
#u # goto 52
#n # goto 50
#rub mirror # goto 51
#n # goto 55
#n # goto 95
#u # goto 96
#e # goto 97
##pray # goto 31
##extinguish lamp
##e # goto 33
##w # goto 3
##e # goto 5
##w # goto 6
##w # goto 8
##put coffin in case # 7 pts
##drop wire
# Walkthrough built partially from
#
# http://www.deblauweschicht.nl/retrogaming/resources/MainframeZork_walkthrough.txt
#
# This walk through intends to do the most atomic tasks. Each task
# will be broken down to the minimum
%
##### PART 5 ####
### (Get all kitchen and attic stuff)
### Pre: Starting in 8
### Pre: lamp is in 8
#get lamp
#e # goto 6
#get all
#u # goto 7
#light lamp
#get all
#extinguish lamp
#d # goto 6
#w # goto 8
#open sack
##get lunch
#get garlic
#drop all
##score # # Subtotal 0
## total : 66
#
##### PART 6 ####
### (Get Torch)
### Pre: Starting in 8
### Pre: lamp is in 8
### Pre: rope is in 8
### Pre: Part 4
#get lamp
#get rope
#open trap door
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1 # 5 pts
#e # goto 83 # MAZE RNG
#nw # goto 48
#e # goto 98
#n # goto 99
#n # goto 100
#get wrench
#get screwdriver
#push yellow button
#s # goto 99
#s # goto 98
#turn bolt with wrench
#drop wrench
#s # goto 48
#nw # goto 39
#n # goto 40
#get trunk # # 15 pts
#s # goto 39
#s # goto 37
#w # goto 38
#e # goto 79
#tie rope to railing
#d # goto 80
#extinguish lamp
#get torch # # 14 pts
#d # goto 81
#e # goto 10
#w # goto 9
#u # goto 8
#put trunk in case # 8 pts
#turn torch off
#drop all
##score # Subtotal 42
## total 108
#
## NOTE: Could split 10 into 2 parts - hades and trident/pump
#
##### PART 10 ####
### (Get grail, platinum bar, trident)
### Pre: Starting in 8
### Pre: lamp is in 8
### Pre: do not have grail, bar, trident
#get lamp
#open trap door
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#e # goto 83
#e # goto 95
#get grail # 2 pts
#n # goto 96
#extinguish lamp
#get bell
#e # goto 97
#get book
#get candles
#w # goto 96
#w # goto 95
#w # goto 83
#ne # goto 84
#ne # goto 49
#echo # commands in 49
#get bar # 12 pts
#n # goto 86
#e # goto 98
#n # goto 99
#get all
#s # goto 98
#s # goto 48
#s # goto 83
#se # goto 57
#e # goto 51 (mirror)
#e # goto 53 (tiny cave)
#e # goto 93 (hades)
#light match
#light candles with match
#exorcise
#e # goto 94 # 30 pts
#w # goto 93
#u # goto 53
#w # goto 51 # mirror rum,
#rub mirror # goto 50
#e # goto 52
#e # goto 47
#get trident # 4 pts
#se # goto 41
#get pump
#n # goto 47
#w # goto 52
#n # goto 50
#w # goto 56
#w # goto 58
#d # goto 9
#extinguish candles
#u # goto 8
#put trident in case # 11 pts
#put grail in case # 5 pts
#put bar in case # 10 pts
#drop all
##score # Subtotal 74
## total 354
#
#
##### PART 12 ####
### (Get Statue, emerald, gold) ##
### Pre: Starting in 8
### Pre: lamp is in 8
### Pre: do not have statue, emerald, gold
#get lamp
#get pump
#open trap door
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#e # goto 83 # NOT MAZE #
#nw # goto 48
#e # goto 98
#d # goto 106
#inflate boat with pump
#drop pump
#put stick in boat
#board boat
#launch
#d # goto 108
#d # goto 109
#w # goto 117
#disembark boat
#w # goto 118
#get shovel
#s # goto 117
#board boat
#launch
#d # goto 112
#get buoy
#w # goto 116
#disembark boat
#get stick
#open buoy
#get emerald # 5 pts
#drop buoy
#dig with shovel
#dig with shovel
#dig with shovel
#dig with shovel
#drop shovel
#get statue # 10 pts
#s # goto 115
#s # goto 120
#wave stick
#drop stick
#e # goto 121
#extinguish lamp
#e # goto 122
#get pot # 10 pts
#se # goto 123
#e # goto 124
#u # goto 125
#s # goto 34
#w # goto 32
#n # goto 4
#e # goto 5
#w # goto 6
#w # goto 8
#put statue in case # 13 pts
#put emerald in case # 10 pts
#put pot in case # 10 pts
#drop all
##score # Subtotal 58
## total 416
#
##### PART 13 ####
### (Get Coffin)
#get lamp
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#n # goto 37
#w # goto 38
#nw # goto 44
#get coffin # 3 pts
#u # goto 45
#n # goto 42
#get wire
#e # goto 39
#n # goto 40
#n # goto 41
#n # goto 47
#u # goto 52
#n # goto 50
#rub mirror # goto 51
#n # goto 55
#n # goto 95
#u # goto 96
#e # goto 97
#pray # goto 31
#extinguish lamp
#e # goto 33
#w # goto 3
#e # goto 5
#w # goto 6
#w # goto 8
#put coffin in case # 7 pts
#drop wire
##score # Subtotal 10 pts
##total 426
#
#
##### Part 14 ####
### (Get bracelet and figurine ) ##
#get lamp
#get garlic
#open trap door
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#n # goto 37
#d # goto 39
#n # goto 40
#n # goto 41
#n # goto 47
#n # goto 52
#n # goto 50
#w # goto 56
#w # goto 58
#n # goto 59
#nw # goto 60
#w # goto 78
#drop garlic # don't need
#get figurine # 5 pt
#e # goto 60
#s # goto 59
#n # goto 61
#n # goto 62
#w # goto 63
#d # goto 64
#get bracelet # 5 pt
#n # goto 63
#n # goto 62
#s # goto 61
#w # goto 59
#s # goto 58
#d # goto 9
#extinguish lamp
#u
#put bracelet in case # 3 pt
#put figurine in case # 5 pts
#drop all
##score # Subtotal 18 pts
## total 444
#
##### Part 15 ####
### (Get Diamond) ##
###
#get lamp
#get torch
#get screwdriver
#d # goto 9
#light lamp
#e # goto 10
#n # goto 1
#n # goto 37
#d # goto 39
#n # goto 40
#n # goto 41
#n # goto 47
#u # goto 52
#n # goto 50
#w # goto 56
#w # goto 58
#n # goto 59
#n # goto 61
#put screwdriver in basket
#n # goto 62
#ne # goto 66
#n # goto 69
#ne # goto 71
#nw # goto 72
#d # goto 65
#d # goto 73
#ne # got 74
#get coal
#s # goto 73
#u # goto 65
#u # goto 72
#e # goto 66
#e # goto 62
#s # goto 61
#put coal in basket
#put lamp in basket
#light torch
#lower basket
#n # goto 62
#ne # goto 66
#n # goto 69
#ne # goto 71
#nw # goto 72
#d # goto 65
#d # goto 73
#s # goto 75
#drop all
#sw # got 76 # 10pts
#get lamp
#get screwdriver
#get coal
#e # goto 77
#open lid
#put coal in lid
#close lid
#turn switch with screwdriver
#open lid
#get diamond
#drop screwdriver
#w # goto 76
#put diamond in basket
#put lamp in basket
#n # goto 75
#get torch
#n # goto 73
#u # goto 65
#u # goto 72
#e # goto 66
#e # goto 62
#s # goto 61
#raise basket
#get lamp
#extinguish lamp
#get diamond # 10 pts
#w # goto 58
#s # goto 58
#d # goto 9
#extinguish torch
#u # goto 8
#put diamond in case # 6 pts
#drop all
#score # Subtotal 26
## total 470
#
##### Part 15 ####
### (Get Card) ##
#get lamp
#get torch
#w # goto
#light lamp
#s
#u
#e
#d
#push east wall
#s
#sw
#push south wall
#n
#ne
#nw
#push south wall
#push south wall
#e
#se
#push south wall
#n
#ne
#push south wall
#get card
#push south wall
#n
#n
#n
## (Note: there is a ladder attached to this block. We want this.)
#n
#push east wall
#sw
#s
#s
#se
#ne
#push west wall
#sw
#nw
#ne
#push south wall
#e
#ne
#n
#push west wall
#nw
#push south wall
#push south wall
#ne
#se
#sw
#push west wall
#nw
#sw
#se
#push north wall
#ne
#push west wall
#sw
#push north wall
#push north wall
#nw
#u
#w
#d
#n
#e
#extinguish lamp
#put card in case
#drop all
#
#
#
#
##### Part 17 ####
#get torch
#get lamp
#get brick
#get wire
#get match
#get guidebook
#light torch
#d
#e
#n
#n
#w
#nw
#u
#throw torch at glacier
#light lamp
#w
#get ruby
#w
#s
#open receptacle
#put book in receptacle
#light match
#light book with match
#board basket
#wait
#wait
#land
#disembark basket
#tie rope to hook
#get coin
#s
#open purple book
#get stamp
##drop purple book
#n
#untie rope
#board basket
#wait
#wait
#wait
#land
#disembark basket
#tie rope to hook
#s
#put brick in hole
#put wire in brick
#light match
#light wire with match
#n
#s
##read card
#get crown
#n
#board basket
#untie rope
#close receptacle
#wait
#wait
#wait
#wait
#wait
##drop card
#disembark basket
#n
#w
#s
#n
#get torch
#light torch
#e
#s
#s
#w
#w
#u
#extinguish lamp
#put crown in case
#put coin in case
#put ruby in case
#put stamp in case
#put torch in case
#close case
#drop match
#
#get lamp
#light lamp
#w
#s
#u