-
Notifications
You must be signed in to change notification settings - Fork 2
/
untitledHeistGame.test
851 lines (801 loc) · 14.4 KB
/
untitledHeistGame.test
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
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
# This script is meant to be run with regtest
# https://eblong.com/zarf/plotex/regtest.html
** game: ./untitledHeistGame.z5
# Each line beginning with > is a command, and everything else marks expected
# output.
#
# 1. Lines starting with "!" are negated
# 2. Lines starting with "/" are regular expressions (mostly handy for
# substring search).
# 3. Lines starting with "*" name a test suite, starting the game over from the
# beginning.
#
# For the rest of the syntax, see the URL above. In particular you may find
# >{include} testname
# syntax helpful for starting a suite of tests from the same point in the game.
#
# EXAMPLE minimal.inf TESTS
# * get/drop box
#
# A sample game which uses PunyInform.
# You are in a library.
# /empty
# !It feels so nice, standing in the box.
# > get box
# Taken.
# > drop box
# Dropped.
#
# * enter box
#
# > x box
# The box is empty.
# > enter box
# You enter the box.
# > l
# It feels so nice, standing in the box.
* loop the hallway
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> n
> e
> e
> s
> s
> s
> w
The Lobby
* scan fob twice consecutively
> scan fob
> scan fob
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> scan id
> scan id
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> scan card
> scan card
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> insert id into scanner
> insert id into scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> insert card into scanner
> insert card into scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> insert fob into scanner
> insert fob into scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> show fob to scanner
> show fob to scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> show card to scanner
> show card to scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
> undo
> undo
> undo
> show id to scanner
> show id to scanner
(first taking the Security Key Fob)
You insert the fob into the scanner.
> n
The Lobby
* insert card (fob) into scanner in Tutorial
> insert card into scanner
> take card
> insert card into scanner
You insert the fob into the scanner.
* insert id (fob) into scanner in Tutorial
> insert id into scanner
> take card
> insert id into scanner
You insert the fob into the scanner.
* show card (fob) to scanner in Tutorial
> show card to scanner
> take card
> show card to scanner
You insert the fob into the scanner.
* show id (fob) to scanner in Tutorial
> show id to scanner
> take id
> show id to scanner
You insert the fob into the scanner.
* scan fob in tutorial
> scan fob
> take fob
Taken.
> scan fob
You insert the fob into the scanner.
* get/drop key from receptionist area
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> n
> get key
You already have it.
> open drawer
You open the Receptionist's Desk, revealing a loose brass key.
> look
You can see a Receptionist's Desk (which contains a loose brass key) here.
> get key
Taken.
> drop key
Do you mean the loose brass key or the Security Key Fob?
> brass key
Dropped.
> get key
Taken.
> drop key
Do you mean the loose brass key or the Security Key Fob?
> loose brass key
Dropped.
> get key
Taken.
> drop brass key
Dropped.
* _get into o7
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> n
> open desk
> take key
> s
> w
> n
> w
You can't, since the Brass Knobbed Door is closed.
> open door
/It.* locked.
> unlock door with key
Do you mean the loose brass key or the Security Key Fob?
> brass key
You unlock the Brass Knobbed door and open it!
> w
This is a researcher's office
* test o7 with/without key
>{include} _get into o7
> e
Hallway
> close door
You close the Brass Knobbed Door.
> lock door with key
Do you mean the loose brass key or the Security Key Fob?
> brass key
You carefully close and lock the office door with the brass key.
* test terminal input
> type foo into list
That's not an object on which you can type anything.
>{include} _get into o7
> x terminal
username:
> type foo into terminal
LOGIN INCORRECT
> type jtitor into terminal
prompts you for a password.
> x terminal
password:
> type gubble into terminal
LOGIN INCORRECT
> x terminal
username:
> type jtitor into terminal then type tipler into terminal
presents you with a command prompt.
> x list
[X] Printed
> drop printout
score has just gone down by
> x list
[ ] Printed
> take printout
score has just gone up by
> x list
[X] Printed
* enter/exit all rooms
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> n
> open desk
> take key
> s
> e
> e
> w
> n
> e
> w
> n
> w
> take ladder
> e
> n
> e
> w
> w
> s
> n
> w
> n
> climb ladder
> w
> d
> e
> n
> climb ladder
> w
> e
> d
> s
> s
> w
> e
> e
> w
> s
> unlock door with brass key and open door
> w
> e
> s
> e
The Lobby
* Try to leave without the computer
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> s
There is still critical information that isn't on you! You can't leave yet.
* Try to climb into the crawlspace without the ladder
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> n
> n
> u
You cannot get up there, if only you had a some sort of step stool.
* Use the ladder to climb into the crawlspace
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> e
> n
> n
> w
> get ladder
Taken.
> e
> n
> w
> w
> s
> e
> get torch
Taken.
> w
> n
> n
> use ladder
Ladders are very straightforward devices.
> climb ladder
You climb up the ladder. However you had to leave it behind.
Dropped.
> d
> s
> e
> e
> take plant
Taken.
> get plant
You already have it.
> w
> w
> n
> u
You climb up the ladder.You couldn't possibly fit up there while carrying the large potted plant!
You climb back down.
> drop plant
Dropped.
> u
pitch
> turn on torch
Crawl Space
You climb up into a small crawl space
!You're not sure how you can use that in this location.
> d
> climb ladder
Crawl Space
* get the flashlight, plunger, and backup tape
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> e
> take flashlight
> w
> s
> s
> e
> e
> e
> plunge flashlight
without a plunger?
> take plunger
Taken.
> plunge sink
amateur plumbing
> plunge flashlight
not really what a plunger is good for
> plunge toilet
doesn't seem clogged
> w
> n
> n
> w
> take ladder
Taken.
> e
> n
> e
The floor of this room is made of the large square modular linoleum-covered panels
! One of the floor tiles has been moved aside
> n
You can't go that way
> take tile
you can't simply pry it up with your fingernails.
> lift tile with toilet plunger
You press the plunger
> undo
> plunge tile
You press the plunger
> look
The floor of this room is made of the large square modular linoleum-covered panels
One of the floor tiles has been moved aside
> d
You couldn't possibly fit
> drop ladder
Dropped.
> d
pitch dark
> turn on flashlight
You switch the flashlight on.
cramped and dusty space
> n
Dust bunnies
> turn off flashlight
> l
pitch dark
> u
server room
> take tape
> climb down
pitch dark
> u
> s
The door to the server room clicks shut behind you.
> l
IT office
* test tower and glass
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> take chair
> n
> n
> touch tower
before flashing red
> talk to tower
buzzes disapprovingly.
> say foo to tower
buzzes disapprovingly.
> l scanner
flashes red several times.
> w
The huge locked glass wall bars the way!
> e
> take screwdriver
Taken.
> w
> break wall with screwdriver
something heavier?
> break wall with chair
You shatter the glass wall
> i
!chair
> w
giant shards
Laboratory
> e
broken glass
Hallway
* test throw verb with chair
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> take chair
> n
> n
> throw chair at wall
You shatter the glass wall
> i
!chair
> w
giant shards
Laboratory
> e
broken glass
Hallway
* use potted plant to break wall
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> e
> n
> n
> n
> take plant
Taken.
> w
> w
> s
> break wall with plant
shatter
* _ready coffee card
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> e
> take screwdriver
Taken.
> w
> n
> n
The Unused Office
> take tarp
> take flathead
Taken.
> s
> e
> s
> open cabinet
> take card
Taken.
> n
> e
> s
> s
* jimmy to get hard drive
>{include} _ready coffee card
> jimmy door with coffee card
> e
> unscrew case with flathead screwdriver
You try to unscrew the phillips head screws with your flathead screwdriver, but it doesn't work. Perhaps you need a different screwdriver?
> unscrew case with phillips head screwdriver
> l
which contains Ellie's hard drive
> take hard drive
Taken.
* pick to get hard drive
>{include} _ready coffee card
> pick lock with coffee card
> e
> unscrew screws with flathead screwdriver
You try to unscrew the phillips head screws with your flathead screwdriver, but it doesn't work. Perhaps you need a different screwdriver?
> unscrew screws with phillips head screwdriver
> l
which contains Ellie's hard drive
> take hard drive
Taken.
* use ambiguous 'screwdriver' to unlock ellie's computer
>{include} _ready coffee card
> pick lock with coffee card
> e
> unscrew screws with flathead screwdriver
You try to unscrew the phillips head screws with your flathead screwdriver, but it doesn't work. Perhaps you need a different screwdriver?
> unscrew screws with screwdriver
> flathead
You try to unscrew the phillips head screws with your flathead screwdriver, but it doesn't work. Perhaps you need a different screwdriver?
> unscrew screws with screwdriver
> phillips head
> l
which contains Ellie's hard drive
> take hard drive
Taken.
* turn screws to get hard drive
>{include} _ready coffee card
> unlock door with coffee card
You unlock the office door and open it!
> undo
> open door with coffee card
You unlock the office door and open it!
> undo
> jimmy door with coffee card
You unlock the office door and open it!
> e
> turn screws with flathead screwdriver
You try to unscrew the phillips head screws with your flathead screwdriver, but it doesn't work. Perhaps you need a different screwdriver?
> turn screws with phillips head screwdriver
> l
which contains Ellie's hard drive
> take hard drive
Taken.
* External USB boot drive
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> e
> take drive
Taken.
> w
> n
> n
> take tarp
As you fold up and take the tarp you notice underneath it there was a flathead screwdriver!
> take screwdriver
Taken.
> s
> e
> n
You can't, since the Large Wooden Door is closed.
> remove pins
You try that, but
> remove pins with screwdriver
You remove the pins from the hinges of the door! The door falls forward with a loud *THUD* echoing through the halls...
> n
> switch computer
You boot the computer and are greeted by a password screen. You do not know the password to this computer so you decide to turn it off; maybe you could find a way around the password. You do remember that it is company policy to not encrypt hard drives.
> insert drive into computer
You insert the USB drive into the open port on the back of the computer.
> switch computer
The computer boots to a linux desktop, you bypassed the password! On the desktop there is a directory labeled "Secret Files". You are able to steal the information from the computer and save it onto the USB drive. After you pocket the USB drive, you must exfiltrate with this.
* Complete game run with all tasks
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> n
Receptionist's Area
> open desk
> take key
Taken.
> s
> w
> take chair
Taken.
> n
> unlock door with brass key
You unlock
> w
Research Office
> type jtitor into terminal
The system accepts
> type Tipler into terminal
The system pauses
> e
> n
> throw chair at glass
You shatter the glass wall, creating an opening to the next room!
> w
You pick your way carefully through the giant shards of glass...
> take ibm 5100
Taken.
> e
> e
IT Closet
> take all
> w
> s
> s
> e
> drop 5100
Dropped.
> e
> e
> take plunger
Taken.
> w
> n
> n
> w
The Utility Closet
> take ladder
Taken.
> e
> n
> e
> drop ladder
Dropped.
> plunge floor tile
You press the plunger
> d
> turn on flashlight
You switch the flashlight on.
> n
> u
Server Room
> take tape
Taken.
> s
IT Office
> take ladder
Taken.
> w
> w
> w
> n
The Unused Office
> take flathead
Taken.
> climb ladder
You climb up the ladder.
> w
> d
April's Office
> take april's computer
Taken.
> e
Hallway
> e
> s
> open cabinet
> take card
Taken.
> n
Hallway
> remove pins with flathead
You remove the pins
> n
> insert usb into len's computer
You insert the USB drive
> turn on len's computer
The computer boots
> s
> e
> s
> s
> jimmy door with card
> coffee card
You unlock the office door and open it!
> e
Ellie's Office
> unscrew screws with phillips head screwdriver
You unscrew the screws
> take hard drive
Taken.
> w
Hallway
> s
> w
> take 5100
Taken.
> score
You have so far scored 131
* _take tarp twice
> insert fob into scanner
> take fob
> insert fob into scanner
> n
> w
> n
> n
> e
> take drive
Taken.
> w
> n
> n
> take tarp
As you fold up and take the tarp you notice underneath it there was a flathead screwdriver!
> take screwdriver
> take tarp
While the tarp certainly is of the highest quality, you see no point in keeping it around.
* Leave & Reenter Unused Office after getting Flathead
>{include} _take tarp twice
> s
> throw flathead
> take flathead
Taken.
> n
> take flathead
You already have it.
> take tarp
While the tarp certainly is of the highest quality, you see no point in keeping it around.
> take flathead
You already have it.
* Type jtitor twice into terminal
>{include} _get into o7
> x terminal
username:
> type foo into terminal
LOGIN INCORRECT
> type jtitor into terminal
prompts you for a password.
> x terminal
password:
> type gubble into terminal
LOGIN INCORRECT
> x terminal
username:
> type jtitor into terminal then type jtitor into terminal
LOGIN INCORRECT
> type jtitor into terminal then type tipler into terminal
presents you with a command prompt.
* Easter Eggs
> damn this stupid chunk of germanium
DAMN.SV NOT FOUND
* Issue #258 test key fob name
> examine security key fob
This is a small plastic key fob with a fake name