fish_evolution
Fish evolution datums
If present in a fish's evolution_types list, and other conditions are met in check_conditions() then there's a chance the offspring may be of a new type rather than the same as its source or mate (if any).
Vars | |
conditions_note | A text string shown in the catalog, containing information on conditions specific to this evolution. |
---|---|
name | The name of the evolution. If not set, it'll be generated on runtime from the name of the new fish type. |
new_fish_type | The obj/item/fish path of the new fish |
new_traits | A list of traits added to the new fish. These take priority over the parents' traits. |
probability | The probability that this evolution can happen. |
removed_traits | If set, these traits will be removed from the new fish. |
required_temperature_max | The maximum required temperature for the evolved fish to spawn |
required_temperature_min | The minimum required temperature for the evolved fish to spawn |
show_on_wiki | Is this evolution shown on the wiki? |
show_result_on_wiki | Is the result of this evolution shown on the wiki? |
Procs | |
check_conditions | The main proc that checks whether this can happen or not. Keep in mind the mate and aquarium arguments may be null if the fish is self-reproducing or this evolution is a result of a fish_growth component |
get_evolution_tooltip | Called by the fish analyzer right click function. Returns a text string used as tooltip. |
growth_checks | This is called when the evolution is set as the result type of a fish_growth component |
Var Details
conditions_note
A text string shown in the catalog, containing information on conditions specific to this evolution.
name
The name of the evolution. If not set, it'll be generated on runtime from the name of the new fish type.
new_fish_type
The obj/item/fish path of the new fish
new_traits
A list of traits added to the new fish. These take priority over the parents' traits.
probability
The probability that this evolution can happen.
removed_traits
If set, these traits will be removed from the new fish.
required_temperature_max
The maximum required temperature for the evolved fish to spawn
required_temperature_min
The minimum required temperature for the evolved fish to spawn
show_on_wiki
Is this evolution shown on the wiki?
show_result_on_wiki
Is the result of this evolution shown on the wiki?
Proc Details
check_conditions
The main proc that checks whether this can happen or not. Keep in mind the mate and aquarium arguments may be null if the fish is self-reproducing or this evolution is a result of a fish_growth component
get_evolution_tooltip
Called by the fish analyzer right click function. Returns a text string used as tooltip.
growth_checks
This is called when the evolution is set as the result type of a fish_growth component