I wanted to briefly hypothesize how these tokens might work and how they might be implemented. I'm still not very familiar with the huge number of
creature tokens. But, after some digging:
Achieving the mentioned example ratio of 50% a, 40% b, and 10% c would involve weighted values with the
POP_RATIO token for each caste.
HERMAPHRODITE should be
easy to do. It's basically
Breeding as it exists, except the species/caste is treated as both [MALE] and [FEMALE].
A [PARTHENOGENESIS] token might be a bit more difficult. In that case, the usual check for being adjacent to a creature of a compatible species and caste
is skipped. Instead, it
might be made dependant on other factors, such as after a given amount of time has passed since it last reproduced, after it has killed (and
presumably fed), or maybe the beginning of a season, like Summer or Autumn.
Actually, for simplicity, the game could consider the number of creatures of the same species and caste in the area - and (assuming it is an adult) if it is below a certain threshhold, a random (or specified) ratio of them is allowed to reproduce. To prevent overpopulation, tokens such as
FREQUENCY and
POPULATION_NUMBER are respected.
The question remains, though, whether a [PARTHENOGENESIS] token should result in a clone of the
same caste, or of a
different caste. Having the game assume the same caste would be
easier. Otherwise, for cases where there are more than two casts, some way of indicating which caste is to be cloned would be needed.