T-018: Eggs, mutation and asexual reproduction
Goal
Organisms make offspring, with mutation, inside the world. See docs/DESIGN.md section 7.
Scope
- Gonad cells save energy and matter, then release an egg: one cell with a mutated copy of the genome and a yolk. Egg size and the age or size at which breeding starts are genes.
- Eggs are physical objects: they drift, sink or float, can be eaten, and hatch into a growing body through the development code from T-010.
- Mutation is applied when the genome is copied, using the operators from T-010.
- Birth and death hooks that T-019 will log.