/tg/ Station 13 - Modules - TypesVar Details - Proc Details

under

Vars

accessory_overlayThe overlay of the accessory we're demonstrating. Only index 1 will show up. This is the overlay on the MOB, not the item itself.
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.
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

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
create_accessory_overlayHandles creating the worn overlay mutable appearance Only the first accessory attached is displayed (currently)
dump_attachmentsHelper to remove all attachments to the passed location
get_sensor_textCalled by medical scanners a simple summary of the status
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
toggle_jumpsuit_adjustHelper to toggle the jumpsuit style, if possible Returns the new state
update_accessory_overlayUpdates the accessory's worn overlay mutable appearance
update_wearer_statusIf the item is being worn, update the mob's status on the global sensor list

Var Details

accessory_overlay

The overlay of the accessory we're demonstrating. Only index 1 will show up. This is the overlay on the MOB, not the item itself.

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.

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

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

create_accessory_overlay

Handles creating the worn overlay mutable appearance Only the first accessory attached is displayed (currently)

dump_attachments

Helper to remove all attachments to the passed location

get_sensor_text

Called by medical scanners a simple summary of the status

Arguments:

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

Arguments:

sensor_malfunction

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

toggle_jumpsuit_adjust

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

update_accessory_overlay

Updates the accessory's worn overlay mutable appearance

update_wearer_status

If the item is being worn, update the mob's status on the global sensor list