# Mission 113 played through (plans/briefs/world113.md): the loop through the panel to the one
# treasure in its cage and back over the high way to the exit beside the spawn.
wait 30
expect mission = 113
# The gallery (walk 20, z 49-51): four pits of lava, a small lift in each carrying him three
# cells east (lane z 51: mines hang over z 50 above the last two), a cell of floor between.
go 13 51
go 14.3 51 tol 0.1
lift 15 20 51 max 600
go 15 51 tol 0.15
lift 18 20 51 max 300
go 19 51 tol 0.15
go 19.3 51 tol 0.1
lift 20 20 51 max 600
go 20 51 tol 0.15
lift 23 20 51 max 300
go 24 51 tol 0.15
go 24.3 51 tol 0.1
lift 25 20 51 max 600
go 25 51 tol 0.15
lift 28 20 51 max 300
go 29 51 tol 0.15
go 29.3 51 tol 0.1
lift 30 20 51 max 600
go 30 51 tol 0.15
lift 33 20 51 max 300
go 34 51 tol 0.15
# The bar over the last pit (x 35-39, z 50, one wide), a mine hanging at each end (x 34 and 40,
# y 22): a running jump from the floor's edge catches it clear of the first; hanging, east along
# it; let go short of its end (Down held 5 ticks: hanging, he touches anything in the bar's row
# within 0.44; jumping off, he would hit the ceiling and catch the bar again), he drops below the
# second mine's reach and on onto the floor (x 40).
go 34.3 50 tol 0.1
face 90
go 36 50 jump 1.6 tol 0.3
wait 20
expect y >= 21.9
go 38.8 50 tol 0.08
hold 18 crouch
go 40.3 50 tol 0.15 max 300
until ground = 1
expect x >= 39.6
# The first curtain of lightning (x 41), just after a strike.
go 40.3 50 tol 0.1
until blitz = 52 max 400
go 42.6 50
# The ferry over the pit of lava (lifts 2 x 3 at x 44-45, eight cells east).
go 43.3 50 tol 0.1
lift 44 20 50 max 900
go 44.5 50 tol 0.15
lift 52 20 50 max 600
go 54.5 50
# The pool (x 62-67): swum across at the surface in lane z 52 (the fish along z 50, two below),
# out onto the far bank.
go 61.4 52 tol 0.1
go 67.6 52 tol 0 with lookup until x >= 67.15 max 600
face 90
hold 8 up jump
hold 30 up
until ground = 1
expect x >= 67.9
# The shaft's lift (2 x 2 at x 71-72, z 49-50) down to the low passage (walk 10).
go 70.3 49.5 tol 0.1
lift 71 10 49 max 900
lift 71 20 49 max 900
go 71.5 49.5 tol 0.15
until y <= 10.1 max 600
# The low passage (z 49-51): its curtain of lightning (x 79) just after a strike, its mines
# (82, 49) and (84, 51) passed on the far side of each.
go 75 50
go 77.6 50 tol 0.1
until blitz = 52 max 400
go 80.5 51 tol 0.2
go 82 51 tol 0.2
go 84 49 tol 0.2
go 85 49.2 tol 0.2
# The cage (walk 10): from the room's north strip (z 52) onto the north bridge as it lies at
# z 53, carried to z 54 beside the pillar, onto the pillar and its treasure (85, 56).
go 85 52.3 tol 0.1
lift 85 10 53 max 900
go 85 53 tol 0.15
lift 85 10 54 max 300
go 85 55.5 tol 0.15
go 85 56 until treasures = 1 max 300
until treasures = 1 max 200
# Off the pillar west onto the west bridge as it lies against it (x 83), carried to x 81, onto
# the room's west strip; along the shaft's floor to the lift up from x 77 (z 55-57) to the high
# way (walk 28).
go 84 56 tol 0.15
lift 83 10 56 max 900
go 83 56 tol 0.15
lift 81 10 56 max 300
go 79.6 56 tol 0.15
go 78.3 56 tol 0.1
lift 77 10 56 max 900
go 77 56 tol 0.15
until y >= 27.9 max 900
# The high way west (walk 28, z 55-57): its windy stretch (x 62-70, one wide at z 56) under the
# fan (x 70, upper row) to x 68, a jump up to the bars (top row, x 63-68) beyond the fan's mouth,
# hand over hand west over the two mines (64, 66), let go past them (the wind carries him on);
# the mine (60, 55) in lane z 57, the egg (50, 56), the third curtain (x 40) just after a strike,
# the mines (30, 57) and (20, 56) in lane z 55.
go 72 56 tol 0.15
go 68.2 56 tol 0.08
face 270
hold 4 jump
wait 20
expect y >= 29.9
go 62.7 56 tol 0.08
hold 18 crouch
until ground = 1
expect y <= 28.05
expect x <= 63.2
go 61 57
go 51 56
go 41.7 56 tol 0.1
until blitz = 52 max 400
go 38.5 56
go 31 55
go 21 55
go 12 55.5
# The hole at its west end (x 8-10) down beside the start ledge, onto the ledge, the exit.
go 9 56
until ground = 1
go 9 52.5
until ground = 1
expect y <= 20.1
go 7 48 until exit = 1 max 600
until mission = 110 max 900
expect phase = Play
wait 60
