Skip to reading
Getting started with PCA3D

02 · The Archive (archive)

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page
On this page

R4. Clockmaker puzzle and room events

notebook > look#

1. Show Message - text = The repair order is written in a firm, careful hand.; duration = 3.2

archive_door > use#

1. If Variable - name = archive_open; equals = true

True

1. Change Scene - sceneId = archive; spawnId = entry

False

1. Show Message - text = Locked. Elias keeps a spare key in his workbench drawer.; duration = 3.2

archive_door > look#

1. Show Message - text = An iron lock guards the archive.; duration = 3.2

Room event: firstEnter#

1. Show Message - text = Elias has laid out the missing parts. The brass owl watches the reading table.; duration = 3.2

owl > use#

1. Show Message - text = The owl is a paperweight. Beneath it: a brass wheel, carefully wrapped.; duration = 3.2

2. If Variable - name = wheel_taken; equals = true

True

1. Show Message - text = You already have the wheel.; duration = 3.2

False

1. Set Variable - name = wheel_taken; value = true

2. Add Inventory - itemId = brass_wheel

3. Add Score - amount = 20

4. Set Variable - name = objective; value = Collect the bearing oil on the archive floor, then enter the clock chamber.

owl > look#

1. Show Message - text = The owl guards the one part Elias could not find.; duration = 3.2

oil_can > take#

1. If Variable - name = oil_taken; equals = true

True

1. Show Message - text = You have the oil.; duration = 3.2

False

1. Set Variable - name = oil_taken; value = true

2. Add Inventory - itemId = bearing_oil

3. Add Score - amount = 10

4. Show Message - text = The label reads: "One drop. We are fixing a clock, not frying it."; duration = 3.2

oil_can > look#

1. Show Message - text = A small tin of clean bearing oil.; duration = 3.2

Page 125 of 184Permalink
Go to page