flatpacker
Vars | |
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 |
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 |
Procs | |
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. |
finish_build | Turns the supplied board into a flatpack, and sets the machine as not busy Arguments |
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
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: part_type - Typepath of the item we are trying to find the costs of costs - Assoc list we modify and return
finish_build
Turns the supplied board into a flatpack, and sets the machine as not busy Arguments
- board - the board to put inside the flatpack