API: chem
Function: deriveBiochemistry()
lifecycle-kit
lifecycle-kit / chem / deriveBiochemistry
Function: deriveBiochemistry()
deriveBiochemistry(
worldAbundance,kelvin?):Biochemistry
Defined in: chem/biochemistry.ts:125
Determine a world's biochemistry from its element abundances.
Called once per world. Everything a creature is made of follows from it.
Parameters
worldAbundance
Record<string, number>
kelvin?
number = 288
