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.

GDD 0.3: per-unit rates at 1,000 people a unit, main's base x 0.3's tiers (Fixes #2112) (#2159)

Eyal Golan070092468016
diff --git a/changelog.d/2112.md b/changelog.d/2112.md
new file mode 100644
index 000000000..4b1da6cc1
--- /dev/null
+++ b/changelog.d/2112.md
@@ -0,0 +1,5 @@
+### Changed
+
+- The gdd-0.3 balance catalogue's per-unit rates follow the owner's 1 November 2026 ruling for 1,000 people a unit
+ (#2112): the Industry tiers are 1x / 2x / 3x main's job income and the farmer tiers 2x / 3x / 5x main's Food a field a
+ turn, a camp trains 50 units at a time, and the absorption target reads in people. The live game is unchanged.
diff --git a/content/gdd03-balance.yaml b/content/gdd03-balance.yaml
index a7b477922..2c3de0788 100644
--- a/content/gdd03-balance.yaml
+++ b/content/gdd03-balance.yaml
@@ -137,11 +137,11 @@
"values": [1]
"industry.income":
"basis": "Agreed"
- "note": "Work, professions and training: Money per staffed turn: ordinary or novice / apprentice / expert; Agreed. Source: #1668 balance.md at 605277df."
+ "note": "Work, professions and training: unitless multiple of R-CITY-002's per-unit job income (income_per_job_per_year for the turn's share of a year), by tier: ordinary or novice / apprentice / expert. Owner, 1 November 2026: \"Main's base x 0.3's tiers (Recommended)\". #1668's 1 / 2 / 3 Money per staffed turn was sized for 10,000 people a unit; the apprentice's 2 matches R-CRAFT-002. A labelled design value; a balance playtest follows. Source: #1668 balance.md at 605277df."
"values": [1, 2, 3]
"farmer.output":
"basis": "Agreed"
- "note": "Work, professions and training: Food per staffed turn: novice / trained / veteran; Agreed. Source: #1668 balance.md at 605277df."
+ "note": "Work, professions and training: unitless multiple of main's field_food_per_turn (R-FIELD-002), by tier: novice / trained / veteran, so 2 / 3 / 5 Food a field a turn while field_food_per_turn is 1. Owner, 1 November 2026: \"Main's base x 0.3's tiers (Recommended)\". A labelled design value; a balance playtest follows. Source: #1668 balance.md at 605277df."
"values": [2, 3, 5]
"profession.farmer_tools":
"basis": "Agreed"
@@ -306,8 +306,8 @@
"values": [5, 4, 3]
"military.camp_capacity":
"basis": "Agreed"
- "note": "Military and control: simultaneous trainees per camp; Agreed. Source: #1668 balance.md at 605277df."
- "values": [5]
+ "note": "Military and control: simultaneous trainee population units per camp, the same for every camp (owner, 1 November 2026, 27M-25). #1668's 5 places at 10,000 people a unit is 50 units at D2's 1,000 people a unit. Owner, 1 November 2026: \"Main's base x 0.3's tiers (Recommended)\". A labelled design value; main's R-TRAIN-001 has no camp cap yet, and the cap itself is built in the training issue. Source: #1668 balance.md at 605277df."
+ "values": [50]
"military.basic_turns":
"basis": "Agreed"
"note": "Military and control: training turns; Agreed. Source: #1668 balance.md at 605277df."
@@ -511,7 +511,7 @@
"values": [60]
"absorption.population_target":
"basis": "Agreed"
- "note": "Objectives: people represented; threshold must be exceeded; Retained approved baseline. Source: #1668 balance.md at 605277df."
+ "note": "Objectives: people, not population units (about 1,000 units at D2's 1,000 people a unit); threshold must be exceeded. Owner, 1 November 2026: \"Main's base x 0.3's tiers (Recommended)\". Retained approved baseline, a labelled design value. Source: #1668 balance.md at 605277df."
"values": [1000000]
"absorption.max_overflow":
"basis": "Agreed"
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index f40514e66..83a7112ab 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -92,7 +92,7 @@ Each GDD turn resolves in the order of the approved plan's section 2.3 (decision
R-CITY-001: Under legacy/gdd-0.1, `AssignWorkers(city, role, n)` sets how many of the city's people work in `role` (only `job` exists: a craftsman fills an ordinary job slot, R-CRAFT-002). It is refused, with the state unchanged and the Attention refunded, when the city or role is unknown, `n` is negative, or `n` is above the city's jobs or its civilians and craftsmen. An accepted order turns the city's job default off (R-CITY-009). The legacy loop refuses it before charging Attention. The gdd-0.3 population foundation uses one typed assignment per ledger id (R-POP-002); initialized ledger fixtures refuse this aggregate command path, pending producer integration.
-R-CITY-002: Each turn every city's employed units add `employed * income_per_job_per_year * the turn's share of a year` to the Treasury (an employed craftsman earns more, R-CRAFT-002).
+R-CITY-002: Each turn every city's employed units add `employed * income_per_job_per_year * the turn's share of a year` to the Treasury (an employed craftsman earns more, R-CRAFT-002). The gdd-0.3 catalogue's `industry.income` tiers (ordinary or novice / apprentice / expert: 1 / 2 / 3) are multiples of this per-unit rate (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"; #2112). The inactive synthetic fixtures (`Gdd03AssignmentFixture.IndustryRate`, `Gdd03CraftArithmetic`) quote the catalogue multiple itself, not Money; `Gdd03IndustryRates.MoneyPerTurn` converts it, and no live system reads either.
GDD 0.3 fixture clarification for R-CITY-001/002: the owner’s 28 October Q34 answer makes reassignment to the same job a no-op ([owner-relayed answer](https://github.com/eyalgolan/statecraft-israel/pull/1668#issuecomment-6465662174)). The detached generic Work fixture returns `NoOp` and preserves the complete state when given its current target; its different-target transition already applies immediately. This records the settled fixture result, without a production command or a new course, service or save policy.
@@ -194,7 +194,7 @@ R-SITE-003: Each turn, in ordinal site id order, every site being built has one
R-VET-001: Under legacy/gdd-0.1, in step 5, after its site's or segment's progress (R-COR-002), a halutz unit whose site or corridor segment is being built gains one turn of service, the turn it is built included; an idle unit gains none. At `veteran_halutz_service` turns of service it becomes a `veteran_halutz` at the end of that turn, keeping its id, hex, service and project, and a cause says so. A veteran gains no more service. A unit's service is written into the state hash only when it is not 0 (D-D9; Q-VET-1, owner, 17 October 2026, #782). A halutz or veteran can return to civilian life and keep its service or its status (R-QUAL-003). In gdd-0.3 synthetic fixtures only, the pure profession helper proposes one actual-work XP increment for a received free civilian with a matching Work assignment and completed staffed-farming evidence regardless of output or advancement, or evidence of advancing an on-site pioneer project. Adopted sources at `605277dfa511dc512562ececeb273b8393b21d35`: `docs/gdd/training.md:17`, "Farmers earn work XP only on staffed farming turns. Pioneers earn it only while advancing an on-site pioneer project."; `docs/gdd/balance.md:70`, "Work XP counts actual qualifying turns, not output or work quantity." Multiple matching results count once per evaluation; zero pioneer advancement, wrong profession/target, generic work, travel, idle, teaching and courses give none. Both novice and trained farmer/pioneer become veteran at the Agreed catalogue `profession.work_to_veteran` threshold (currently 9). Craftsmen do not use this path. The caller must use one turn-start snapshot and commit at most once at turn end; turn scheduling, authoritative evidence production and cross-call deduplication remain held. No game-loop caller is added.
-R-VET-002: Under legacy/gdd-0.1, a veteran's site or corridor segment being built has `veteran_progress` turns less to go each turn, against a halutz's 1; one with that many or fewer left is built that turn. A veteran does the same pioneer work as a halutz (R-SITE-001) (D-D9; Q-VET-2, owner, 17 October 2026, #782). In gdd-0.3 synthetic fixtures only, output quotes read the turn-start tier from Agreed catalogue `pioneer.work_rate` (novice/trained/veteran: 0.75/1/1.5) or `farmer.output` (2/3/5). Promotion returns a separate record for the next turn, preserving identity, assignment, placement, equipment and independent military history. No project progress or farming yield is applied by the helper; absent, Deferred or malformed values fail closed without legacy fallback.
+R-VET-002: Under legacy/gdd-0.1, a veteran's site or corridor segment being built has `veteran_progress` turns less to go each turn, against a halutz's 1; one with that many or fewer left is built that turn. A veteran does the same pioneer work as a halutz (R-SITE-001) (D-D9; Q-VET-2, owner, 17 October 2026, #782). In gdd-0.3 synthetic fixtures only, output quotes read the turn-start tier from Agreed catalogue `pioneer.work_rate` (novice/trained/veteran: 0.75/1/1.5) or `farmer.output` (2/3/5, multiples of `field_food_per_turn`, R-FIELD-002 (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"; #2112); the farmer quote here and in the synthetic field evaluator is that multiple, which equals Food only while `field_food_per_turn` is 1, and `Gdd03FieldRates.FoodPerTurn` converts it). Promotion returns a separate record for the next turn, preserving identity, assignment, placement, equipment and independent military history. No project progress or farming yield is applied by the helper; absent, Deferred or malformed values fail closed without legacy fallback.
### Return to civilian life and reassignment (#1511)
diff --git a/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs b/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs
index a207c7508..8dc73f2ee 100644
--- a/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs
+++ b/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs
@@ -275,5 +275,24 @@ public partial class DesignValuesTests
var dir=Fixture.Write(new Dictionary<string,string>{{CatalogueFile,yaml}});
var ex=Assert.Throws<ContentException>(()=>ContentLoader.Load(dir)); Assert.Equal(CatalogueFile,ex.File);
}
+ // R-LOOP-005, #2112 (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"): at D2's 1,000 people a unit the
+ // tier rates are multiples of main's per-unit rate, counts sized in 10,000-people units are x10, and the absorption
+ // target is in people.
+ [Theory]
+ [InlineData("industry.income", "1 2 3", "R-CITY-002")]
+ [InlineData("farmer.output", "2 3 5", "field_food_per_turn")]
+ [InlineData("military.camp_capacity", "50", "10,000 people a unit")]
+ [InlineData("absorption.population_target", "1000000", "people, not population units")]
+ public void Gdd03PerUnitRatesFollowMainsBaseTimesTheTiers(string key, string values, string basis)
+ {
+ var row=ContentLoader.Load(RealContentTests.ContentRoot()).Gdd03Balance!.Values[key];
+ Assert.Equal("Agreed",row.Basis);
+ Assert.Equal(values.Split(' ').Select(x=>decimal.Parse(x,CultureInfo.InvariantCulture)),row.Values);
+ Assert.Contains("\"Main's base x 0.3's tiers (Recommended)\"",row.Note);
+ Assert.Contains("1 November 2026",row.Note);
+ Assert.Contains("design value",row.Note);
+ Assert.Contains(basis,row.Note);
+ Assert.Contains("Source: #1668 balance.md at 605277df.",row.Note);
+ }
}
diff --git a/sim/Statecraft.Sim.Tests/Gdd03MilitaryCatalogueTests.cs b/sim/Statecraft.Sim.Tests/Gdd03MilitaryCatalogueTests.cs
index 5241669dc..4d5fe2ad4 100644
--- a/sim/Statecraft.Sim.Tests/Gdd03MilitaryCatalogueTests.cs
+++ b/sim/Statecraft.Sim.Tests/Gdd03MilitaryCatalogueTests.cs
@@ -15,7 +15,9 @@ public class Gdd03MilitaryCatalogueTests
{
var c = Catalogue(); var terms = Gdd03MilitaryCatalogue.Read(c);
// content/gdd03-balance.yaml:307-354; #1668 balance.md:129-137.
- Assert.Equal(5, terms.CampCapacity); Assert.Equal(3, terms.BasicTurns);
+ // camp_capacity: #1668's 5 places at 10,000 people a unit is 50 units at 1,000 a unit (owner, 1 November 2026:
+ // "Main's base x 0.3's tiers (Recommended)"; #2112).
+ Assert.Equal(50, terms.CampCapacity); Assert.Equal(3, terms.BasicTurns);
Assert.Equal(1, terms.IssueArms); Assert.Equal(0, terms.RepeatIssueArms);
Assert.Equal(0m, terms.DraftMoney); Assert.Equal(0, terms.DraftWait);
Assert.Equal(0m, terms.DemobiliseMoney); Assert.Equal(0, terms.DemobiliseWait);
@@ -191,7 +193,7 @@ public class Gdd03MilitaryCatalogueTests
{
var catalogue = Catalogue(); var capacity = catalogue.Values["military.camp_capacity"];
catalogue.Values.Clear(); catalogue.Values.Add("military.camp_capacity", capacity);
- Assert.Equal(5, Gdd03MilitaryCatalogue.ReadCampCapacity(catalogue));
+ Assert.Equal(50, Gdd03MilitaryCatalogue.ReadCampCapacity(catalogue)); // #2112: 50 units at 1,000 people a unit
Assert.Throws<ContentException>(() => Gdd03MilitaryCatalogue.Read(catalogue));
capacity.Values[0] = 0;
Assert.Throws<ContentException>(() => Gdd03MilitaryCatalogue.ReadCampCapacity(catalogue));
diff --git a/sim/Statecraft.Sim.Tests/Gdd03PerUnitRatesTests.cs b/sim/Statecraft.Sim.Tests/Gdd03PerUnitRatesTests.cs
new file mode 100644
index 000000000..8ae1e4977
--- /dev/null
+++ b/sim/Statecraft.Sim.Tests/Gdd03PerUnitRatesTests.cs
@@ -0,0 +1,68 @@
+using Statecraft.Sim;
+
+// #2112 (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"): D2 keeps the census cities at 1,000 people a
+// unit, so the gdd-0.3 tier rates are multiples of main's per-unit rate, as R-CRAFT-002 already does for craftsmen.
+public sealed class Gdd03PerUnitRatesTests
+{
+ // R-CITY-002, R-CRAFT-002: one synthetic production step at the Historical census start gives main's pay for one
+ // employed unit; the Industry tiers (ordinary or novice / apprentice / expert) are 1x / 2x / 3x of it.
+ [Fact] public void IndustryTiersAreMultiplesOfTheCensusStartJobIncome()
+ {
+ var c = ContentLoader.Load(RealContentTests.ContentRoot());
+ var s = Simulation.NewGame(c, 42, Mode.Historical);
+ var r = c.RulesAt(s.Date).Mvp!;
+ var yearFraction = SimTime.YearFraction(SecuritySystem.TurnLengthFor(c, s.Date, s.Rung));
+ Assert.All(s.Cities.Values, x => Assert.Equal(0, x.Craftsmen));
+ var employed = s.Cities.Values.Sum(x => x.Employed);
+ Assert.True(employed > 0);
+ var before = s.Treasury;
+ Cities.Produce(c, s, r, yearFraction, new List<Cause>());
+ var perUnit = (s.Treasury - before) / employed;
+ Assert.Equal(r.IncomePerJobPerYear * yearFraction, perUnit, 12);
+
+ var rates = Gdd03IndustryRates.Read(c.Gdd03Balance);
+ Assert.Equal(1m, rates.For(CivilianTier.None)); Assert.Equal(1m, rates.For(CivilianTier.Novice));
+ Assert.Equal(2m, rates.For(CivilianTier.Apprentice)); Assert.Equal(3m, rates.For(CivilianTier.Expert));
+ Assert.Equal(perUnit, rates.MoneyPerTurn(CivilianTier.None, r, yearFraction), 12);
+ Assert.Equal(perUnit, rates.MoneyPerTurn(CivilianTier.Novice, r, yearFraction), 12);
+ Assert.Equal(2 * perUnit, rates.MoneyPerTurn(CivilianTier.Apprentice, r, yearFraction), 12);
+ Assert.Equal(3 * perUnit, rates.MoneyPerTurn(CivilianTier.Expert, r, yearFraction), 12);
+ // An apprentice earns what main's craftsman earns (R-CRAFT-002, craftsman_income_multiple 2).
+ Assert.Equal(r.CraftsmanIncomeMultiple * perUnit, rates.MoneyPerTurn(CivilianTier.Apprentice, r, yearFraction), 12);
+ }
+
+ // R-FIELD-002, R-VET-002: the farmer tiers (novice / trained / veteran) are 2x / 3x / 5x field_food_per_turn, so they
+ // follow main's base when it changes (test-only base of 2 below).
+ [Theory]
+ [InlineData(1, 2, 3, 5)]
+ [InlineData(2, 4, 6, 10)]
+ public void FarmerTiersAreMultiplesOfFieldFoodPerTurn(int baseFood, int novice, int trained, int veteran)
+ {
+ var c = ContentLoader.Load(RealContentTests.ContentRoot());
+ var r = c.RulesAt(c.Rules.Start).Mvp!;
+ Assert.Equal(1, r.FieldFoodPerTurn);
+ r.FieldFoodPerTurn = baseFood; // test-only base
+ var rates = Gdd03FieldRates.FromCatalogue(c.Gdd03Balance!);
+ Assert.Equal(novice, rates.FoodPerTurn(CivilianTier.Novice, r));
+ Assert.Equal(trained, rates.FoodPerTurn(CivilianTier.Trained, r));
+ Assert.Equal(veteran, rates.FoodPerTurn(CivilianTier.Veteran, r));
+ }
+
+ // #2112 review: the conversions fail closed, with no default base and no silent overflow.
+ [Fact] public void ConversionsFailClosed()
+ {
+ var c = ContentLoader.Load(RealContentTests.ContentRoot());
+ var r = c.RulesAt(c.Rules.Start).Mvp!;
+ var industry = Gdd03IndustryRates.Read(c.Gdd03Balance);
+ Assert.Throws<ArgumentNullException>(() => industry.MoneyPerTurn(CivilianTier.Expert, null!, 1.0 / 12));
+ Assert.Throws<ArgumentException>(() => industry.MoneyPerTurn((CivilianTier)99, r, 1.0 / 12));
+ var fields = Gdd03FieldRates.FromCatalogue(c.Gdd03Balance!);
+ Assert.Throws<ArgumentNullException>(() => fields.FoodPerTurn(CivilianTier.Trained, null!));
+ Assert.Throws<ArgumentException>(() => fields.FoodPerTurn(CivilianTier.Apprentice, r));
+ r.FieldFoodPerTurn = int.MaxValue; // test-only base
+ Assert.Throws<OverflowException>(() => fields.FoodPerTurn(CivilianTier.Veteran, r));
+ r.FieldFoodPerTurn = null; // test-only: the GDD loader requires it
+ var ex = Assert.Throws<ContentException>(() => fields.FoodPerTurn(CivilianTier.Trained, r));
+ Assert.Equal("mvp.field_food_per_turn", ex.Field);
+ }
+}
diff --git a/sim/Statecraft.Sim.Tests/Gdd03ProjectCatalogueTests.cs b/sim/Statecraft.Sim.Tests/Gdd03ProjectCatalogueTests.cs
index c31c2b83f..0578dc8cb 100644
--- a/sim/Statecraft.Sim.Tests/Gdd03ProjectCatalogueTests.cs
+++ b/sim/Statecraft.Sim.Tests/Gdd03ProjectCatalogueTests.cs
@@ -54,7 +54,8 @@ public class Gdd03ProjectCatalogueTests
Assert.Equal(Gdd03ProjectCatalogue.CompletionEffect.MatchingTeacherCourseAndHousing, c.Projects[4].Effect);
Assert.Null(c.Projects[4].Capacity);
Assert.Equal("Default", c.Projects[3].StandaloneBasis); Assert.Equal("Default", c.Projects[4].StandaloneBasis);
- Assert.Equal(1m, c.Projects[5].Capacity!.Amount); Assert.Equal(5m, c.Projects[6].Capacity!.Amount);
+ // The military camp shares military.camp_capacity: 50 units at 1,000 people a unit (#2112, owner, 1 November 2026).
+ Assert.Equal(1m, c.Projects[5].Capacity!.Amount); Assert.Equal(50m, c.Projects[6].Capacity!.Amount);
Assert.Equal(new[] {
Gdd03ProjectCatalogue.CompletionEffect.OrdinaryHousing, Gdd03ProjectCatalogue.CompletionEffect.OrdinaryHousing,
Gdd03ProjectCatalogue.CompletionEffect.IndustryJob, Gdd03ProjectCatalogue.CompletionEffect.ReceptionBeds,
diff --git a/sim/Statecraft.Sim/CivilianProfessionRules.cs b/sim/Statecraft.Sim/CivilianProfessionRules.cs
index 932f03193..fe029282f 100644
--- a/sim/Statecraft.Sim/CivilianProfessionRules.cs
+++ b/sim/Statecraft.Sim/CivilianProfessionRules.cs
@@ -66,7 +66,8 @@ namespace Statecraft.Sim
return WithTierAndXp(p, tier, xp);
}
- // R-VET-002: always read the snapshot tier, never the proposed end-of-turn replacement.
+ // R-VET-002: always read the snapshot tier, never the proposed end-of-turn replacement. A farmer's quote is the
+ // catalogue tier, a multiple of field_food_per_turn (#2112); Gdd03FieldRates.FoodPerTurn converts it to Food.
internal static decimal OutputAtTurnStart(Content c, GameState turnStart, int id)
{
RequireFixture(c, turnStart);
diff --git a/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs b/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs
index 828b9ad0f..aa7496595 100644
--- a/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs
+++ b/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs
@@ -23,7 +23,8 @@ namespace Statecraft.Sim
}
}
- /// <summary>Frozen typed catalogue vector. Quotes rates; never awards Money or work receipts.</summary>
+ /// <summary>Frozen typed catalogue vector. Quotes rates; never awards Money or work receipts. Since #2112 a rate is a
+ /// multiple of R-CITY-002's per-unit job income, not Money; <see cref="MoneyPerTurn"/> converts it.</summary>
internal sealed class Gdd03IndustryRates
{
readonly decimal ordinary, apprentice, expert;
@@ -49,6 +50,14 @@ namespace Statecraft.Sim
CivilianTier.Apprentice => apprentice,
CivilianTier.Expert => expert,
_ => throw new ArgumentException("Unknown fixture tier.", nameof(tier)) };
+ /// <summary>#2112 (owner, 1 November 2026, "Main's base x 0.3's tiers (Recommended)"): the catalogue's tier rate
+ /// is a multiple of R-CITY-002's per-unit job income, so a tier earns <see cref="For"/> times
+ /// income_per_job_per_year for the turn's share of a year. A quote only; no Money moves.</summary>
+ internal double MoneyPerTurn(CivilianTier tier, MvpRules rules, double yearFraction)
+ {
+ if (rules == null) throw new ArgumentNullException(nameof(rules));
+ return (double)For(tier) * rules.IncomePerJobPerYear * yearFraction;
+ }
}
/// <summary>R-CITY-001/002: frozen synthetic capacity overlay, never a second population ledger.
@@ -126,7 +135,8 @@ namespace Statecraft.Sim
return Gdd03FixtureAssignmentResult.Applied;
}
/// <summary>Rate quotation for an explicitly supplied frozen fixture, not a month snapshot or payable receipt.
- /// Label is never identity. No Money/Food/XP/state mutation, time scaling or production consumer.</summary>
+ /// Label is never identity. No Money/Food/XP/state mutation, time scaling or production consumer. The total is in
+ /// multiples of R-CITY-002's per-unit job income (#2112), not Money.</summary>
internal decimal IndustryRate(string target)
{
ValidateInventory();
diff --git a/sim/Statecraft.Sim/Gdd03CraftArithmetic.cs b/sim/Statecraft.Sim/Gdd03CraftArithmetic.cs
index eb9c1e07a..b842b3cfb 100644
--- a/sim/Statecraft.Sim/Gdd03CraftArithmetic.cs
+++ b/sim/Statecraft.Sim/Gdd03CraftArithmetic.cs
@@ -85,6 +85,7 @@ namespace Statecraft.Sim
// Exactly ONE caller-confirmed participation receipt. Common owner must deduplicate by unit/turn
// before invoking and apply a result at most once. Realized output is deliberately not an XP input.
// R-CRAFT-002: tier before this tick quotes output; threshold crossing affects only TierAfter.
+ // IndustryIncome is the catalogue tier, a multiple of R-CITY-002's per-unit job income (#2112), not Money.
internal CraftWorkTick WorkTick(int unitId, CivilianTier tier, int workXp, CraftTickActivity activity, bool actualWork)
{
Nonnegative(unitId, nameof(unitId)); Nonnegative(workXp, nameof(workXp));
diff --git a/sim/Statecraft.Sim/Gdd03SyntheticFields.cs b/sim/Statecraft.Sim/Gdd03SyntheticFields.cs
index 6ec09cb30..91ac09fd4 100644
--- a/sim/Statecraft.Sim/Gdd03SyntheticFields.cs
+++ b/sim/Statecraft.Sim/Gdd03SyntheticFields.cs
@@ -49,12 +49,24 @@ namespace Statecraft.Sim
return values;
}
+ // The catalogue tier, a multiple of field_food_per_turn (#2112); equal to Food only while that base is 1.
internal int FoodFor(CivilianTier tier) => tier switch {
CivilianTier.Novice => noviceFood,
CivilianTier.Trained => trainedFood,
CivilianTier.Veteran => veteranFood,
_ => throw new ArgumentException("Requires a frozen farmer tier.", nameof(tier))
};
+
+ /// <summary>#2112 (owner, 1 November 2026, "Main's base x 0.3's tiers (Recommended)"): the catalogue's farmer tier
+ /// is a multiple of main's field_food_per_turn (R-FIELD-002), so a staffed field yields <see cref="FoodFor"/> times
+ /// that base. A quote only; no Food moves.</summary>
+ internal int FoodPerTurn(CivilianTier tier, MvpRules rules)
+ {
+ if (rules == null) throw new ArgumentNullException(nameof(rules));
+ if (rules.FieldFoodPerTurn == null)
+ throw new ContentException("rules.yaml", "mvp.field_food_per_turn", "required for the gdd-0.3 farmer tiers");
+ return checked(FoodFor(tier) * rules.FieldFoodPerTurn.Value);
+ }
}
/// <summary>Explicit fixture facts, not assignment authority or inferred terrain/control.