Property:Average Offspring Per Birth

From RimWorld Wiki
Jump to navigation Jump to search
(Created blank page)
 
(added property description)
Line 1: Line 1:
 +
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.

Revision as of 15:53, 5 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.

Showing 20 pages using this property.
A
1.721  +
1.721  +
B
1.75  +
C
1.25  +
1.937  +
1.75  +
F
1.721  +
G
1.75  +
H
1.75  +
1.072  +
1.721  +
L
P
1.318  +
R
1.5  +
1.614  +
1.721  +
S
1.318  +
1.75  +
1.444  +