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

biogenerator

Vars

beakerThe reagent container that is currently inside of the biomass generator. Can be null.
biomassThe amount of biomass that's currently stored in the biogenerator.
current_item_countThe current amount of items that can be converted into biomass that the biogenerator is holding.
efficiencyThe amount by which the biomass consumption will be divided.
max_itemsThe maximum amount of items the biogenerator can hold for biomass conversion purposes.
max_outputThe maximum amount of reagents that the biogenerator can output to a container at once.
max_visual_biomassThe maximum amount of biomass that will affect the visuals of the biogenerator.
processed_items_per_cycleThe amount of items that will be converted into biomass per processing cycle.
processingWhether the biogenerator is currently processing biomass or not.
productivityThe conversion factor for nutrient to biomass, and the amount of additional items that will be processed at once per cycle.
selected_catThe category that's currently selected in the UI.
show_categoriesThe different visual categories for the biogenerator, for the tabs.
soundloopThe sound loop that can be heard when the generator is processing.
stored_researchThe research that is stored within this biogenerator.
welded_downWhether the biogen is welded down to the floor disabling unwrenching

Procs

convert_to_biomassSimple helper proc that converts the given food item into biomass for the generator, while also handling removing it and modifying the current_item_count.
start_processActivates biomass processing and converts all inserted food products into biomass
stop_processSimple helper to handle stopping the process of the biogenerator.

Var Details

beaker

The reagent container that is currently inside of the biomass generator. Can be null.

biomass

The amount of biomass that's currently stored in the biogenerator.

current_item_count

The current amount of items that can be converted into biomass that the biogenerator is holding.

efficiency

The amount by which the biomass consumption will be divided.

max_items

The maximum amount of items the biogenerator can hold for biomass conversion purposes.

max_output

The maximum amount of reagents that the biogenerator can output to a container at once.

max_visual_biomass

The maximum amount of biomass that will affect the visuals of the biogenerator.

processed_items_per_cycle

The amount of items that will be converted into biomass per processing cycle.

processing

Whether the biogenerator is currently processing biomass or not.

productivity

The conversion factor for nutrient to biomass, and the amount of additional items that will be processed at once per cycle.

selected_cat

The category that's currently selected in the UI.

show_categories

The different visual categories for the biogenerator, for the tabs.

soundloop

The sound loop that can be heard when the generator is processing.

stored_research

The research that is stored within this biogenerator.

welded_down

Whether the biogen is welded down to the floor disabling unwrenching

Proc Details

convert_to_biomass

Simple helper proc that converts the given food item into biomass for the generator, while also handling removing it and modifying the current_item_count.

Arguments:

start_process

Activates biomass processing and converts all inserted food products into biomass

stop_process

Simple helper to handle stopping the process of the biogenerator.

Arguments: