Skip to content

Commit

Permalink
Document overseas maintenance via reference to PA
Browse files Browse the repository at this point in the history
  • Loading branch information
wvpm committed Sep 25, 2024
1 parent 53923a1 commit efd8494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/simulation/calculations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Economy:
formula: MGQ * GOLD_TO_CASH_RATE
MGQ: Money good quanity = total production of goods with money = yes
GOLD_TO_CASH_RATE: defines.country.GOLD_TO_CASH_RATE
Overseas maintenance:
See: https://github.com/schombert/Project-Alice/blob/main/docs/rules.md#overseas-penalty
Production:
Resource gathering operation:
base workforce: defined in common/production_types.txt as workforce
Expand All @@ -62,7 +64,7 @@ Economy:
formula: base output * rgo size * (1 + overseas penalty) * throughput from workers * (1 + throughput modifier) * (1 + output from workers) * (1 + output modifier)
base output: defined in common/production_types.txt
overseas penalty:
if province is 'overseas': ???
if province is 'overseas': overseas penalty (see economy > budget > overseas maintenance)
else: 0
throughput from workers:
formula: sum of (effect_multiplier * employees with job / workforce) for each job with `effect = throughput`
Expand Down

0 comments on commit efd8494

Please sign in to comment.