Daedalus Dock - Modules - TypesVar Details - Proc Details

plant

Vars

base_enduranceThe starting amount of endurance this plant has.
base_harvest_amtHow many times you can harvest this plant.
base_harvest_yieldHow many instances of the product are yielded per harvest.
base_healthThe starting health value of this plant.
base_maturationThe baseline amount of seconds to reach maturity. Half of this value is the time to reach "Growing"
base_potencyThe starting amount of potency this plant has.
base_productionThe baseline amount of seconds AFTER reaching maturity to produce a harvest.
force_single_harvestIf TRUE, this plant can only ever be harvested once. However, it will receive benefits to compensate.
gene_holderThe genes of the plant.
generationThe generation of this plant. Cool tracking to see how far the genepool as come.
genomeA pseudoarbitrary value. When attempting to splice two plants together, a larger difference in genome value makes it more difficult. 0 genome delta is a 100% splice chance, 10 is 0%
growing_iconthe file that stores the sprites of the growing plant from this seed.
growthstagesHow many icon states there are between start and mature (inclusive)
icon_deadUsed to override dead icon (default is "[species]-dead"). You can use one dead icon for multiple closely related plants with it.
icon_growUsed to override grow icon (default is "[species]-grow"). You can use one grow icon for multiple closely related plants with it.
icon_harvestUsed to override harvest icon (default is "[species]-harvest"). If null, plant will use [icon_grow][growthstages].
in_seedRef to the seed we're in, if any.
innate_genesInnate genes that all instances of this plant have.
is_hybridIf this plant was created as a result of genetic splicing.
latent_genesGenes this plant has, may or may not be active.
needs_waterIf the plant needs water to survive.
plant_statusThe status of the plant in the tray. Whether it's harvestable, alive, missing or dead.
possible_mutationsPossible mutation paths for this plant.
product_pathTypepath of the product upon harvesting.
rarityRarity, decides export value.
reagents_per_potencyPer 1 point of potency, the product will contain that much reagent.
seed_pathType of seed produced.
speciesUsed to update icons. Should match the name in the sprites unless all icon_* are overridden.

Procs

get_effective_statReturns the given stat, including active gene modifiers.
get_growth_for_stateGet the required growth value to reach a given state.
get_growth_statusReturns the plant's growth state. Args:
infuseThe number of nutriments we have inside of our plant, for use in our heating / cooling genes
inherit_reagents_from_genesReplace reagents_per_potency with genes.
prepare_productThis is where plant chemical products are handled.
set_base_statReturns the given stat, including active gene modifiers.

Var Details

base_endurance

The starting amount of endurance this plant has.

base_harvest_amt

How many times you can harvest this plant.

base_harvest_yield

How many instances of the product are yielded per harvest.

base_health

The starting health value of this plant.

base_maturation

The baseline amount of seconds to reach maturity. Half of this value is the time to reach "Growing"

base_potency

The starting amount of potency this plant has.

base_production

The baseline amount of seconds AFTER reaching maturity to produce a harvest.

force_single_harvest

If TRUE, this plant can only ever be harvested once. However, it will receive benefits to compensate.

gene_holder

The genes of the plant.

generation

The generation of this plant. Cool tracking to see how far the genepool as come.

genome

A pseudoarbitrary value. When attempting to splice two plants together, a larger difference in genome value makes it more difficult. 0 genome delta is a 100% splice chance, 10 is 0%

growing_icon

the file that stores the sprites of the growing plant from this seed.

growthstages

How many icon states there are between start and mature (inclusive)

icon_dead

Used to override dead icon (default is "[species]-dead"). You can use one dead icon for multiple closely related plants with it.

icon_grow

Used to override grow icon (default is "[species]-grow"). You can use one grow icon for multiple closely related plants with it.

icon_harvest

Used to override harvest icon (default is "[species]-harvest"). If null, plant will use [icon_grow][growthstages].

in_seed

Ref to the seed we're in, if any.

innate_genes

Innate genes that all instances of this plant have.

is_hybrid

If this plant was created as a result of genetic splicing.

latent_genes

Genes this plant has, may or may not be active.

needs_water

If the plant needs water to survive.

plant_status

The status of the plant in the tray. Whether it's harvestable, alive, missing or dead.

possible_mutations

Possible mutation paths for this plant.

product_path

Typepath of the product upon harvesting.

rarity

Rarity, decides export value.

reagents_per_potency

Per 1 point of potency, the product will contain that much reagent.

seed_path

Type of seed produced.

species

Used to update icons. Should match the name in the sprites unless all icon_* are overridden.

Proc Details

get_effective_stat

Returns the given stat, including active gene modifiers.

get_growth_for_state

Get the required growth value to reach a given state.

get_growth_status

Returns the plant's growth state. Args:

infuse

The number of nutriments we have inside of our plant, for use in our heating / cooling genes

inherit_reagents_from_genes

Replace reagents_per_potency with genes.

prepare_product

This is where plant chemical products are handled.

Individually, the formula for individual amounts of chemicals is Potency * the chemical production %, rounded to the fullest 1. Specific chem handling is also handled here, like bloodtype, food taste within nutriment, and the auto-distilling/autojuicing traits. This is where chemical reactions can occur, and the heating / cooling traits effect the reagent container.

set_base_stat

Returns the given stat, including active gene modifiers.