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

oven

Vars

openWhether or not the oven is open.
oven_loopLooping sound for the oven
smoke_stateCurrent state of smoke coming from the oven
used_trayThe tray inside of this oven, if there is one.

Procs

ItemMovedCalled when the tray is moved out of the oven in some way
add_tray_to_ovenAdds a tray to the oven, making sure the shit can get baked.
attackbyWe take the worst smoke state, so if something is burning we always know.
set_smoke_stateUpdates the smoke state to something else, setting particles if relevant

Var Details

open

Whether or not the oven is open.

oven_loop

Looping sound for the oven

smoke_state

Current state of smoke coming from the oven

used_tray

The tray inside of this oven, if there is one.

Proc Details

ItemMoved

Called when the tray is moved out of the oven in some way

add_tray_to_oven

Adds a tray to the oven, making sure the shit can get baked.

attackby

We take the worst smoke state, so if something is burning we always know.

set_smoke_state

Updates the smoke state to something else, setting particles if relevant