goal
Since 0.6
Use it in a scene entity's components list as { "type": "goal", … }. The contract writes the fields flat and refuses unknown keys.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
id | string | yes | |||
labelKey | string | yes | |||
order | number | no |
Rules that can refuse it
feel/camera-target-hiddengoal-orderplay/bad-startplay/drive-hitsplay/ended-earlyplay/fell-outplay/no-goalsplay/no-responseplay/respawnedplay/softlockplay/stuckplay/timeoutplay/unknown-goalplay/untested-flowsunreachable-goal
Example
From the contract's tested fixture fixtures/contract/full20/scene.json#door.
{
"type": "goal",
"id": "door",
"labelKey": "goal.door",
"order": 2
}