diff options
| author | historia <[not public]> | 2026-07-09 16:09:35 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-09 16:09:35 -0400 |
| commit | b8c90886ef1f3afb8d908aac89028bd177836cae (patch) | |
| tree | 7e566a7e308e7531bbb7d6a3a39239e789f69a3c /building_guide/state.md | |
| parent | c705ae942573984784ef501bf8198f61f5206ddd (diff) | |
| download | thehouseoficarus-b8c90886ef1f3afb8d908aac89028bd177836cae.tar.gz | |
feat(admin): multi-select with shift+drag for common bulk operations
Diffstat (limited to 'building_guide/state.md')
| -rw-r--r-- | building_guide/state.md | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/building_guide/state.md b/building_guide/state.md deleted file mode 100644 index fe526bf..0000000 --- a/building_guide/state.md +++ /dev/null @@ -1,13 +0,0 @@ -## State: World vs Player - -**Global flags** (`set_global_flags`, checked with `global_flag`) are shared by every player on the server. A door opened by one player is open for everyone. A lever pulled once changes the world for all. Stored in memory (`GlobalFlagStore`) — **lost on server restart**. Numeric values are compared by coercion (int/int64/float64 are normalized), so a YAML-decoded `3` matches a code-set `int(3)`. - -**Player flags** (`set_player_flags`, checked with `player_flag`) are per-character. Quest progress, "has read the sign," "paid the toll" — these are different for each player. Saved to the character YAML and persist across logins. - -### Triggers — flag-change events - -Any flag change (world or player) can activate a **trigger** — a timed sequence of -messages, broadcasts, spawns, and further flag mutations. See `triggers.md` for -the full system. This is how you turn "player looked at the sign" into "spaceship -landed and stairs opened." - |
