/tg/ Station 13 - Modules - Types — Var Details - Proc Details

under

Vars

adjustedIf adjusted what style are we currently using?
alt_covers_chestFor adjusted/rolled-down jumpsuits. FALSE = exposes chest and arms, TRUE = exposes arms only
attached_accessoriesA list of all accessories attached to us.
bulge_cloth_layerWhich greyscale layer of a GAGS garment is the cloth the adaptive colour is sampled from.
bulge_printedDrawn from the garment's own print instead of the adaptive palette, while the garment keeps its default appearance.
can_adjustCan this suit be adjustd up or down to an alt style
female_sprite_flagsThe variable containing the flags for how the woman uniform cropping is supposed to interact with the sprite.
freshly_launderedHas this undersuit been freshly laundered and, as such, imparts a mood bonus for wearing
has_sensorDoes this undersuit have suit sensors in general
max_number_of_accessoriesThe max number of accessories we can have on this suit.
random_sensorDoes this undersuit spawn with a random sensor value
sensor_modeWhat is the active sensor mode of this udnersuit
vox_primalis_force_pantsVox Primalis always get generated pants for this uniform, even if a sprite exists for its state or it leaves the legs bare.
vox_short_legsGenerate shorts rather than full trousers for this uniform, for garments that stop above the knee.

Procs

adjust_to_altHelper to adjust to alt jumpsuit state
adjust_to_normalHelper to reset to normal jumpsuit state
attach_accessoryAttach the passed accessory to the clothing item
break_sensorsChange the suit sensor state to broken and update the mob's status on the global sensor list
can_toggle_sensorsChecks if the toggler is allowed to toggle suit sensors currently
dump_attachmentsHelper to remove all attachments to the passed location
get_accessory_overlaysGet a list of all accessory overlays
get_sensor_textCalled by medical scanners a simple summary of the status
get_worn_undersuit_appearancesFinish a uniform's appearance after wearer offsets, before caching and applying its overlays.
list_accessories_with_iconHelper to list out all accessories with an icon besides it, for use in examine
pop_accessoryRemoves (pops) the topmost accessory from the accessories list and puts it in the user's hands if supplied
remove_accessoryRemoves the passed accesory from our accessories list
repair_sensorsRepair the suit sensors and update the mob's status on the global sensor list. Can be called either through player action such as repairing with coil, or as part of a general fixing proc
sensor_malfunctionIf the item is being worn, a gentle reminder every 3-5 minutes that the sensors are broken
set_has_sensorChanges whether the suit sensor has a sensor, or if it's broken, etc. and handles updating mob status if applicable
set_sensor_modeChanges the active sensor mode of the suit and handles updating mob status if applicable
toggle_jumpsuit_adjustHelper to toggle the jumpsuit style, if possible Returns the new state
update_wearer_statusUpdates the sensor status and any mobs status if applicable

Var Details

adjusted

If adjusted what style are we currently using?

alt_covers_chest

For adjusted/rolled-down jumpsuits. FALSE = exposes chest and arms, TRUE = exposes arms only

attached_accessories

A list of all accessories attached to us.

bulge_cloth_layer

Which greyscale layer of a GAGS garment is the cloth the adaptive colour is sampled from.

bulge_printed

Drawn from the garment's own print instead of the adaptive palette, while the garment keeps its default appearance.

can_adjust

Can this suit be adjustd up or down to an alt style

female_sprite_flags

The variable containing the flags for how the woman uniform cropping is supposed to interact with the sprite.

freshly_laundered

Has this undersuit been freshly laundered and, as such, imparts a mood bonus for wearing

has_sensor

Does this undersuit have suit sensors in general

max_number_of_accessories

The max number of accessories we can have on this suit.

random_sensor

Does this undersuit spawn with a random sensor value

sensor_mode

What is the active sensor mode of this udnersuit

vox_primalis_force_pants

Vox Primalis always get generated pants for this uniform, even if a sprite exists for its state or it leaves the legs bare.

vox_short_legs

Generate shorts rather than full trousers for this uniform, for garments that stop above the knee.

Proc Details

adjust_to_alt

Helper to adjust to alt jumpsuit state

adjust_to_normal

Helper to reset to normal jumpsuit state

attach_accessory

Attach the passed accessory to the clothing item

break_sensors

Change the suit sensor state to broken and update the mob's status on the global sensor list

can_toggle_sensors

Checks if the toggler is allowed to toggle suit sensors currently

dump_attachments

Helper to remove all attachments to the passed location

get_accessory_overlays

Get a list of all accessory overlays

get_sensor_text

Called by medical scanners a simple summary of the status

Arguments:

get_worn_undersuit_appearances

Finish a uniform's appearance after wearer offsets, before caching and applying its overlays.

list_accessories_with_icon

Helper to list out all accessories with an icon besides it, for use in examine

pop_accessory

Removes (pops) the topmost accessory from the accessories list and puts it in the user's hands if supplied

remove_accessory

Removes the passed accesory from our accessories list

repair_sensors

Repair the suit sensors and update the mob's status on the global sensor list. Can be called either through player action such as repairing with coil, or as part of a general fixing proc

sensor_malfunction

If the item is being worn, a gentle reminder every 3-5 minutes that the sensors are broken

set_has_sensor

Changes whether the suit sensor has a sensor, or if it's broken, etc. and handles updating mob status if applicable

set_sensor_mode

Changes the active sensor mode of the suit and handles updating mob status if applicable

toggle_jumpsuit_adjust

Helper to toggle the jumpsuit style, if possible Returns the new state

update_wearer_status

Updates the sensor status and any mobs status if applicable