master_clock > look
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.
