diff options
| author | historia <[not public]> | 2026-06-25 15:40:48 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-25 15:40:48 -0400 |
| commit | abd612c15799f604e671e83dc7c410ed2b44185f (patch) | |
| tree | 0597ca92350de73aac2a7cf26b2f2d6595dac0cc /building_guide/rooms.md | |
| parent | 2725e2927a1595c7b100d942d1f14146252adeb7 (diff) | |
| download | thehouseoficarus-abd612c15799f604e671e83dc7c410ed2b44185f.tar.gz | |
slop refactor
Diffstat (limited to 'building_guide/rooms.md')
| -rw-r--r-- | building_guide/rooms.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/building_guide/rooms.md b/building_guide/rooms.md index e1408c5..7028393 100644 --- a/building_guide/rooms.md +++ b/building_guide/rooms.md @@ -171,17 +171,17 @@ Notes: ### Conditional room descriptions -A room can show a different description depending on the looking player's flags. -`descriptions` are checked top-to-bottom; the first whose condition passes wins, -otherwise the base `description` is used. +A room's `description` can be a plain string or a list of conditional variants. +Entries are checked top-to-bottom; the first whose condition passes wins. An +entry with no condition always matches — put it last as the fallback. ```yaml -description: "A large, empty concrete pad in the middle of the ocean." -descriptions: +description: - condition: player_flag: boarded not: true text: "A concrete pad swarming with a couple dozen anxious passengers." + - text: "A large, empty concrete pad in the middle of the ocean." ``` ### Hazardous rooms — environmental danger |
