diff options
Diffstat (limited to 'worldbuilding_guide/rooms.md')
| -rw-r--r-- | worldbuilding_guide/rooms.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/worldbuilding_guide/rooms.md b/worldbuilding_guide/rooms.md index 95e1972..f6e74ea 100644 --- a/worldbuilding_guide/rooms.md +++ b/worldbuilding_guide/rooms.md @@ -11,6 +11,18 @@ exits: east: 3 ``` +### Inline Color Tags + +Room descriptions support inline color tags using `{spec}text{/}` syntax. Untagged text uses the `room_desc` color. + +```yaml +description: "On the table lies a {182 bold}mysterious vase{/} with a rose in it." +``` + +Tag spec format: `{<0-255> [bold] [dim] [underline]}text{/}` + +Gradients: `{g:196,82}gradient text{/}`. Multi-stop: `{g:45,39,59}three stops{/}`. + ### Exits — simple vs conditional Simple exit — always passable: |
