aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-09-08 15:02:33 +0200
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-09-08 15:02:33 +0200
commitc667130fcee94a9481c973f6b4ee19b22f5463e2 (patch)
tree4c5cc60388a27e44d649e949d587e31f848611cd
parent1c210c13dbcce431bd4b799fb80f62db121313ed (diff)
Correct Maximum regiments per soldier POP
-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