aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-10-30 21:41:03 +0100
committer GitHub <noreply@github.com>2024-10-30 21:41:03 +0100
commit2558a8fb10eb2f6adc01653bc0d4da73141efb67 (patch)
tree1adf74a8cc7d3f903f0933734258722c6c95f2cc /docs
parenta3f424529e2124d8b50a22fb60b9440f159b653d (diff)
parentbe5a2626c8bcd90c81615a69e59d3eebd9d3d9c8 (diff)
Merge pull request #281 from OpenVicProject/document_mobilisation
document mobilisation
Diffstat (limited to 'docs')
-rw-r--r--docs/simulation/calculations.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/simulation/calculations.yaml b/docs/simulation/calculations.yaml
index 1ff0500..96c045a 100644
--- a/docs/simulation/calculations.yaml
+++ b/docs/simulation/calculations.yaml
@@ -105,6 +105,17 @@ Economy:
absolute minimum: 50 (hardcoded value)
relative minimum: floor(defines.economy.EMPLOYMENT_HIRE_LOWEST * employees count)
Military:
+ Mobilisation:
+ Mobilised regiment limit:
+ formula: max(MIN_MOBILIZE_LIMIT, regular regiment count) * (1 + mobilization_impact)
+ MIN_MOBILIZE_LIMIT: defines.country.MIN_MOBILIZE_LIMIT
+ regular regiment count: number of deployed non-mobilised regiments
+ mobilization_impact: sum of mobilization_impact modifiers
+ Mobilisation throughput effect:
+ formula: -1 * mobilisation_size * mobilisation_economy_impact
+ -1: mobilisation reduces throughput for RGOs and factories
+ mobilisation_size: sum of mobilisation_size modifiers
+ mobilisation_economy_impact: sum of mobilisation_economy_impact modifiers
Maximum regiments per soldier POP:
if POP size < defines.military.POP_MIN_SIZE_FOR_REGIMENT: 0
else:
@@ -146,7 +157,7 @@ Military:
else:
formula: x^(1+i)
x: received supply
- i: 0 based index of regiment in the army
+ i: 0-based index of regiment in the army
trunc(... * 1000): Truncated to 1/1000th.
min(..., 1000): Capped at max strength.
Regiment reinforcements: