diff options
Diffstat (limited to 'building_guide/conditions.md')
| -rw-r--r-- | building_guide/conditions.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/building_guide/conditions.md b/building_guide/conditions.md index 853518b..acfdf57 100644 --- a/building_guide/conditions.md +++ b/building_guide/conditions.md @@ -6,17 +6,17 @@ descriptions, and trigger value matching. ### Simple conditions -A bare `flag:` / `player_flag:` check passes when the flag is **set to a truthy +A bare `global_flag:` / `player_flag:` check passes when the flag is **set to a truthy value** (`true`, a non-zero number, a non-empty string). Add `value:` only when you need to match a specific value (e.g. a numeric quest stage). `not: true` inverts any check. ```yaml -# Check a world flag is set +# Check a global flag is set condition: flag: gate_open -# Check a world flag is NOT set +# Check a global flag is NOT set condition: flag: gate_open not: true |
