A House Divided A House DividedDocumentation
↵
Changelog
Player Wiki/Advanced

Reference: Turn Order

Last updated 2026-11-15
Source files

Your Campaign click lands instantly, but votes, bills and money all settle on the hour. When the hour ticks, the game works through roughly a dozen top-level adapters that together call over 100 phase steps, in a fixed order. If you have ever wondered why a vote total moved after a bill passed, or why a final-turn canvass still counted, the answer is in this order. This page lists the groups of phases, what runs in each, and why the ordering matters.

1 turn = 1 game week = 1 real hour 48 turns = 1 game year


The order at a glance#

Group Phases Key constraint
0. Housekeeping Release shares held by banned or inactive shareholders; cold-war tension relaxes toward its pressure floor First, so everything downstream reads the current temperature
1. Resources Action refresh, fund generation, corporation turn (production, clearing, freight, marketing settlement), unions and NPP union behaviour, party influence, caucus tax Parallel-safe
1a. Finance NPP funds, savings interest, NPC bank policy, banking (deposits, loans, runs), pensions, prospecting resolution, macro country turn, bond coupons and maturities, commodity prices, extraction-contract settlement, line of credit, share-price recompute, bank solvency and supervision After corporations (bonds need updated liquid capital)
2. Demographics Turnout decay, party GOTV, party org maintenance, registration drift, pressure decay, priority-region decay, support decay and accrual, party tier (Major/Minor) Sequential
3. Party elections State/national/committee elections, party action generation, charter expiry, empty party cleanup, coalition disband votes, NPP relationship maintenance Parallel then cleanup
4. NPP behavior NPP bill sponsorship, challenger generation, election entry, bill voting, endorsement sweeps Uses shared NPP context
5. Bills, courts & cabinets Bill lifecycle, state bill timers, cabinet nominations, Supreme Court turn (docket and surprise cases), UK surprise cases, Fed (FOMC) nominations, social-axis drift Parallel-safe
6. Campaigns & events Campaign turn, player random events, world events, NPP action processing (every 4 turns), activity logging Sequential
7. Election resolution Inactive-candidate withdrawal → candidate party sweep → primary resolution → vote accumulation → campaign spend reset → timer advancement → primary snapshots (ballot accrual) → general resolution → clear resolved support → leadership vacate Strictly sequential: ordering is load-bearing
8. Parliamentary government Government formation, no-confidence and confidence votes, PM vacancy watcher After election resolution
9. Election coverage & diplomacy Perpetual elections, by-election watcher, leadership elections, stale-candidate cleanup, auto-reelection entry, international organizations (votes, treaties, foreign-policy planner), alignment and spheres, settlement crises (the German Question and its kin), impeachment lifecycle, presidential succession Parallel-safe
10. Fiscal year October processing (turn 40 of 48) Conditional
11. Effects & metrics Crisis turn, naval and air operations, ministerial orders, then policy effects; alongside them demographic effects, voter group approval decay, metric decay, investor-confidence decay, state-ownership concentration, subsidy budget, regional budgets; ministerial orders are where battles resolve Naval/air runs before battles so a battle reads this turn's sea control, air superiority and supply
12. National aggregation Metric engine, demographic flows, census, era crossing, metric activation, national metrics, fiscal base growth, economic model, trade growth mirror, inflation recalc, command economy, Forex, central bank chair turn, FOMC meetings, NPP monetary operations, chair removal and selection, independence desire drift, referendum lifecycle, party member-count reconcile After state effects
13. History Metric, approval, interest-rate and party snapshots; portfolio, corporate portfolio, stock exchange, investor ranking and wealth-list snapshots; game health; money-supply, ledger balance and reconciliation snapshots; economic vital signs Parallel-safe
14. Persistence Increment turn counter, save turn log, send live update Not wrapped in try/catch

Country-specific election phases (UK by-elections, JP Sangiin half-elections, DE Landtag cycles, and so on) run inside group 9 as their own named steps.

The anti-abuse scans (financial suspect scan, audit anomaly scan and suspicious-activity detection) are not part of the turn. They run just after the turn commits, on a fixed cadence of turns, and their results land on that turn's log.


What happens in each group#

Group 1: resources#

Runs at the start of every turn, in parallel:

Before any of this, the cold-war tension phase relaxes the world's shared gauge toward its standing pressure floor, so every later phase reads the current temperature.

Group 1a: finance#

Runs after corporations so bond coupon flows can read updated liquid capital:

Group 2: demographics#

Sequential (each step depends on the previous):

  1. Turnout decay: Campaign turnout modifiers decay toward zero with a 6-turn half-life (about 11% of the current value per turn; ). The older turnout modifiers used by legacy races decay 2% per turn.
  2. Party GOTV: Party GOTV budget distributed to states, boosting turnout modifiers for aligned demographics.
  3. Party org maintenance: Org bucket shares are refreshed, and organization can decay for parties that become inactive in a state or region.

