oven ![code/modules/food_and_drinks/machinery/oven.dm 11](git.png)
Vars | |
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. |
Procs | |
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 |
Var Details
open ![code/modules/food_and_drinks/machinery/oven.dm 29](git.png)
Whether or not the oven is open.
oven_loop ![code/modules/food_and_drinks/machinery/oven.dm 31](git.png)
Looping sound for the oven
particle_type ![code/modules/food_and_drinks/machinery/oven.dm 37](git.png)
Currently used particle type, if any
smoke_state ![code/modules/food_and_drinks/machinery/oven.dm 33](git.png)
Current state of smoke coming from the oven
used_tray ![code/modules/food_and_drinks/machinery/oven.dm 27](git.png)
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