Vault Cave Mouth
Vault Cave, the optional cave under Vault that the party can explore once it
comes back to the town (SceneIdVaultRevisit), with the Vambrace in a chest
and Sap, the Venus Djinni, waiting outside its far end. Its three parts are
scenes of their own, all named Vault Cave (area 31).
The way in is the passage Reveal uncovers among Vault's six gravestones, where the dog jumps once given a Bone; a ladder leads down from it. The way out is a cave mouth in the town's north-east cliff, above which the bell sent Sap.
The cave is a side trip of puzzles for Move, Frost and Whirlwind. No one speaks, and the only messages are "The door is tightly locked." and "Isaac flipped the switch."
SceneIdVaultCavePassageholds the foot of the ladder from Vault (VAULT_CAVE_PASSAGE_VAULT_REVISIT; Retreat leads there too). Its right-hand branch ends at a chest that is a Mimic (FIND_MIMIC). Its pool room has a switch on a ledge: flipping it shakes the cave and drains the pool (scVaultCaveFlipSwitch,FLAG_VAULT_CAVE_SWITCH_FLIPPED), and the water runs down into the floor of the northern room ofSceneIdVaultCaveVambrace, whichscInitdraws dry until then. Coming down the ladder from Vault again resets the switch.SceneIdVaultCaveVambraceis up the left-hand branch. In the room of two flame pillars, stone pillars with a flame burning on top, Isaac pushes or Moves the west pillar east onto the floor switch marked with a flame (scVaultCavePushSouthernPillar,scVaultCaveMoveSouthernPillar): the puzzle chime plays and the wooden gate beyond opens (FLAG_VAULT_CAVE_SOUTH_PILLAR_ON_SWITCH). North of it is the room of six puddles, where drops of water fall from the ceiling one at a time. Frost freezes a puddle into a tall ice pillar whose top Isaac can leap across, and frozen pillars make a way over the room; a drop landing on one stops on its top. Up on the room's ledge, Whirlwind blows away the ivy over the way to the Vambrace's chest (FLAG_VAULT_CAVE_IVY_BLOWN_AWAY, kept while the party stays in the cave).SceneIdVaultCaveMouthleads out to the cave mouth (VAULT_CAVE_MOUTH_VAULT_REVISIT). In its room of three flame pillars, Isaac must get the lower burning pillar north onto the floor switch below the wooden gate, past the unlit pillar in the way, while drops of water fall on a fixed beat (VaultCaveScheduleTicks). A drop that lands on the burning pillar puts its flame out (FLAG_VAULT_CAVE_NORTH_PILLAR_STRUCK), and an unlit pillar opens nothing until the room is entered again and the flame comes back.
Each room has a door that only says it is locked (scVaultCaveShowLockedDoor).
The pushes share scVaultCavePushPillarAhead, which moves the pillar the
leader faces one metatile unless another actor or the rock is in the way. The
water drops run as events started by scInit.





Events
scVaultCaveShowLockedDoor
Searching a locked door in Vault Cave.

The door is tightly locked.
"The door is tightly locked.".
scVaultCaveMoveNorthernPillar
Isaac uses Move on the lower burning pillar.

A great hand slides it a metatile, and if that puts it on the floor switch still burning, the puzzle chime plays and the wooden gate opens.
scVaultCavePushNorthernPillar
On the way to the cave mouth, Isaac pushes a pillar a metatile.

If the lower pillar reaches the floor switch below the wooden gate (metatile (16, 12)) still burning, the puzzle chime plays and the gate opens; if a drop of water has put its flame out, nothing happens.
scVaultCaveMoveUnlitPillar
Isaac uses Move on the unlit pillar just south of the floor switch.
The great hand slides it a metatile like any pillar, even onto the switch, but an unlit pillar opens nothing.
The script itself is empty: Move does the sliding.
Its code is in vault_cave.c.