aboutsummaryrefslogtreecommitdiff
path: root/building_guide/behaviors.md
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-07 16:24:27 -0400
committerhistoria <[not public]>2026-07-07 16:24:27 -0400
commitab2597b22ccdb71116992aec78080d9858358d04 (patch)
tree8beae4060c2831c4a68f92b682b5350cfa1d0afb /building_guide/behaviors.md
parent3f30fa3eec9c2e2acf9a984ccefb9529a25e688a (diff)
downloadthehouseoficarus-ab2597b22ccdb71116992aec78080d9858358d04.tar.gz
rename flags to global_flags (differentiate from player_flags)
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
```