closet 
Vars | |
| 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 |
| is_animating_door | Whether or not this door is being animated |
| x_shake_pixel_shift | How many pixels the closet can shift on the x axis when shaking |
| y_shake_pixel_shift | How many pixels the closet can shift on the y axes when shaking |
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 |
| check_if_shake | Check if someone is still resisting inside, and choose to either keep shaking or stop shaking the closet |
| 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 |
| handle_lock_addition | cit specific |
Var Details
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
is_animating_door 
Whether or not this door is being animated
x_shake_pixel_shift 
How many pixels the closet can shift on the x axis when shaking
y_shake_pixel_shift 
How many pixels the closet can shift on the y axes when shaking
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
check_if_shake
Check if someone is still resisting inside, and choose to either keep shaking or stop shaking the closet
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
handle_lock_addition
cit specific