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

production

Vars

active_power_usageEnergy cost per full stack of materials spent. Material insertion is 40% of this.
allowed_buildtypesThe types of designs this fabricator can print.
allowed_department_flagsWhich departments are allowed to process this design
cached_designsAll designs in the techweb that can be fabricated by this machine, since the last update.
drop_directiondirection we output onto (if 0, on top of us)
efficiency_coeffThe efficiency coefficient. Material costs and print times are multiplied by this number;
materialsThe material storage used by this fabricator.
production_animationIcon state when production has started
stripe_colorWhat color is this machine's stripe? Leave null to not have a stripe.

Procs

build_efficiencyThe cost efficiency for an particular design Arguments
compute_efficiencyComputes this machines cost efficiency based on the available parts
do_make_itemCallback for start_making, actually makes the item Arguments
finalize_buildResets the busy flag Called at the end of do_make_item's timer loop
flick_animationPlays an visual animation when materials are inserted Arguments
local_material_insertWhen materials are instered into local storage
process_itemConsumes power for the item inserted either into silo or local storage. Arguments
silo_material_insertWhen materials are instered via silo link
update_designsUpdates the list of designs this fabricator can print.

Var Details

active_power_usage

Energy cost per full stack of materials spent. Material insertion is 40% of this.

allowed_buildtypes

The types of designs this fabricator can print.

allowed_department_flags

Which departments are allowed to process this design

cached_designs

All designs in the techweb that can be fabricated by this machine, since the last update.

drop_direction

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

efficiency_coeff

The efficiency coefficient. Material costs and print times are multiplied by this number;

materials

The material storage used by this fabricator.

production_animation

Icon state when production has started

stripe_color

What color is this machine's stripe? Leave null to not have a stripe.

Proc Details

build_efficiency

The cost efficiency for an particular design Arguments

compute_efficiency

Computes this machines cost efficiency based on the available parts

do_make_item

Callback for start_making, actually makes the item Arguments

finalize_build

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

flick_animation

Plays an visual animation when materials are inserted Arguments

local_material_insert

When materials are instered into local storage

process_item

Consumes power for the item inserted either into silo or local storage. Arguments

silo_material_insert

When materials are instered via silo link

update_designs

Updates the list of designs this fabricator can print.