under
Vars | |
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 |
Procs | |
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 |
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 |
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 |
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:
- silent: If TRUE, will return blank if everything is fine
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:
- attacking_item - the item being used for the repair, if any
- user - mob that's doing the repair
- cable_required - set to FALSE to bypass consuming cable coil
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