diff options
Diffstat (limited to 'worldbuilding_guide/objects.md')
| -rw-r--r-- | worldbuilding_guide/objects.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worldbuilding_guide/objects.md b/worldbuilding_guide/objects.md index 94aead7..6929606 100644 --- a/worldbuilding_guide/objects.md +++ b/worldbuilding_guide/objects.md @@ -4,6 +4,7 @@ Object defined — links to a behavior: ```yaml id: copper_rock name: copper rock +color: "178" # xterm-256 color index (0-255) behavior: mine_copper ``` @@ -11,9 +12,12 @@ Tree object: ```yaml id: oak_tree name: oak tree +color: "113" behavior: chop_oak ``` +Color accepts xterm-256 indices with optional modifiers (`bold`, `dim`, `underline`) and gradients (`g:196,82`). In ANSI mode, extended colors downgrade to the nearest ANSI color. + Hidden object — doesn't appear in room's object list, only discoverable via description or experimentation: ```yaml id: iron_gate |
