Let Pip inspect the hatch
07 / THE DISCOVERY
1. Create the inspection script. Use the GDScript steps on page 7. Enter inspect_hatch for Script ID and Inspect the Hatch for Name. Paste this block, validate, apply and save.
func run(): if not IfVariable("game_completed", true): await ShowMessage({"text": "A service hatch. The latch is still."}) return if QuestState("behind_wall") == "inactive": await StartQuest({"questId": "behind_wall"}) await SetQuestHidden({"questId": "behind_wall", "hidden": false}) await SetQuestTracked({"questId": "behind_wall", "tracked": true}) await AddInventory({"itemId": "brass_sleeve"}) await ShowMessage({"text": "A brass sleeve slips out. It fits over the winding key."}) return if HasInventory("long_key"): await ShowMessage({"text": "The long key can reach this latch."}) else: await ShowMessage({"text": "Fit the brass sleeve over the winding key."})Follow one click. Before the chime, the first return ends the click with a hint. After the chime, an inactive quest starts, appears in the journal and awards one sleeve. The next click finds an active quest, so it gives a hint instead of another sleeve.
2. Attach it to an ordinary click. Open Scenes › Archive. Select Service Hatch in the lower Scene Objects list. In Verb Actions, set Default Verb to Use. Under Use Verb — Step 1 choose the action labeled Run Visual Script or Run Script. In Script, select Inspect the Hatch. Apply and save. This selector also accepts GDScripts.
[1] Set the action. [2] Select Inspect the Hatch for that action.
Try this much. Start fresh, take the round switch’s key as Kit, and Tab to Pip. If an item is selected, click Walk on the bottom bar to clear it. Then click the hatch. Wind the clock with the key and click the hatch normally again. Press I for Brass Sleeve and J for Behind the Wall.
