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

flatpacker

Vars

busyAre we busy printing?
creation_efficiencyCoefficient applied to consumed materials. Lower values result in lower material consumption.
flatpack_timetime needed to produce a flatpacked machine
flatpacked_componentsList of components that need to be packed along with the circuitboard
inserted_boardThe inserted board
materialsThe container to hold materials
max_part_tierOur max print tier
needed_matsMaterials needed to print this board
print_tierThe highest tier of this board

Procs

analyze_costAttempts to find the total material cost of a typepath (including our creation efficiency), modifying a list The list is modified as an assoc list: Material datum typepath = Cost If the type is found on a techweb, uses material costs from there Otherwise, the typepath is created in nullspace and fetches materials from the initialized one, then deleted.
finish_buildTurns the supplied board into a flatpack, and sets the machine as not busy Arguments
get_flatpack_component_countReturns count of inserted flatpack component parts
get_flatpack_component_nameReturns the name of this component. Vending canistors & maybe other types in the future require special parsing

Var Details

busy

Are we busy printing?

creation_efficiency

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

flatpack_time

time needed to produce a flatpacked machine

flatpacked_components

List of components that need to be packed along with the circuitboard

inserted_board

The inserted board

materials

The container to hold materials

max_part_tier

Our max print tier

needed_mats

Materials needed to print this board

print_tier

The highest tier of this board

Proc Details

analyze_cost

Attempts to find the total material cost of a typepath (including our creation efficiency), modifying a list The list is modified as an assoc list: Material datum typepath = Cost If the type is found on a techweb, uses material costs from there Otherwise, the typepath is created in nullspace and fetches materials from the initialized one, then deleted.

Args:

finish_build

Turns the supplied board into a flatpack, and sets the machine as not busy Arguments

get_flatpack_component_count

Returns count of inserted flatpack component parts

Arguments

get_flatpack_component_name

Returns the name of this component. Vending canistors & maybe other types in the future require special parsing

Arguments