plant_gene

Vars | |
development_chance | Chance for this gene to develop fully and become active. |
---|---|
gene_flags | Flags for genes |
is_negative | Is this gene considered bad. |
process_chance | Chance to process |
Procs | |
Copy | Copies over vars and information about our current gene to a new gene and returns the new instance of gene. |
get_id | Returns a hash ID for the gene. |
get_stat_modifier | Returns the plant's growth state. Args: |
tick | Processing effects. Return TRUE to cancel effects for children. |
Var Details
development_chance

Chance for this gene to develop fully and become active.
gene_flags

Flags for genes
is_negative

Is this gene considered bad.
process_chance

Chance to process
Proc Details
Copy
Copies over vars and information about our current gene to a new gene and returns the new instance of gene.
get_id
Returns a hash ID for the gene.
get_stat_modifier
Returns the plant's growth state. Args:
- gene_holder: The plant's plant_gene_holder
- stat: Desired stat
- base_val: The value of the gene holder's stat, before any gene modifiers.
tick
Processing effects. Return TRUE to cancel effects for children.