wearable_client_colour ![code/datums/elements/wearable_client_colour.dm 2](git.png)
An element that adds a client colour to the wearer when equipped to the right slot, under the right conditions.
Vars | |
colour_type | The typepath of the client_colour added when worn in the appropriate slot(s) |
---|---|
custom_colour | For items that want costumizable client colours |
equip_slots | The slot(s) that enable the client colour |
forced | if forced is false, we check that the user has the TRAIT_SEE_WORN_COLOURS before adding the colour. |
key_info | On examine, it'll tell which you have to press to toggle TRAIT_SEE_WORN_COLOURS. |
Var Details
colour_type ![code/datums/elements/wearable_client_colour.dm 6](git.png)
The typepath of the client_colour added when worn in the appropriate slot(s)
custom_colour ![code/datums/elements/wearable_client_colour.dm 10](git.png)
For items that want costumizable client colours
equip_slots ![code/datums/elements/wearable_client_colour.dm 8](git.png)
The slot(s) that enable the client colour
forced ![code/datums/elements/wearable_client_colour.dm 12](git.png)
if forced is false, we check that the user has the TRAIT_SEE_WORN_COLOURS before adding the colour.
key_info ![code/datums/elements/wearable_client_colour.dm 14](git.png)
On examine, it'll tell which you have to press to toggle TRAIT_SEE_WORN_COLOURS.