byond - Modules - TypesVar Details - Proc Details

factory_part

Base item used in factories, only changes icon and stage for the item then creates a new item when its done in order to set a recipe set recipe = GLOB.myrecipe in Initialize

Vars

completion_stageHow many cycles we go through until we become the result
next_machineWhat type of machine the obj goes through first/next
recipereference to a glob list containing the recipe
resultWhat result we become when we've run through all our machines
stageHow many cycles of processing we've gone through

Procs

advance_stageonce the part is processed this proc updates iconstate, result, completion etc

Var Details

completion_stage

How many cycles we go through until we become the result

next_machine

What type of machine the obj goes through first/next

recipe

reference to a glob list containing the recipe

result

What result we become when we've run through all our machines

stage

How many cycles of processing we've gone through

Proc Details

advance_stage

once the part is processed this proc updates iconstate, result, completion etc