closet

Vars | |
contents_pressure_protection | How close being inside of the thing provides complete pressure safety. Must be between 0 and 1! |
---|---|
contents_thermal_insulation | How insulated the thing is, for the purposes of calculating body temperature. Must be between 0 and 1! |
divable | Whether a skittish person can dive inside this closet. Disable if opening the closet causes "bad things" to happen or that it leads to a logical inconsistency. |
door_anim_angle | The maximum angle the door will be drawn at |
door_anim_squish | Vertical squish of the door |
door_anim_time | Amount of time it takes for the door animation to play |
door_hinge_x | X position of the closet door hinge |
door_obj | The overlay for the closet's door |
electronics | electronics for access |
enable_door_overlay | Controls whether a door overlay should be applied using the icon_door value as the icon state |
is_animating_door | Whether or not this door is being animated |
strong_grab | true whenever someone with the strong pull component (or magnet modsuit module) is dragging this, preventing opening |
Procs | |
after_close | Proc to override for effects after closing a door |
after_open | Proc to override for effects after opening a door |
animate_door | Animates the closet door opening and closing |
end_door_animation | Ends the door animation and removes the animated overlay |
get_door_transform | Calculates the matrix to be applied to the animated door overlay |
toggle | Toggles a closet open or closed, to the opposite state. Does not respect locked or welded states, however. |
Var Details
contents_pressure_protection

How close being inside of the thing provides complete pressure safety. Must be between 0 and 1!
contents_thermal_insulation

How insulated the thing is, for the purposes of calculating body temperature. Must be between 0 and 1!
divable

Whether a skittish person can dive inside this closet. Disable if opening the closet causes "bad things" to happen or that it leads to a logical inconsistency.
door_anim_angle

The maximum angle the door will be drawn at
door_anim_squish

Vertical squish of the door
door_anim_time

Amount of time it takes for the door animation to play
door_hinge_x

X position of the closet door hinge
door_obj

The overlay for the closet's door
electronics

electronics for access
enable_door_overlay

Controls whether a door overlay should be applied using the icon_door value as the icon state
is_animating_door

Whether or not this door is being animated
strong_grab

true whenever someone with the strong pull component (or magnet modsuit module) is dragging this, preventing opening
Proc Details
after_close
Proc to override for effects after closing a door
after_open
Proc to override for effects after opening a door
animate_door
Animates the closet door opening and closing
end_door_animation
Ends the door animation and removes the animated overlay
get_door_transform
Calculates the matrix to be applied to the animated door overlay
toggle
Toggles a closet open or closed, to the opposite state. Does not respect locked or welded states, however.