Daedalus Dock - Modules - TypesVar Details - Proc Details

plant_gene_holder

Vars

gene_listTransferrable mutations
harvest_amtModifier for /datum/plant/var/time_to_harvest
harvest_yieldModifier for /datum/plant/var/harvest_yield
maturationA larger number REDUCES the time it takes to grow.
mutationThis plant's mutation, if any
parentThe plant we belong to.
productionA larger number REDUCES the time it takes to produce.

Procs

add_active_geneAdd an active gene, not a latent one.
apply_mutationApplies a mutation.
get_effective_statReturns the given stat, including active gene modifiers.
has_active_gene_of_idDoes the plant have the given gene active that shares the same hash as the given gene instance.
has_active_gene_of_typeDoes the plant have the given gene active of the given type.
randomize_allelesRandomize the dominance of the alleles in this plant.
remove_active_geneRemove an active gene.
set_statReturns the given stat, including active gene modifiers.
try_activate_latent_geneRandomly activate a latent gene.
try_mutate_statsMutate the plant in various ways.

Var Details

gene_list

Transferrable mutations

harvest_amt

Modifier for /datum/plant/var/time_to_harvest

harvest_yield

Modifier for /datum/plant/var/harvest_yield

maturation

A larger number REDUCES the time it takes to grow.

mutation

This plant's mutation, if any

parent

The plant we belong to.

production

A larger number REDUCES the time it takes to produce.

Proc Details

add_active_gene

Add an active gene, not a latent one.

apply_mutation

Applies a mutation.

get_effective_stat

Returns the given stat, including active gene modifiers.

has_active_gene_of_id

Does the plant have the given gene active that shares the same hash as the given gene instance.

has_active_gene_of_type

Does the plant have the given gene active of the given type.

randomize_alleles

Randomize the dominance of the alleles in this plant.

remove_active_gene

Remove an active gene.

set_stat

Returns the given stat, including active gene modifiers.

try_activate_latent_gene

Randomly activate a latent gene.

try_mutate_stats

Mutate the plant in various ways.