diff options
Diffstat (limited to 'building_guide/behaviors.md')
| -rw-r--r-- | building_guide/behaviors.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/building_guide/behaviors.md b/building_guide/behaviors.md index 26c12ec..976ba3d 100644 --- a/building_guide/behaviors.md +++ b/building_guide/behaviors.md @@ -488,20 +488,20 @@ pass fires and its `steps` run as a scripted sequence (first-match-wins). |-------|-------|-------------| | `lock` | all | `true` = atomic (player can only `quit`) + resumable on reconnect. Default `false` = interruptable, not persisted. | | `item_id` | on_use/on_look/on_kill | `on_use`: required item (`use <item> on <obj>`); empty = bare `use <obj>`. `on_look`: only fires if carrying this item. `on_kill`: only fires if wielding this weapon. | -| `condition` | all | Optional Trigger-level gate (Condition struct). | +| `condition` | all | Optional Trigger-level gate (Condition). | | `steps` | all | Ordered list of Step entries run as a scripted sequence. | | `on_player_flag` | flag-trigger files only | Player flag this trigger watches. | | `on_global_flag` | flag-trigger files only | Global flag this trigger watches. | | `value` | flag triggers | Optional value-match filter. | -Talk node/option actions still use the NodeAction shape (`action:` with the effect fields -inline) — those have not changed. +Talk node/option actions use the NodeAction shape (`action:` with the effect fields +inline). #### Step vocabulary Each Step can carry a `wait` (ticks to pause before the step fires) and any combination of the effects below. All effects on a step fire together when the wait elapses. Messages are -plain strings — neither `{message, delay}` maps nor the old `delay` field exist. +plain strings. | Field | Type | Description | |-------|------|-------------| @@ -535,7 +535,7 @@ Conditions gate a Trigger (Trigger-level `condition`) or an individual step. A b | `not` | `true` inverts the entire condition | | `has_item` | Passes when the player carries this item | | `min_credits` | Passes when the player has at least this many credits | -| `room` | **New.** Passes when the triggering player is currently in this room — use to scope flag-change triggers | +| `room` | Passes when the triggering player is currently in this room — use to scope flag-change triggers | | `all_of` | List of sub-conditions; all must pass | | `any_of` | List of sub-conditions; any one must pass | |
