/tg/ Station 13 - Modules - TypesProc Details

reagent

Procs

try_upgrade_geneIntends to compare a reagent gene with a set of seeds, and if the seeds contain the same gene, with more production rate, upgrades the rate to the highest of the two.

Proc Details

try_upgrade_gene

Intends to compare a reagent gene with a set of seeds, and if the seeds contain the same gene, with more production rate, upgrades the rate to the highest of the two.

Called when plants are crossbreeding, this looks for two matching reagent_ids, where the rates are greater, in order to upgrade.