Six parameterized templates replace per-species-pair code:
- Herbivory — actor diet_breadth matches target resource_tags
- Predation — actor diet_breadth matches target functional_group, body mass ratio constraints (0.1–2× for mammalian, 1–1000× for insectivory)
- Pollination — actor floral_affinity matches target pollination_syndrome, target must be FRUITING
- Decomposition — actor diet_type "decomposer", targets voxel organic_matter layer (unique: interacts with voxels, not entities)
- Competition — implicit via shared resource depletion, no explicit template
- Water access — all mobile non-autotroph entities, thirst derived from metabolic rate
Six parameterized templates replace per-species-pair code: