aboutsummaryrefslogtreecommitdiff
path: root/building_guide/rooms.md
diff options
context:
space:
mode:
Diffstat (limited to 'building_guide/rooms.md')
-rw-r--r--building_guide/rooms.md10
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