<code>clothingbooth_item</code> datum
A purchaseable item from the clothing booth. These are the constituent parts of a broader clothingbooth_grouping
, though such groupings may - as
part of the organisational scheme of the clothing booth - contain only one item.
Vars | |
cost | Cost of the given item in credits. Can vary across several members in a clothingbooth_grouping . |
---|---|
item_path | The type path of the actual item that is for purchase. |
name | |
slot | As per clothing.dm . The preview will try to equip this item in the provided slot, so it should match up! |
swatch_background_color | Hex representation of the swatch's primary swatch color. This must be manually overridden by all items if you don't want the hideous placeholder. |
swatch_foreground_color | This will be the color of the swatch_foreground_shape specified. Manually override if a swatch_foreground_shape is defined. |
swatch_foreground_shape | The name of the foreground shape to use, defined in _std\defines\clothingbooth.dm . Only necessary if differentiating between items within a
parent clothingbooth_grouping cannot be done with background colors alone. |
Var Details
cost
Cost of the given item in credits. Can vary across several members in a clothingbooth_grouping
.
item_path
The type path of the actual item that is for purchase.
name
The name of the item as shown on swatch tooltips. If not overridden, this is generated at runtime. Generally only consider overriding when
dealing with groupings of a length greater than one.
slot
As per clothing.dm
. The preview will try to equip this item in the provided slot, so it should match up!
swatch_background_color
Hex representation of the swatch's primary swatch color. This must be manually overridden by all items if you don't want the hideous placeholder.
swatch_foreground_color
This will be the color of the swatch_foreground_shape
specified. Manually override if a swatch_foreground_shape
is defined.
swatch_foreground_shape
The name of the foreground shape to use, defined in _std\defines\clothingbooth.dm
. Only necessary if differentiating between items within a
parent clothingbooth_grouping
cannot be done with background colors alone.