home » builders » builder's lessons » colourising objects

Colourising objects

Refer to the lesson on colourising an area for the syntax on putting colour into an area.

The best way to get a feel for how objects should be colourised, is look at objects in the game. Look at your characters. The main thing to note is that we do not colourise the articles a different colour. We tend to make the object all one colour, unless there is reason for more than one colour. Below are some samples for colourising objects in your area:

#QQ00
sign waterdeep~
{30}a sign~
{30}A sign is here. ~
~
ITEM_TYPE_TRASH
0
0
QUALITY_AVERAGE MATERIAL_WOOD COND_VERY_GOOD SIZE_MEDIUM
0 0 0 0 0 0
E
sign waterdeep~
{00}.{30}                 ------------------------------.
{00}.{30}                |    Welcome to Waterdeep      |
{00}.{30}                |                              |
{00}.{30}                |        Created by Blythe     |
{00}.{30}                |                              |
{00}.{30}                .------------------------------.
{00}.{30}                    |  |                 |  |
{00}.{30}
~

In the object above, note the use of the 00 colour. This allows an invisible character to be placed at the start of the line. If just spaces were put in, the game would ignore them and take the first non space character it finds to the start of the line. The object below has more than one colour. The words that have to deal with the embossing on the armour are in yellow {B0}. This helps to give the impression of more than one colour on an object. None of the articles have been left a different colour.

#QQ20
black scale mail armour gold crescent embossed~
{B0}embossed {80}black scale armour~
{B0}Gold crescent embossed {80}black scale mail armour lies here. ~
~
ITEM_TYPE_ARMOR
0
CAN_WEAR_TAKE|CAN_WEAR_BODY
QUALITY_AVERAGE MATERIAL_METAL COND_PERFECT SIZE_MEDIUM
0 0 LAYER_ARMOR ARMOR_TYPE_SCALE_MAIL 0 0
E
black scale mail armour gold crescent embossed~
{80}It is a black scale mail armour {B0}embossed with an upturned gold
crescent moon {70}surrounded by 9 silver stars.
~