Group 3: party elections#

State party elections, national leadership elections, national committee elections and party action generation all run in parallel. Then:

Group 4: NPP behavior#

NPPs run their autonomous decision logic:

Group 5: bills & cabinets#

All parallel:

Group 6: campaigns#

Group 7: election resolution (strictly sequential)#

This group decides who wins, so its order is fixed. The phases must run in this exact order. Reordering produces incorrect election results:

  1. Candidate party sweep: Candidates whose party no longer matches their candidacy are auto-withdrawn (party switches).
  2. Primary resolution: Primaries that have reached their end time are resolved. Down-ballot races read the cumulative primary ballots and the top count per party advances (the score path only where a party cast no ballots); presidential races read pledged delegates and, on the reworked ruleset, run the convention. Others are marked withdrawn.
  3. Vote accumulation: General elections accumulate votes for this turn from the registered electorate. MUST run after primaries (eliminated candidates are excluded) and BEFORE timer advancement (so the final turn's votes are captured). A turn that is re-run after a stall does not bank the same slice twice.
  4. Election timers: Countdown clocks advance; elections that have reached their end time are marked "completed."
  5. Primary snapshots: Standings are recorded for every open primary and, once a race's closing window has opened, that turn's slice of primary ballots is accrued.
  6. General resolution: Elections marked "completed" are fully resolved: winners determined, elected officials updated, characters receive office, next cycle spawned.
  7. Leadership vacate: Members who lost seats, changed chambers, or won a different office have leadership positions removed.

Why the order matters: If vote accumulation ran after timer advancement, final-turn votes would be lost. If primaries didn't resolve before vote accumulation, eliminated candidates would still receive votes.

Group 8: parliamentary government#

Runs after election resolution:

Group 9: election coverage#

Ensures no seat sits vacant:

Group 10: fiscal year (conditional)#

Only runs on the fiscal year-end turn (turn 40 of each 48-turn year, corresponding to October):

Group 11: effects & metrics#

Crisis turn, naval and air operations, ministerial orders and policy effects run one after another in that order, because they write the same metrics; everything else runs in parallel:

Group 12: national aggregation#

Sequential (each depends on previous):

  1. Metric engine and demographic flows: state metrics move; population migrates.
  2. Census and era crossing: a decennial census reapportions House seats and redraws district maps; scheduled era content resolves against the calendar year the world shows.
  3. GDP growth and national metrics: Country-level aggregates recomputed from state-level data: GDP growth weighted by state GDP, unemployment by labour force, most other rates by population.
  4. Trade growth mirror: Trade growth mirrored from the federal budget system to the central bank system (Forex prerequisite).
  5. Inflation recalculation: Per-turn inflation recalculated using updated national metrics.
  6. Command economy: plan fulfilment, directed credit, shortage and the marketization dial for planned economies.
  7. Forex turn: Exchange rates updated (when Forex is enabled). Reads inflation differentials and trade volumes; fills limit orders.
  8. Central bank chair turn and FOMC meetings: Chair scrutiny and bonuses updated; the Fed's rate meetings open and resolve at their deadline. (Fed nominations resolve earlier, in group 5.)
  9. Central bank chair selection: A chair who has taken executive office is removed first. Then every bank whose chair term has ended, whose seat was vacated, or that never had a chair draws from its nominees; a pick unanswered for 24 turns lapses and is redrawn.
  10. Referendum lifecycle and independence desire: UK devolved referendums advance.

Group 13: history#

All parallel, all read-only:

Group 14: persistence#

This group is not wrapped in the error-isolation pattern. A failure here is fatal to the turn:


What happens when a phase breaks#

Every phase (except Group 14 persistence) runs inside an error-isolation wrapper. If a phase throws, the error is:

  1. Logged to the console
  2. Sent to Sentry
  3. Recorded as a warning in the turn log

The turn does not halt. Subsequent phases continue processing. This means a broken bill lifecycle phase does not prevent elections from resolving. The admin panel shows warnings from the last turn.


Fast mode and the clock#

Fast mode runs turns every 30 minutes instead of every hour. Each processed turn still advances the game clock by at least one game hour and never backward, so in fast mode the clock pulls ahead of real time; normal mode lets real time catch up once fast mode ends ().

Stuck turns#

Every phase has a four-minute ceiling by default; a phase that runs past it is marked failed, recorded as a warning, and the turn carries on without its result. A turn whose process dies partway leaves the processing lock held, and a recovery sweep every five minutes repossesses an abandoned turn so the wait is bounded. That sweep is strictly a recovery path: it never starts a turn that is merely due, so the clock still advances only on the normal ticks. World News posts are de-duplicated so a turn that is taken over while still finishing reports each event once.


See also#

The Game Loop explains the turn cycle from the player's side, Reference: Formulas holds the math these phases run, Election Mechanics covers the election structure, and Snap Elections covers parliamentary dissolution triggers.

Ask