-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_indirect-containment.a3t
127 lines (93 loc) · 3.58 KB
/
test_indirect-containment.a3t
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
Welcome to the ALAN Test Laboratories!
Here's were all the ALAN SDKs testing happens, at the hands of highly
qualified technicians. Very low salaries, prolonged work shifts,
extremely high health risks.
========================
TESTING CONTAINER LIMITS
========================
Player can carry max 3 items or 20 units of weight.
The Bag can contain max 4 items.
---------------------------------------------------
Count Limits Test Lab
This lab is for testing limits of counted items, objects in this room are
weightless. To the north lies the weight-testing lab.
There is a bag, a ball, a bottle, a box, a jar, a letter, a nail, a pie
and a stone here.
> ; ==============================================================================
> ; TESTING INDERECT CONTAINMENT COUNT-LIMITS
> ; ==============================================================================
> put BALL and BOTTLE and BOX and JAR in bag
(ball) (first taking the ball)
You put the ball into the bag.
(bottle) (first taking the bottle)
You put the bottle into the bag.
(box) (first taking the box)
You put the box into the bag.
(jar) (first taking the jar)
You put the jar into the bag.
> ; Now the bag has reached its count limit!
> put LETTER in bag
(first taking the letter)
You put the letter into the bag. The bag can't contain more than four
items!
> ; Although the Hero can carry only 3 items he can pick the bag:
> take bag
You pick up the bag.
> ; Regardless of how many items the bag contains, it counts as
> ; a single item for player limits! In fact he can pick 2 more:
> take LETTER and NAIL
(letter) You pick up the letter.
(nail) You pick up the nail.
> ; Now the Hero has reached its max carrying capacity:
> take pie
You pick up the pie. You can't carry more than three items!
> ; ------------------------------------------------------------------------------
> drop all BUT bag
(ball) You drop the ball.
(bottle) You drop the bottle.
(box) You drop the box.
(jar) You drop the jar.
(letter) You drop the letter.
(nail) You drop the nail.
> north
Weight Limits Test Lab
This lab is for testing weight limits, objects in this room weigh 10
units each. To the south lies the count-testing lab.
There is a block, a bulk, a cube, a piramid and a sphere here.
> ; ==============================================================================
> ; TESTING INDERECT CONTAINMENT ATTRIBUTE-LIMITS
> ; ==============================================================================
> ; The bag has no weight limits, but the Hero can only carry 20 weight units,
> ; which equal 2 of the objects found in this room.
> drop bag
You drop the bag.
> put BLOCK and BULK and CUBE in bag
(block) (first taking the block)
You put the block into the bag.
(bulk) (first taking the bulk)
You put the bulk into the bag.
(cube) (first taking the cube)
You put the cube into the bag.
> ; Now the bag contains 30 units of weight:
> take bag
You pick up the bag.
> ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ; BUG: The hero shouldn't be able to pick it up!
> ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drop BLOCK and BULK and CUBE
(block) You drop the block.
(bulk) You drop the bulk.
(cube) You drop the cube.
> ; But trying to put in them in the carried bag
> ; works as expected:
> put BLOCK and BULK and CUBE in bag
(block) (first taking the block)
You put the block into the bag.
(bulk) (first taking the bulk)
You put the bulk into the bag.
(cube) (first taking the cube)
You can't carry more than 20 units of weight!
> ; The third items couldn't be added because it
> ; exceed the weight limit!
>
Do you want to UNDO, RESTART, RESTORE or QUIT ?