aboutsummaryrefslogtreecommitdiff
path: root/building_guide/behaviors.md
diff options
context:
space:
mode:
Diffstat (limited to 'building_guide/behaviors.md')
-rw-r--r--building_guide/behaviors.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/building_guide/behaviors.md b/building_guide/behaviors.md
index 3063677..26c12ec 100644
--- a/building_guide/behaviors.md
+++ b/building_guide/behaviors.md
@@ -479,10 +479,10 @@ talk:
### Interaction Reference
The unified **Trigger** shape is the shared wrapper used by every event block: `on_use`,
-`on_look`, `on_kill`, `on_traverse`, `on_enter`, `on_exit`, `on_flag_change`,
-`on_global_flag_change`, and global trigger files (`data/triggers/*.yaml`). When a block's
-list of Triggers is evaluated, the first whose filters pass fires and its `steps` run as a
-scripted sequence (first-match-wins).
+`on_look`, `on_kill`, `on_traverse`, `on_enter`, `on_exit`, and flag-trigger files under
+`data/triggers/player_flag/` or `data/triggers/global_flag/` (`on_player_flag` /
+`on_global_flag`). When a block's list of Triggers is evaluated, the first whose filters
+pass fires and its `steps` run as a scripted sequence (first-match-wins).
| Field | Scope | Description |
|-------|-------|-------------|
@@ -490,8 +490,8 @@ scripted sequence (first-match-wins).
| `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). |
| `steps` | all | Ordered list of Step entries run as a scripted sequence. |
-| `on_player_flag` | on_flag_change only | Player flag this trigger watches. |
-| `on_global_flag` | on_global_flag_change only | Global flag this trigger watches. |
+| `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