plant_gene_holder

Vars | |
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. |
Procs | |
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. |
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.