From c667130fcee94a9481c973f6b4ee19b22f5463e2 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:02:33 +0200 Subject: Correct Maximum regiments per soldier POP --- docs/simulation/calculations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/simulation/calculations.yaml') 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 -- cgit v1.2.3-56-ga3b1