Property:Average Offspring Per Birth
Jump to navigation
Jump to search
(added property description) |
|||
Line 8: | Line 8: | ||
This works out to a 25% chance of the number of offspring being in the range 0.5-1, 50% chance of the range 1-1.5, and 25% chance of the range (1.5-2). After rounding, this results in a 75% chance of 1 offspring and a 25% chance of 2 offspring, for an average of 1.25 offspring. | This works out to a 25% chance of the number of offspring being in the range 0.5-1, 50% chance of the range 1-1.5, and 25% chance of the range (1.5-2). After rounding, this results in a 75% chance of 1 offspring and a 25% chance of 2 offspring, for an average of 1.25 offspring. | ||
+ | |||
+ | [[has type::number| ]] |
Latest revision as of 02:28, 22 September 2021
The number of offspring that non-egg-laying animals have is determined by a probability density function that is defined by straight lines connecting a series of points from the animal's defs file.
For example, the capybara has a litter size curve with points:
- (0.5, 0)
- (1, 1)
- (1.5, 1)
- (2, 0)
This works out to a 25% chance of the number of offspring being in the range 0.5-1, 50% chance of the range 1-1.5, and 25% chance of the range (1.5-2). After rounding, this results in a 75% chance of 1 offspring and a 25% chance of 2 offspring, for an average of 1.25 offspring.