Fit the copper pin and stop the sparks
11 / SCRIPT 3 OF 5
1. Script ID: seat_pin. Name it Seat Pin. This click belongs to Pip. It checks that she has seen the socket, lines up the named points, and switches off the sparks only after the attachment succeeds.
func run(): if ActivePlayer() != "new_character" or not IfVariable("lift_stage", 2): return
var fitted = await AttachPoints({"entityId": "link_pin", "point": "tip", "targetId": "relay_box", "targetPoint": "socket"})
if not fitted: await ShowMessage({"text": "The pin did not seat. Check both attach points."}) return
await SetVariable({"name": "lift_stage", "value": 3}) await SetObjectVisible({"entityId": "arc", "visible": false})
await ShowMessage({"text": "Pip: Pin seated. Kit, charge the reserve!"})2. Wire the loose copper piece. Select Relay Room › Scene Objects › Copper Link › Verb Actions. Set Default Verb › Use. Under Use Verb — Step 1, choose Run Visual Script › Seat Pin. Apply and save. Keep the link as a room object. This puzzle uses a click on the loose part, so the player can repair it without opening inventory.
After Pip’s click, the copper pin [1] sits on the teal cabinet. The spot where it lay on the floor is empty, and the arc has stopped.
If “The pin did not seat” appears, reopen both objects. Check that the link owns tip, the cabinet owns socket, and their scene IDs are link_pin and relay_box. The script lets Pip try again after you fix the setup and restart the preview.
