From ab2597b22ccdb71116992aec78080d9858358d04 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 7 Jul 2026 16:24:27 -0400 Subject: rename flags to global_flags (differentiate from player_flags) --- building_guide/behaviors.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'building_guide/behaviors.md') 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 ``` -- cgit v1.2.3