https://github.com/freeorion/freeorion/ ... ocs.txt#L9
Code: Select all
SetPopulation value = Value + 0.5*(101+Target.TargetPopulation-2*Value - ((101+Target.TargetPopulation-2*Value)^2 -4*(Value*(Value-1-Target.TargetPopulation)-2*100))^0.5)
Code: Select all
Value + 0.5 *
(
101
+ Target.TargetPopulation
- 2*Value
- (
(101 + Target.TargetPopulation - 2*Value)^2
- 4*(Value*(Value-1-Target.TargetPopulation) - 2*100)
)^0.5
)
Columns: TargetPopulation
Rows: Population as percentage of TargetPopulation
1 | 3 | 9 | 15 | 21 | 30 | 50 | 80 | |
25% | -194% | -64.6% | -22.5% | -14.8% | -12.0% | -10.5% | -10.4% | -11.8% |
50% | -195% | -66.0% | -24.2% | -17.0% | -14.7% | -13.9% | -15.6% | -19.7% |
75% | -196% | -67.0% | -25.0% | -17.6% | -15.2% | -14.4% | -16.7% | -23.0% |
100% | -197% | -67.65% | -24.6% | -16.2% | -12.7% | -10.3% | -9.0% | -11.6% |
Code: Select all
SetPopulation value = Value - (1.5+0.1*Target.TargetPopulation)
1 | 3 | 9 | 15 | 21 | 30 | 50 | 80 |
-160% | -60% | -26.7% | -20% | -17.1% | -15% | -13% | -11.9% |