# Mission 056 played through (plans/briefs/world056.md).
wait 30
expect mission = 56
# S, the slime cave: the drink beside the start (twenty seconds unseen, untouchable), then off
# the shelf and round the cave's south and east sides past the tanks' lines (z 72, z 66) to the
# lift in its north-east corner (31, 61), where no tank's or helicopter's shot comes.
go 11.09 73.12 tol 0.1
hold 2 action
go 14.5 77.5
go 33 78
go 33 63
# North first, then west to the lift: the girder tower (32, 62) is solid in 3D (OR-0069).
go 33 61.2 tol 0.15
go 31.65 61.2 tol 0.1
face 270
# The lift: ten cells up to the deck's tongue (walk 20), off north.
lift 31 20 61 max 900
lift 31 10 61 max 900
go 31 61 tol 0.1
until y >= 19.95 max 400
go 31 59.5
expect y >= 19.95
# M, the deck (walk 20): its two eggs; the sliding platform (x 34-35 -> 39-40) over the spike
# lane boarded at its west end as it arrives, left at its east end onto the east platform.
go 28 52
go 27.5 51.2 tol 0.15
go 31 51
go 33.35 51 tol 0.1
face 90
lift 39 20 51 max 600
lift 34 20 51 max 600
go 34.6 51 tol 0.1
lift 39 20 51 max 400
go 41.3 51 tol 0.2
expect y >= 19.95
# The islands: I1's two eggs (51, 50/52), a jump up onto I2 (walk 22) at z 50, clear of its
# tank's line (z 48) and spikes (z 46), a jump over the gap (x 59) down onto I3 (walk 20).
go 50.5 51
go 51 50.3 tol 0.15
go 51 51.7 tol 0.15
go 52.3 50.5 tol 0.1
face 90
go 54 50.5 jump 2.0 tol 0.2
until ground = 1
expect y >= 21.95
go 57.6 50.5 tol 0.15
go 61 50.5 jump 2.9 tol 0.25
until ground = 1
expect y <= 20.05
# I3: its egg (61, 56) west of the tank's line (x 64, z 51-56), across that line at z 52 just
# after the tank turns at z 56, its egg (67, 51); over the gap (x 69) onto the east rim (walk 20).
go 61 55.4 tol 0.2
go 63 52 tol 0.1
near 64 20 56 0.2 max 900
go 66.5 51.6
go 67 51 tol 0.2
go 68 56.6
go 67.6 57 tol 0.1
face 90
go 70.8 57.1 jump 2.8 tol 0.25
until ground = 1
expect x >= 69.6
# V, the valley (z 64-72): the east rim's two eggs, then down the east slope a step at a time
# (walk 19 .. 13) along z 68: treasures E7 .. E2 (68 .. 58), the bottom (walk 12).
go 72 59 tol 0.2
go 73 70.5
go 73 71 tol 0.2
go 70.5 68
go 68 68 tol 0.2
go 66 68 tol 0.2
go 64 68 tol 0.2
go 62 68 tol 0.2
go 60 68 tol 0.2
go 58 68 tol 0.2
# The bottom (x 53-55) ends at 55.5: with his 18 px he stands on it from x 55.22 down.
go 54.8 68 tol 0.15
until ground = 1
expect y <= 12.05
until treasures = 6 max 120
# Up the west slope, a jump a step (13 .. 19), treasures W2 .. W7 (49 .. 39) on each step's west
# column. Tanks drive along the east columns of W3, W5, W7 (x 48, 44, 40) and fire along them:
# each is crossed at z 66 just after its tank (or the shot it fired from z 64) reaches z 72,
# well before its next shot back down the line.
go 53.4 68 tol 0.1
face 270
go 51.6 68 jump 1.4 tol 0.2
until ground = 1
go 49.2 68 jump 1.5 tol 0.2
until ground = 1
expect y >= 13.95
go 49.4 66 tol 0.1
face 270
near 48 15 72 0.2 max 900
go 47.4 66 jump 1.5 tol 0.2
until ground = 1
go 47 68 tol 0.2
go 45.3 68 jump 1.5 tol 0.2
until ground = 1
expect y >= 15.95
go 45.4 66 tol 0.1
face 270
near 44 17 72 0.2 max 900
go 43.4 66 jump 1.5 tol 0.2
until ground = 1
go 43 68 tol 0.2
go 41.3 68 jump 1.5 tol 0.2
until ground = 1
expect y >= 17.95
go 41.4 66 tol 0.1
face 270
near 40 19 72 0.2 max 900
go 39.4 66 jump 1.5 tol 0.2
until ground = 1
go 39 68 tol 0.2
expect y >= 18.95
until treasures = 12 max 120
# Back down to the arrow at the bottom (54, 12, 68), each tank's line crossed the same way.
go 39 66.5 tol 0.1
near 40 19 72 0.2 max 900
go 42.35 66.5 tol 0.1
near 44 17 72 0.2 max 900
go 46.35 66.5 tol 0.1
near 48 15 72 0.2 max 900
go 50 66.5
go 54 68 until exit = 1
until mission = 50 max 900
expect phase = Play
wait 60
