Skip to reading
Getting started with PCA3D

master_clock > look

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

26. Find the parts and repair the clock

1. Show Message - text = Elias's master clock. Its open mechanism awaits a wheel and one drop of oil.; duration = 3.2

brass_wheel > brass_wheel_on_master_clock#

Targets: entity:master_clock

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

True

1. Show Message - text = The wheel is already fitted.; duration = 3.2

False

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

2. Remove Inventory - itemId = brass_wheel

3. Add Score - amount = 20

4. Show Message - text = The teeth mesh perfectly. Now the bearing needs oil.; duration = 3.2

bearing_oil > bearing_oil_on_master_clock#

Targets: entity:master_clock

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

True

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

True

1. Show Message - text = One drop was enough.; duration = 3.2

False

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

2. Add Score - amount = 10

3. Show Message - text = The bearing turns freely. Use the clock to wind it.; duration = 3.2

False

1. Show Message - text = Fit the wheel before oiling its bearing.; duration = 3.2

Check your work. Try oil before fitting the wheel. Try the clock with only the wheel fitted. Fit both parts, then open the dial. Test every failure message once; these messages are how the player learns what the game expects.

Page 69 of 184Permalink
Go to page