diff options
| author | historia <[not public]> | 2026-07-07 16:24:27 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-07 16:24:27 -0400 |
| commit | ab2597b22ccdb71116992aec78080d9858358d04 (patch) | |
| tree | 8beae4060c2831c4a68f92b682b5350cfa1d0afb /building_guide/behaviors.md | |
| parent | 3f30fa3eec9c2e2acf9a984ccefb9529a25e688a (diff) | |
| download | thehouseoficarus-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.md | 8 |
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 ``` |
