diff options
Diffstat (limited to 'data/help/color.yaml')
| -rw-r--r-- | data/help/color.yaml | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/data/help/color.yaml b/data/help/color.yaml index 12fd4a5..17410af 100644 --- a/data/help/color.yaml +++ b/data/help/color.yaml @@ -15,38 +15,38 @@ description: | color <target> off Disable color for this target entirely Color spec format (space-separated tokens): - <0-255> Foreground color (xterm-256 palette index) - bg:<0-255> Background color + <00-FF> Foreground color (xterm-256 palette index, hex) + bg:<00-FF> Background color g:<a>,<b> Gradient between two or more colors bold Bold text dim Dim text underline Underlined text Examples: - color room_name 6 bold - color fire 208 - color death 1 bold - color broadcast 214 bg:0 + color room_name 06 bold + color fire D0 + color death 01 bold + color broadcast D6 bg:00 Gradients interpolate across characters in RGB space: - color item g:196,82 Red to green - color room_name g:45,39,59 Three-stop gradient + color item g:C4,52 Red to green + color room_name g:2D,27,3B Three-stop gradient - Use 'colortable' to see all 256 colors and their indices. + Use 'colortable' to see all 256 colors and their hex codes. - Colors use the xterm-256 palette (0-255). When a player's color - mode is set to "ansi", extended colors (16-255) automatically + Colors use the xterm-256 palette (00-FF, hex). When a player's color + mode is set to "ansi", extended colors (10-FF) automatically downgrade to the nearest of the 16 standard ANSI colors. - Standard colors (0-15): - 0 black 1 red 2 green 3 yellow - 4 blue 5 magenta 6 cyan 7 white - 8-15 bright variants of the above + Standard colors (00-0F): + 00 black 01 red 02 green 03 yellow + 04 blue 05 magenta 06 cyan 07 white + 08-0F bright variants of the above Inline color tags in room descriptions: {<spec>}colored text{/} - {182 bold}mysterious vase{/} - {g:196,82}gradient text{/} + {B6 bold}mysterious vase{/} + {g:C4,52}gradient text{/} Color targets: room_name Room name headers @@ -74,6 +74,10 @@ description: | drop_message Mob loot drops credits_pickup Currency/credit messages + Map colors: + map_at The @ marker for your current room on the map + map_blocked The 'X' shown where a path is blocked + Visual tick colors: visual_tick Visual tick marker text (dim blue) visual_first_tick First tick in a numbered cycle (bright red) @@ -85,9 +89,9 @@ description: | The "color" option (option color none/ansi/xterm256) controls whether ANSI codes are emitted. "none" strips all color. - In "ansi" mode, extended palette colors (16-255) are + In "ansi" mode, extended palette colors (10-FF) are automatically downgraded to the nearest ANSI color. You can use color blocks in your prompt: - prompt {2 bold}Ready>{/} %h/%Hhp + prompt {02 bold}Ready>{/} %h/%Hhp See 'help prompt' for full prompt customization. |
