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/doors.md | |
| parent | 3f30fa3eec9c2e2acf9a984ccefb9529a25e688a (diff) | |
| download | thehouseoficarus-ab2597b22ccdb71116992aec78080d9858358d04.tar.gz | |
rename flags to global_flags (differentiate from player_flags)
Diffstat (limited to 'building_guide/doors.md')
| -rw-r--r-- | building_guide/doors.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/building_guide/doors.md b/building_guide/doors.md index 3756a13..358001f 100644 --- a/building_guide/doors.md +++ b/building_guide/doors.md @@ -16,7 +16,7 @@ use_interactions: not: true message: "You press the stone button. You hear grinding stone in the distance." action: - set_flags: + set_global_flags: secret_door_open: true ``` @@ -87,7 +87,7 @@ spawns: respawn_ticks: 500 ``` -Key difference: the button door uses `flag` (shared state — one player presses, everyone benefits), the key door uses `has_item` (per-player inventory check — each player needs their own key). +Key difference: the button door uses `global_flag` (shared state — one player presses, everyone benefits), the key door uses `has_item` (per-player inventory check — each player needs their own key). --- |
