Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

docs: the Arms authoring hints catch up with the Arms pool (refs #729) (#1166)

agamrafaeli-instinct8a240d00681d
diff --git a/docs/WRITING_EVENTS.md b/docs/WRITING_EVENTS.md
index 8e8a4e8b7..66d7f3839 100644
--- a/docs/WRITING_EVENTS.md
+++ b/docs/WRITING_EVENTS.md
@@ -260,10 +260,13 @@ An option that did not happen can say who put it forward, and on what record (R-
live between 0 and 1, so a delta of `0.03` is three points of the scale. Keep deltas small, as the example does;
- `treasury` or `fx_reserves`, in game money;
- `food`, the national Food stock, in whole units (one unit is one population unit's food for a month). The delta
- rounds to whole units and the stock never drops below 0, so a larger cut than the stock takes what is there. The
- Arms stock becomes a target with its pool (#781): `arms` moves it the same way. Note that the monthly import
- (R-FOOD-002) refills the stock to `cover_months` of the need unless the foreign-currency crisis is on, so outside a
- crisis a cut only matters if it leaves less than one month's need; a gain stays.
+ rounds to whole units and the stock never drops below 0, so a larger cut than the stock takes what is there. Note
+ that the monthly import (R-FOOD-002) refills the stock to `cover_months` of the need unless the foreign-currency
+ crisis is on, so outside a crisis a cut only matters if it leaves less than one month's need; a gain stays;
+- `arms`, the national Arms stock, in whole units (one unit is one 1,000-person recruit group's equipment, R-ARMS-001).
+ The delta rounds and the stock clamps at 0 exactly as `food` does. Arms has no monthly import refill: purchases
+ (R-ARMS-002), event gains and equipment returned when recruit training is cancelled (R-ARMS-003) can raise the
+ stock.
`delta` must be a finite number. Any other target is an error. Policy ids (`rationing`, ...) are not effect targets;
use `set_policy` for those.
diff --git a/scripts/new_event.py b/scripts/new_event.py
index 44b7a3998..82aa2e632 100644
--- a/scripts/new_event.py
+++ b/scripts/new_event.py
@@ -30,7 +30,7 @@ from: @FROM@
text: TODO what the player does
effects:
# targets: an indicator id (morale, food_supply, ...), treasury or fx_reserves (game money),
- # or food (the national Food stock, in whole units); policies go in set_policy
+ # or food or arms (the national Food and Arms stocks, in whole units); policies go in set_policy
- { target: morale, delta: 0.0 }
sources: [] # each { url: "https://...", checked: YYYY-MM-DD }
status: draft