Clothing Booth 
A vendor for purchasing clothing items using a TGUI interface that (should) allow for the easy navigation of an otherwise large pile of available stock.
Pulls the list of available stock from global.clothingbooth_catalogue, see clothingbooth_datums.dm to see how those are all generated.
Vars | |
| ambient_light | Clothing booth emits an ambient light when powered. |
|---|---|
| cash | Amount of inserted cash. |
| current_preview_direction | The direction that the preview mob is currently facing. |
| dye | Optional dye color or matrix to apply to all sold objects. |
| everything_is_free | If TRUE, don't check for account balance or inserted money. |
| last_preview_icon | Store this so we can throttle getFlatIcon calls and still have something to show |
| occupant | The current mob inside. |
| preview | Occupant preview. |
| preview_item | The item of clothing to be previewed. |
| selected_grouping | Currently selected item grouping, corresponding to the items visible on the catalogue. |
| selected_item | Currently selected item, corresponding to each individual swatch for multi-item groupings, or the single item inside of a singlet grouping. |
| show_clothing | If TRUE, show the clothing that the occupant is currently wearing on the preview. |
Procs | |
| insufficient_funds | A shame this will rarely fire, since having insufficient funds will just disable the purchase button. |
Var Details
ambient_light 
Clothing booth emits an ambient light when powered.
cash 
Amount of inserted cash.
current_preview_direction 
The direction that the preview mob is currently facing.
dye 
Optional dye color or matrix to apply to all sold objects.
everything_is_free 
If TRUE, don't check for account balance or inserted money.
last_preview_icon 
Store this so we can throttle getFlatIcon calls and still have something to show
occupant 
The current mob inside.
preview 
Occupant preview.
preview_item 
The item of clothing to be previewed.
selected_grouping 
Currently selected item grouping, corresponding to the items visible on the catalogue.
selected_item 
Currently selected item, corresponding to each individual swatch for multi-item groupings, or the single item inside of a singlet grouping.
show_clothing 
If TRUE, show the clothing that the occupant is currently wearing on the preview.
Proc Details
insufficient_funds
A shame this will rarely fire, since having insufficient funds will just disable the purchase button.