home » builders » builder's lessons » sample objects - treasure

Sample objects - treasure

Treasure can be layered and it can be worn in any location. It can be damaged. Type armor protects better than treasure. Treasure is reserved for jewellry and crowns and the like. They layer value is different for treasure than armour. It is in Value4.

#8080
heavy gold signet ring gold~
{B0}a heavy gold Signet Ring~
{B0}A ring of gold lies here.~
~
ITEM_TYPE_TREASURE
0
CAN_WEAR_TAKE|CAN_WEAR_FINGER
QUALITY_SUPERIOR MATERIAL_GOLD COND_PERFECT SIZE_MEDIUM
0 0 0 0 LAYER_ALL 0
E
heavy signet ring gold~
It is a gold ring.
~

Note the transparent flag on the belt buckle below. Because it is worn on the belt, you want all of the items to be seen. If there is no transparent flag, then the items that layer below the buckle would not be seen when the character is looked at. Transparent flag allows for items beneath an item to be seen.

#8242
brass buckle~
{30}a brass buckle~
{30}A brass buckle catches your eye.~
~
ITEM_TYPE_TREASURE
FLAG_TRANSPARENT
CAN_WEAR_TAKE|CAN_WEAR_BELT
QUALITY_HIGH MATERIAL_BRASS COND_PERFECT SIZE_MEDIUM
0 0 0 0 LAYER_OVER 0