Metamorphosis

In RISKANT, metamorphosis is modeled in a simple way:
RISKANT.Core.metamorphosis! — Method
Metamorphosis is modeled currently simply through thresholds on the age of the juvenile. Once a juvenile reaches a certain age, it transitions to the next stage. All age thresholds are configurable, from egg to larva, from larva to pupa, and from pupa to adult. Once a juvenile reaches the age threshold for eclosion, it is converted into an adult and added to the colony's list of ants. The juvenile is then removed from the list of juveniles. Notably, the thresholds are randomized, as to not create perfectly synchronized cohorts of ants, which would lead to jumps in population size.