-
Notifications
You must be signed in to change notification settings - Fork 3
Yaml Data Color Codes
The Yaml Data Color Code is a list of special text code, similar to the text replacements.
The difference with the text replacements, is that the yaml data color codes are not associated with values, but with ANSI escape codes. They are used in map zone illustrations, dialog scenes or npcs, mounts, enemies and finally items thumbnails.
These special text code all begin with a $
character, followed by a color name; that will be replaced when displayed by a color. When using a color code, it will be applied to every following characters, even ones on next lines, until you use an other code. Note that depending on the player's terminal theme/colors, colors won't be displayed the same as you. Hint: use $WHITE
to reset the color.
Text Code | Corresponding ANSI Escape Code |
---|---|
$RED |
\033[0;31m |
$DARK_RED |
\033[38;2;139;0;0m |
$GREEN |
\033[0;32m |
$DARK_GREEN |
\033[38;2;0;51;25m |
$YELLOW |
\033[38;2;255;255;0m |
$ORANGE |
\033[38;2;255;128;0m |
$BLUE |
\033[0;34m |
$DARK_BLUE |
\033[38;2;0;0;128m |
$LIGHT_BLUE |
\033[38;2;30;144;255m |
$PURPLE |
\033[0;35m |
$PINK |
\033[38;2;255;0;127m |
$CYAN |
\033[0;36m |
$WHITE |
\033[38;2;255;255;255m |
$BLACK |
\033[0;30m |
$LIGHT_BLACK |
\033[38;2;46;46;46m |
$BROWN |
\033[38;2;244;164;96m |
$TAN |
\033[38;2;210;180;140m |
$DARK_BROWN |
\033[38;2;139;69;19m |
$GRAY |
\033[1;30m |
$LIGHT_GRAY |
\033[38;2;192;192;192m |
$KHAKI |
\033[38;2;240;230;140m |
$SILVER |
\033[38;2;245;245;245m |
You can test the color codes yourself by running the following command in a terminal:
$ echo "<ANSI escape code> Test123"
This will output on your console a 'Test123' text in the color of the chosen ANSI escape code.
- Running The Game
- Gameplay Guide
- GitHub Discussions
- Building Source Code
- Game Preferences
- The Game Folder
- The World Of Bane Of Wargs
- Game Timeline Plot
- Yaml Syntax
- Creating Mods
- Creating Starts
- Creating Map Points
- Creating Enemies
- Creating Enemies Categories
- Creating Map Zones
- Creating Items
- Creating Drinks
- Writing Dialogs
- Creating Missions
- Creating Events
- Creating NPCS
- Creating Mounts
Additional Knowledge