Skip to reading
First Light, Part 5: The Clockmaker’s Secret

Repair it and open the service door

Edition 0.86.3.4

Part 5 of the First Light course. Add timed choices, object handoffs, an attached lantern, a pointer flashlight, a 3D inspection GUI, alternative puzzle solutions and speech presentation.

Download PDFView PDF page

08 / THE LANTERN

1. Fill in fix_lamp. Give the placed broken_lamp an ordinary click. Under Verb Actions set Default Verb › Use and Use Verb — Step 1 › Run Visual Script › Fix Lamp. Pip straightens the bent contact and the nearby amber light comes on. A second click gives a different line.

fix_lamp / PCA SCRIPT

Code example
global letter_read = false
global lamp_ready = false
Code example
if not letter_read
    show message "Pip: I should hear Nell out first."
else if lamp_ready
    show message "The wick is steady. Try the service door."
else
    set lamp_ready to true
    let lit = set_object_visible({"entityId":"bench_glow","visible":true})
    show message "Pip: Bent contact. There. The wick glows again."
end

2. Wire the blue door. Fill in enter_passage. On passage_door use the same default Use setup, this time choosing Enter Passage. Apply and save. The check keeps an unprepared player out of the dark.

enter_passage / PCA SCRIPT

Code example
global lamp_ready = false
Code example
if lamp_ready and active_player() == "new_character"
    enter room service_run
else
    show message "The passage is dark. Pip needs a working lantern."
end

First stopping point. With a new Part 5 preview, complete Part 4 and speak to Nell. Let one question time out. On the next attempt take the letter, talk again for the reminder, then click the lantern. The wick should cast light on the floor beside it.

Page 9 of 20Permalink
Go to page

Continue your 3D adventure

  1. Part 1First Light, Part 1: Your First 3D Adventure
  2. Part 2First Light, Part 2: Three Knocks
  3. Part 3First Light, Part 3: Behind the Wall
  4. Part 4First Light, Part 4: The Message in the Machine
  5. Part 5First Light, Part 5: The Clockmaker’s Secret
  6. Part 6First Light, Part 6: The Final Hour