Run the script when the key fits
06 / HOOK IT UP
1. Open the existing rule. Select Scenes › Archive in the upper database. In the lower Scene Objects list, select the placed Clock. In the Inspector, open Inventory Actions. Look for Inventory Interaction 1. Its allowed item should still be Winding Key or its ID, new_item.
2. Replace the first action. In that same rule, open the action menu under Result Action — Step 1. Change Cutscene: Start to the script-running action. The field can read Run Visual Script or Run Script. In the Script selector, choose Wind the Clock (wind_clock). Keep one result action. The script now decides when the cutscene plays.
[1] Keep the winding key as the allowed item. [2] Run the script. [3] Choose Wind the Clock.
3. Update what an ordinary click says. Click Apply Changes before switching tabs. Under Verb Actions › Use Verb — Step 1, keep Show Message and change the text to A brass keyhole sits just below the clock face. Apply and save. That description still makes sense after the clock has been wound.
Listen for the difference. In play, have Kit collect the key and Tab to Pip. Press I, select Winding Key, close inventory if needed, and click the clock. After the chime comes the line about three knocks. Select the key again and click the clock a second time. This time there should be one line and a still camera.
The first visit ends with a new clue. The original three-second cutscene still does the camera work.
