biogenerator
Vars | |
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 |
Procs | |
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 . |
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. |
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:
- food_to_convert - The food item that will be converted into biomass and subsequently be deleted.
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:
- update_appearance - Whether or not we call
update_appearance()
here. Defaults toTRUE
.