fertile_egg

This component tracks over time if the atom is in ideal conditions, and eventually hatches into the embryonic type.
The initial design of this component was to make more generic the code for chickens laying eggs.
Vars | |
current_growth | The current amount of growth. |
---|---|
embryo_type | What will come out of the egg when it's done. |
location_allowlist | List of locations which, if set, the egg will only develop if in those locations. |
maximum_growth_rate | Maximum growth rate per tick |
minimum_growth_rate | Minimum growth rate per tick |
spoilable | If true, being in an unsuitable location spoils the egg (ie. kills the component). If false, it just pauses the egg's development. |
total_growth_required | Total growth required before hatching. |
Var Details
current_growth

The current amount of growth.
embryo_type

What will come out of the egg when it's done.
location_allowlist

List of locations which, if set, the egg will only develop if in those locations.
maximum_growth_rate

Maximum growth rate per tick
minimum_growth_rate

Minimum growth rate per tick
spoilable

If true, being in an unsuitable location spoils the egg (ie. kills the component). If false, it just pauses the egg's development.
total_growth_required

Total growth required before hatching.