production

Vars | |
categories | Cache so we don't rebuild this every Topic(), see compile_categories(). |
---|---|
department_tag | Used for material distribution among other things. |
efficiency_coeff | Materials needed / coeff = actual. |
matching_designs | Used by the search in the UI. |
processing_packet | A queue packet we are processing |
queue | The queue of things to produce. It's a list of lists. |
stripe_color | What color is this machine's stripe? Leave null to not have a stripe. |
Procs | |
check_material_req | Returns how many times over the given material requirement for the given design is satisfied. |
check_reagent_req | Returns how many times over the given reagent requirement for the given design is satisfied. |
Var Details
categories

Cache so we don't rebuild this every Topic(), see compile_categories().
department_tag

Used for material distribution among other things.
efficiency_coeff

Materials needed / coeff = actual.
matching_designs

Used by the search in the UI.
processing_packet

A queue packet we are processing
queue

The queue of things to produce. It's a list of lists.
stripe_color

What color is this machine's stripe? Leave null to not have a stripe.
Proc Details
check_material_req
Returns how many times over the given material requirement for the given design is satisfied.
Arguments:
- being_built: The design being referenced.
- material: The material being checked.
check_reagent_req
Returns how many times over the given reagent requirement for the given design is satisfied.
Arguments:
- being_built: The design being referenced.
- reagent: The reagent being checked.