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.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/building_guide/behaviors.md b/building_guide/behaviors.md
index 8030d3d..1857681 100644
--- a/building_guide/behaviors.md
+++ b/building_guide/behaviors.md
@@ -230,7 +230,7 @@ talk:
messages:
- "\"Alright, I'll open the gate.\""
action:
- set_flags:
+ set_global_flags:
gate_open: true
options:
- text: "\"Thanks.\""
@@ -259,7 +259,7 @@ talk:
| Field | Effect |
|---|---|
-| `set_flags` | Sets world flags (global, shared by all players). |
+| `set_global_flags` | Sets global flags (global, shared by all players). |
| `set_player_flags` | Sets player-local flags (per-character, quest progress). |
| `give_item` | Gives an item to the player's inventory. |
| `take_item` | Removes an item from the player's inventory. |
@@ -538,7 +538,7 @@ use_interactions:
not: true
message: "You push the heavy iron gate open."
action:
- set_flags:
+ set_global_flags:
gate_open: true
```
@@ -549,7 +549,7 @@ use_interactions:
- item_id: dusty_tome
message: "The bookshelf slides aside, revealing a secret passage!"
action:
- set_flags:
+ set_global_flags:
secret_passage_open: true
```