Modding:Colors & Object Rendering: Difference between revisions

→‎Render Part: visual example because we have the technology
m (move color table into template)
(→‎Render Part: visual example because we have the technology)
Line 25: Line 25:
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>


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>  
 
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|&amp;M^g|Like this}}!
TileColor overrides ColorString when tiles are being used.
TileColor overrides ColorString when tiles are being used.