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

cell_line

A "mob" cell. Can grow into a mob in a growing vat.

Vars

consumption_rateThis var defines how many units of every reagent is consumed during growth per process()
growthOur growth so far, needs to get up to 100
growth_rateThis var defines how much % the organism grows per process(), without modifiers, if you have all required reagents
required_reagentsAll the reagent types required for letting this organism grow into whatever it should become
resulting_atomResulting atom from growing this cell line
resulting_atom_countThe number of resulting atoms
supplementary_reagentsReagent types that further speed up growth, but aren't needed. Assoc list of reagent datum type || bonus growth per tick
suppressive_reagentsReagent types that surpress growth. Assoc list of reagent datum type || lost growth per tick
virus_suspectibilityThis var modifies how much this micro_organism is affected by viruses. Higher is more slowdown

Procs

calculate_growthApply modifiers on growth_rate based on supplementary and supressive reagents. Reagents is the growing vats reagents
finish_growingCalled once a cell line reaches 100 growth. Then we check if any cell_line is too far so we can perform an epic fail roll
get_detailsOverriden to show more info like needs, supplementary and supressive reagents and also growth.
handle_growthHandles growth of the micro_organism. This only runs if the micro organism is in the growing vat. Reagents is the growing vats reagents
return_reagent_textReturn a nice list of all the reagents in a specific category with a specific prefix. This needs to be reworked because the formatting sucks ass.
try_eatTries to consume the required reagents. Can only do this if all of them are available. Reagents is the growing vats reagents

Var Details

consumption_rate

This var defines how many units of every reagent is consumed during growth per process()

growth

Our growth so far, needs to get up to 100

growth_rate

This var defines how much % the organism grows per process(), without modifiers, if you have all required reagents

required_reagents

All the reagent types required for letting this organism grow into whatever it should become

resulting_atom

Resulting atom from growing this cell line

resulting_atom_count

The number of resulting atoms

supplementary_reagents

Reagent types that further speed up growth, but aren't needed. Assoc list of reagent datum type || bonus growth per tick

suppressive_reagents

Reagent types that surpress growth. Assoc list of reagent datum type || lost growth per tick

virus_suspectibility

This var modifies how much this micro_organism is affected by viruses. Higher is more slowdown

Proc Details

calculate_growth

Apply modifiers on growth_rate based on supplementary and supressive reagents. Reagents is the growing vats reagents

finish_growing

Called once a cell line reaches 100 growth. Then we check if any cell_line is too far so we can perform an epic fail roll

get_details

Overriden to show more info like needs, supplementary and supressive reagents and also growth.

handle_growth

Handles growth of the micro_organism. This only runs if the micro organism is in the growing vat. Reagents is the growing vats reagents

return_reagent_text

Return a nice list of all the reagents in a specific category with a specific prefix. This needs to be reworked because the formatting sucks ass.

try_eat

Tries to consume the required reagents. Can only do this if all of them are available. Reagents is the growing vats reagents