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

microwave

Vars

brokenHow broken is it? NOT_BROKEN, KINDA_BROKEN, REALLY_BROKEN
cellThe cell we charge with
cell_poweredIf we use a cell instead of powernet
dirtyHow dirty is it?
efficiencyMicrowave efficiency (power) based on the stock components
ingredient_shifts_xWhen this is the nth ingredient, whats its pixel_x?
ingredient_shifts_yWhen this is the nth ingredient, whats its pixel_y?
ingredientsMay only contain /atom/movables
max_n_of_itemsMicrowave max capacity
openMicrowave door position
pda_failureFail due to inserted PDA
vampire_cellThe cell we're charging
vampire_charging_capableCapable of vampire charging PDAs
vampire_charging_enabledCharge contents of microwave instead of cook
wire_disabledIs its function wire cut?
wire_mode_swapWire cut to run mode backwards

Procs

charge_loopThe actual cook loop started via [proc/start] or [proc/start_can_fail]
charge_loop_finishCalled when the charge_loop is done successfully, no dirty mess or whatever
cookBegins the process of cooking the included ingredients.
cook_loopThe actual cook loop started via [proc/start] or [proc/start_can_fail]
loop_finishCalled when the cook_loop is done successfully, no dirty mess or whatever
startThe start of the cook loop
start_can_failThe start of the cook loop, but can fail (result in a splat / dirty microwave)
vampireThe start of the charge loop

Var Details

broken

How broken is it? NOT_BROKEN, KINDA_BROKEN, REALLY_BROKEN

cell

The cell we charge with

cell_powered

If we use a cell instead of powernet

dirty

How dirty is it?

efficiency

Microwave efficiency (power) based on the stock components

ingredient_shifts_x

When this is the nth ingredient, whats its pixel_x?

ingredient_shifts_y

When this is the nth ingredient, whats its pixel_y?

ingredients

May only contain /atom/movables

max_n_of_items

Microwave max capacity

open

Microwave door position

pda_failure

Fail due to inserted PDA

vampire_cell

The cell we're charging

vampire_charging_capable

Capable of vampire charging PDAs

vampire_charging_enabled

Charge contents of microwave instead of cook

wire_disabled

Is its function wire cut?

wire_mode_swap

Wire cut to run mode backwards

Proc Details

charge_loop

The actual cook loop started via [proc/start] or [proc/start_can_fail]

charge_loop_finish

Called when the charge_loop is done successfully, no dirty mess or whatever

cook

Begins the process of cooking the included ingredients.

cook_loop

The actual cook loop started via [proc/start] or [proc/start_can_fail]

loop_finish

Called when the cook_loop is done successfully, no dirty mess or whatever

start

The start of the cook loop

start_can_fail

The start of the cook loop, but can fail (result in a splat / dirty microwave)

vampire

The start of the charge loop