aboutsummaryrefslogtreecommitdiff
path: root/docs/simulation/calculations.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/simulation/calculations.yaml')
-rw-r--r--docs/simulation/calculations.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/simulation/calculations.yaml b/docs/simulation/calculations.yaml
index 4aa8f1d..5e79f41 100644
--- a/docs/simulation/calculations.yaml
+++ b/docs/simulation/calculations.yaml
@@ -71,7 +71,7 @@ Military:
Maximum regiments per soldier POP:
if POP size < defines.military.POP_MIN_SIZE_FOR_REGIMENT: 0
else:
- formula: ceil(POP size / (POP_SIZE_PER_REGIMENT * location factor))
+ formula: 1 + trunc(POP size / (POP_SIZE_PER_REGIMENT * location factor))
POP_SIZE_PER_REGIMENT: defines.military.POP_SIZE_PER_REGIMENT
location factor:
if is protectorate: defines.military.POP_MIN_SIZE_FOR_REGIMENT_PROTECTORATE_MULTIPLIER