Give both rooms the same two numbers
02 / SHARED PROGRESS
Kit can throw a switch in Gatehouse while Relay Room is unloaded. The game needs somewhere to remember that click. Store it in a project variable so Pip can read it when her room opens.
1. Create two variables. Choose Adventure Database › Add › Variable. Set the first record as shown below, click Apply Changes, then add the second. Select Number, leave Leave Blank At Start off and enter 0 for both starting values.
| Variable ID | Name | What the number remembers |
|---|---|---|
| lift_stage | Lift Stage | How far the pair have got with the repair. |
| lift_seconds | Lift Seconds | Seconds of usable power left in Kit’s reserve. |
[1] Variable ID. [2] Number. [3] Starting value. “Lift Seconds” is the friendly name shown in the editor.
2. Read the stage numbers once. Start them at zero. The scripts will change them during play. The reserve can run out at stage 3 without undoing Pip’s repair.
| lift_stage | What the player sees |
|---|---|
| 0 | The lift has no feed. Kit’s breaker waits for the HELP discovery. |
| 1 | Kit has turned on the feed. The close-up is waiting for Pip. |
| 2 | Pip has seen the socket. The loose copper pin can now be fitted. |
| 3 | The pin is seated. Kit can charge the reserve and Pip can release the lift. |
| 4 | Nell is free. Going back into the room leaves the shutter open. |
