aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-09-08 15:26:42 +0200
committer GitHub <noreply@github.com>2024-09-08 15:26:42 +0200
commita3b34e2d6a9bf2bc59619390e0490a5b45d75337 (patch)
tree4c5cc60388a27e44d649e949d587e31f848611cd /docs
parent1c210c13dbcce431bd4b799fb80f62db121313ed (diff)
parentc667130fcee94a9481c973f6b4ee19b22f5463e2 (diff)
Merge pull request #265 from OpenVicProject/document_max_regimnets
Correct Maximum regiments per soldier POP
Diffstat (limited to 'docs')
-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