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

autolathe

Vars

active_power_usageEnergy cost per full stack of sheets worth of materials used. Material insertion is 40% of this.
busyAre we currently printing something
creation_efficiencyCoefficient applied to consumed materials. Lower values result in lower material consumption.
disabledIs the autolathe disabled via wiring
drop_directiondirection we output onto (if 0, on top of us)
hackedIs the autolathe hacked via wiring
imported_designsDesigns imported from technology disks that we can print.
materialsThe container to hold materials
shockedDid we recently shock a mob who medled with the wiring
stored_researchDesigns related to the autolathe

Procs

adjust_hackedIs the autolathe hacked. Allowing us to acess hidden designs Arguments
do_make_itemCallback for start_making, actually makes the item Arguments
finalize_buildResets the icon state and busy flag Called at the end of do_make_item's timer loop
handle_designsConverts all the designs supported by this autolathe into UI data Arguments
resetCut a wire in the autolathe Arguments
shockShock a mob who is trying to interact with the autolathe Arguments

Var Details

active_power_usage

Energy cost per full stack of sheets worth of materials used. Material insertion is 40% of this.

busy

Are we currently printing something

creation_efficiency

Coefficient applied to consumed materials. Lower values result in lower material consumption.

disabled

Is the autolathe disabled via wiring

drop_direction

direction we output onto (if 0, on top of us)

hacked

Is the autolathe hacked via wiring

imported_designs

Designs imported from technology disks that we can print.

materials

The container to hold materials

shocked

Did we recently shock a mob who medled with the wiring

stored_research

Designs related to the autolathe

Proc Details

adjust_hacked

Is the autolathe hacked. Allowing us to acess hidden designs Arguments

state - TRUE/FALSE for is the autolathe hacked

do_make_item

Callback for start_making, actually makes the item Arguments

finalize_build

Resets the icon state and busy flag Called at the end of do_make_item's timer loop

handle_designs

Converts all the designs supported by this autolathe into UI data Arguments

reset

Cut a wire in the autolathe Arguments

shock

Shock a mob who is trying to interact with the autolathe Arguments