Daedalus Dock - Modules - TypesVar Details - Proc Details

closet

Vars

contents_pressure_protectionHow close being inside of the thing provides complete pressure safety. Must be between 0 and 1!
contents_thermal_insulationHow insulated the thing is, for the purposes of calculating body temperature. Must be between 0 and 1!
divableWhether 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_angleThe maximum angle the door will be drawn at
door_anim_squishVertical squish of the door
door_anim_timeAmount of time it takes for the door animation to play
door_hinge_xX position of the closet door hinge
door_objThe overlay for the closet's door
electronicselectronics for access
enable_door_overlayControls whether a door overlay should be applied using the icon_door value as the icon state
is_animating_doorWhether or not this door is being animated
strong_grabtrue whenever someone with the strong pull component (or magnet modsuit module) is dragging this, preventing opening

Procs

after_closeProc to override for effects after closing a door
after_openProc to override for effects after opening a door
animate_doorAnimates the closet door opening and closing
end_door_animationEnds the door animation and removes the animated overlay
get_door_transformCalculates the matrix to be applied to the animated door overlay
toggleToggles 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.