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

oven

Vars

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

Procs

add_tray_to_ovenAdds a tray to the oven, making sure the shit can get baked.
appears_activeUsed to determine if the oven appears active and cooking, or offline.
on_tray_movedCalled when the tray is moved out of the oven in some way
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

particle_type

Currently used particle type, if any

smoke_state

Current state of smoke coming from the oven

used_tray

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

Proc Details

add_tray_to_oven

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

appears_active

Used to determine if the oven appears active and cooking, or offline.

on_tray_moved

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

set_smoke_state

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