8,290
edits
m (Egocarib moved page Modding:Text Color Codes & Object Rendering to Modding:Colors & Object Rendering) |
mNo edit summary |
||
Line 24: | Line 24: | ||
= Render Part = | = Render Part = | ||
ColorString contains the foreground and (optionally) the background string for the ascii and tiles. Examples: <code>&B</code> or <code>&B^r</code> | ColorString contains the foreground and (optionally) the background string for the ascii and tiles. Examples: <code>&B</code> or <code>&B^r</code> | ||
TileColor is identical to ColorString, but applies only to tiles. If this is not specified, a tile falls back to using the ColorString. | |||
DetailColor changes the "third" color used only for tiles, not the ascii. DetailColor is always just a single character. Example: <code>g</code> | DetailColor changes the "third" color used only for tiles, not the ascii. DetailColor is always just a single character. Example: <code>g</code> | ||
Line 29: | Line 31: | ||
So <code>ColorString="&M^g"</code> would be foreground bright magenta with a background color of green, | So <code>ColorString="&M^g"</code> would be foreground bright magenta with a background color of green, | ||
{{qud char|&M^g|Like this}}! | {{qud char|&M^g|Like this}}! | ||
If you want to color an item's display name, you enter color codes directly in the display name itself, for example the beaded bracelet: | If you want to color an item's display name, you enter color codes directly in the display name itself, for example the beaded bracelet: |