Starting nations and world size

Original EMP/player/commands/new.c initializes two sanctuary sectors, $25,000, 255 BTUs, zero national scores; first sector 1000 CIV/10 MIL/1000 food, second 100 CIV/100 UW/100 MIL/100 food. Optional at_least_one_100 sets natural riches to 100. Revival historical starts adapt these to active capital/farm, 999 and 250 civilians, 100 BTU cap and farm fertility 100, retaining natural mineral, oil, gold and uranium deposits. Legacy starts unchanged. Default revival world 256 × 128 contains 32,768 sectors, equal to BSD default 256 × 256 alternating-coordinate count, not identical topology. Large-world performance unverified.

v0.9.135 — Historical fiscal rates (live in historical workforce mode)

Original EMP/lib/global/constants.c: money_civ=0.0083333, money_mil=-0.0833333, money_uw=0.0037777, money_res=-0.0083333, bankint=0.25, money_ship=money_plane=-0.001. EMP/update/populace.c applies civilian efficiency and military pay, but does not reference money_uw. EMP/update/sect.c gives bank interest and capital expense at efficiency strictly above 60 after populated-sector checks. Ship.c charges embarked military and upkeep; plane.c charges fivefold flight pay and upkeep; technology below 85% of built tech doubles equipment upkeep. Nat.c charges reserve pay, not yet implemented in the revival.

Deterministic fractional dollars accrue in twelve steps per ETU rather than original integer truncation; historical mandatory expenses can create debt and are included in government costs. Equipment repairs retain existing adaptation and do not charge upkeep twice. Zero-cost industry and logistics remain enabled in debt; original insolvency-driven deterioration, reserve pay, exact update ordering and rounding are outstanding. Legacy financial rules retain prior values; migration increases credit precision by 100 without changing outstanding income or balances.

v0.9.135 — Configurable elapsed-time scale

Source: original EMP/lib/global/constants.c lines 19–20: 1,400 seconds per ETU, eight ETUs per original update. The revival retains twelve deterministic economic steps per ETU and defaults to 3,600 seconds. The PostgreSQL cursor advances in exact microsecond step boundaries with phase derived from the persisted step number; twelve steps always span one configured ETU. Queued speed changes are committed with simulation results at the first old-rate boundary strictly after the persisted request timestamp. No economic coefficient or overall work divisor changes here; original update sequencing and rounding remain intentionally different.

v0.9.131 — Industrial batch labor and fiscal audit

Original EMP/lib/global/product.c lists the industrial inputs and costs; EMP/update/produce.c materials_cost sums input amounts and adds one work for natural resources. Existing shell (3), gun (16), LCM (1), HCM (2), petrol (1) and bar (5) recipes already match these batch weights. Both live engines now use one rather than two work per uranium batch, with $2 per batch, the technology yield threshold of 40, and the existing 0.35-point depletion coefficient. Hourly forecasts honor an explicitly supplied treasury budget after construction; the fixed-step engine already applied funding limits. No schema change. Gold/oil/LCM rate coefficients, richness-dependent extraction efficiency, work-per-ETU normalization, the 9999 storage cap, deterministic rounding and the low-efficiency extraction exception remain separate from exact BSD behavior. The uranium credit denominator is unchanged; previously earned fractional rate credit is retained.

v0.9.129 — Source-verified resource depletion

EMP/lib/global/product.c sets p_nrdep to 20 (gold), 10 (oil), 35 (uranium), and zero for iron and fertility. EMP/update/produce.c subtracts roundavg(p_nrdep * material_consume / 100.0) after production and storage checks. Both revival engines now use deterministic hundredths per actual raw batch, including technology-dependent products. Three persisted fractional columns carry across steps; the remaining integer is the ceiling of actual richness, minus credit/100. Final batch rounds the exhausted balance to zero; GO_RENEW freezes existing richness and credits, does not replenish zero, and is a revival option (not found in this archive). No stock inventories or historic baselines are rewritten. Historical richness-weighted extraction throughput, work scaling, storage ceiling and randomized rounding remain differences. The current finite cap is a deterministic adaptation, not the exact BSD worker-limit calculation.

v0.9.128 — Source-verified national development

National development now follows EMP/update/nat.c, age.c and EMP/lib/global/constants.c at one ETU per simulated hour. The national census includes non-occupied sector civilians and civilians aboard eligible ships; UW and military are not counted. Sectors with no recorded old owner are treated as native. Education uses a target of raw education produced × 4000 / (12 × (census + 1)); happiness uses raw happiness × 5000 × (1.5 − (old education + 10)/(old education + 20)) / (12 × (census + 1)). Both targets are limited by diminishing returns above 5, with logarithm bases 4 and 6 respectively. Education moves toward its target with weights 192:1; happiness uses 48:1. Technology and medical research increments are limited above 0.75 after multiplying hourly production by 12, using logarithm bases 1.75 and 2, then dividing by 12. The limit for value x above threshold a is a + (x − a) / logb(b + x − a). Both accumulated research scores then decline by 1/9600 each simulated hour (configured 1% per 96 ETUs, not the outdated 48-ETU source comment). These steps occur once at a fixed hour boundary, regardless of scheduler polling. The existing direct happiness birth benefit and plague factor remain revival adaptations.

REPORT and the Economy history list gross production before national normalization, diminishing returns and decay; gross points are not direct additions to the displayed national score. Existing national scores are preserved until the next completed hour. Allied knowledge sharing and random world-leader catch-up are not yet ported; the existing workforce scale and one-ETU-per-hour clock remain unchanged.

Source census: update/sect.c counts civilians where old and current owners match; update/ship.c counts surviving ship civilians. This revival counts current eligible ship populations before later hourly ship processing. The age.c aging pass runs after production. Alliance sharing, world-leader diffusion and reserve aging remain outstanding. Existing national score values are not rescaled on upgrade.

v0.9.127 — Source-verified science recipes and research yield

Original archive EMP/lib/global/product.c and EMP/update/produce.c: technical and medical research consume 1 dust, 5 oil and 10 LCM, with summed labor cost 16 and $90 per batch. Libraries and parks consume one LCM and $9, labor cost one. Research depends on NAT_ELEV with minimum 5 and lag 10: output = batches × (education − 5)/(education + 5) for education above 5. Library and happiness have no level multiplier. The live national development engine now uses those values, with beginning-of-hour education, integer batch limits, existing reserved effective labor and sufficient funds. At exactly education 5 the original C can charge materials for zero output; the revival skips such batches intentionally. Historical national-level smoothing/decay, work/100 normalization, stochastic rounding, strict >60 efficiency and ability to overspend treasury are not ported. Current level aggregation and happiness birth bonus remain unchanged. No schema or credit format change. Older audit entries describing free parks or $300 technology are historical.

v0.9.126 — Historical work scaling audit (read-only)

Verified against the uploaded BSD 1.1 source archive SHA-256 d705b9c8e77e6001f01c5f9feb39ce8d722964fbb99271e810d806ec4e4546ee: EMP/update/populace.c, sect.c update/buildeff, produce.c produce/materials_cost/materials_charge, EMP/lib/global/product.c and constants.c. Weighted population = CIV × participation/100 + UW + 0.4 MIL. Raw work = roundavg(ETUs × weighted population / 100). For an unchanged designation, construction receives integer work/2 and costs one work and $1 per efficiency point, limited by missing efficiency. Redesignation tears down four efficiency points per work before rebuilding. Production uses remaining raw work × efficiency/100 × natural richness/100 (the last factor only for natural resource products). Worker-limited batches = roundavg(adjusted work / sum of input quantities, adding one for a natural-resource product). Product multiplier and national-level adjustment apply to output, not the labor budget. Source requires efficiency strictly greater than 60 and positive treasury at the call to produce; original storage threshold is 999. The guide's low-efficiency extraction examples differ from this exact archived C source; the revival retains its existing low-efficiency extraction behavior until the discrepancy is resolved.

ProductWork per batchOutput multiplierMaterial inputsBSD cost/batch
Iron, gold dust, oil, radioactives1 each1Natural richness$0 / $0 / $0 / $2
Food19Fertility$0
LCM111 iron$0
HCM212 iron$0
Petrol1101 oil$1
Shells312 LCM, 1 HCM$3
Guns1611 oil, 5 LCM, 10 HCM$30
Gold bars515 dust$10
Technology / research1611 dust, 5 oil, 10 LCM$90 each
Education / happiness111 LCM each$9 each

Natural resource depletion per raw batch: gold 20/100, oil 10/100 and uranium 35/100, using randomized rounding of the aggregate; iron and food do not deplete richness. Original national-level output for tech and research uses education above 5 and lag 10. The source's natural richness is a percentage, not directly interchangeable with revival inventory-like reserves. Current live science charges $300 for technology, uses two effective workers per scientific unit, and parks have no LCM cost; these are separate known deviations. Source's treasury checks permit a batch to overdraw an initially positive treasury; revival requires sufficient funds. Do not port this behavior implicitly.

Example: 500 participating CIV, 80% efficiency, one ETU, no construction or other charges gives 5 raw work and 4 adjusted work. A fully supplied HCM factory has 2 unrounded batches, and a farm with 100% fertility and tech 0 has 18 theoretical food before stochastic rounding. The live revival has far larger throughput; conversion requires coordinated rate and credit migration, not a single divisor. BsdHistoricalProductionRules exposes a pure reference for construction, material weights, resource scaling and batch ceilings before rounding; SECTOR reports raw work/ETU for owned sectors only. No live engine, credit format, database schema or Docker changes. Existing game balances and scheduling remain intact. Next: choose ETU configuration and transition strategy, test representative economies and convert both engines together.

v0.9.125 — Shared labor budget

Source: EMP/update/sect.c update(), buildeff(), growfood() and produce.c. Original update computes raw labor once, passes work/2 to buildeff, subtracts construction work and expenses, deducts emergency cultivation, then produces with remaining work and assigns sct_avail. The revival now deducts construction from the shared raw rate before efficiency scaling and commodity work, reserves industrial partial work exclusively, and reserves science labor for the hourly stage. The current one-ETU emergency crop is always zero before the historical free minimum ration, so no cultivation labor is charged. The provisional ten-point hourly cap, population/20 construction rate, existing efficiency-adjusted production scale and immediate designation changes remain; exact historical raw work/100, teardown, and update order are not yet ported.

v0.9.124 — Source-verified civilian participation

Original EMP/update/populace.c computes civilian labor from sct_work (0–100), resets participation for military-only sectors, and reduces sct_work by loyalty minus (50 + random()%15) when loyalty exceeds 65 and MIL is below integer CIV/20. Its starvation routine sets sct_work=0 and adds 2–9 to loyalty; sect.c recovers 8–22 after a non-famine update and restores sanctuary participation. The revival now persists participation, applies it to CIV labor only, resets it on actual famine deaths, adds deterministic five loyalty points capped at 127, and recovers deterministic 15 points at fixed-hour boundaries with food available and no same-step famine. Existing seeded resistance uses the source reduction, now applied to participation instead of leftover work. The hourly preview uses a single feeding/recovery calculation and does not simulate the separate resistance stage. Production uses the pre-feeding workforce; subsequent steps see the new participation. Construction and science use the persisted weighted workforce. Migration initializes existing rows to 100; no inventory rewrite. The original randomized recovery, exact update ordering, work/100 scaling and shared construction budget are not reproduced. Existing production rates and fixed five-minute credits remain.

v0.9.123 — Source-verified workforce contributions (historical)

Verified directly against the uploaded original BSD 1.1 archive: EMP/update/populace.c returns CIV × sct_work/100 + MIL × 2/5 + UW; EMP/update/sect.c computes roundavg(ETUs × populace/100), allocates up to half to buildeff before growfood and produce, and stores leftover work in sct_avail. buildeff charges one work and one dollar per efficiency point; tearing down a designation uses one work per four points. Famine sets sct_work to zero and non-famine recovery adds 8–22 points per original update, capped at 100; unrest can reduce it. Current release ports MIL at 40%, CIV and UW at 100%, with the historical unrounded work formula available as a reference helper. All production and science consumers of SectorWorkRules and the separate construction engine use the revised population weights. Current production efficiency scaling, per-hour normalization, deterministic rounding, separate construction budget and civilian participation assumption remain explicitly provisional. Adopting the additional /100 without recalibrating rates would radically reduce production; it is not applied to live budgets in this release. No schema change. The historical formula does not imply that efficiency and civilian participation are equivalent.

v0.9.122 — Historical adult food demand

Directly verified EMP/lib/global/constants.c eatrate=0.001, s_p_etu=1400, etu_per_update=8; EMP/update/human.c feed_people multiplies ETUs by CIV+MIL+UW and eatrate, comparing fractional demand to food stock, with survival max(0.5, (stock+0.01)/(demand+0.01)). EMP/update/sect.c skips feeding sanctuary. The revival keeps one ETU per simulated hour, fixed five-minute steps and deterministic whole-unit accrual (denominator 12000). It applies the original survival ratio to whole-unit charges, preserves the under-60 exemption, and caps aggregate casualties at floor(population/2). Legacy adult fractional food debt is converted exactly (×50), with newborn fractions preserved. The hourly preview begins with zero credits and reserve planning rounds up; the default automatic reserve remains 20 and explicit targets are unchanged. Farms, emergency rations and birth rates are unchanged. The original wall-clock ETU default, randomized roundavg, per-class truncation, and exact fractional shortage timing remain differences.

v0.9.121 — Source-verified ordinary population growth

Original EMP/update/human.c grow_people uses roundavg(obrate × ETUs × CIV) and roundavg(uwbrate × ETUs × UW), a per-group food limit of int(0.5 + food/(2 × babyeat)), and a combined newborn food charge of roundavg((newciv + newuw) × babyeat). Constants.c sets obrate=0.005, uwbrate=0.0025, babyeat=0.012; each group is capped at 999. Sect.c skips growth after starvation and in sanctuaries. The revival now implements those rates, food budget and capacity in both engines, with deterministic persisted fractions in the five-minute engine instead of stochastic rounding. Ordinary births require positive post-feeding food and skip sanctuary and sea. Charges use actual retained births rather than the original pre-cap counts. Legacy excess is preserved. The preview uses zero carry. Adult food consumption, under-60 protection, the farm-before-feeding sequence, ETU scaling (one per hour) and custom happiness bonus remain distinct from original BSD. UW birth/death accounting is covered in per-step conservation tests; persisted reports remain CIV-only. No new schema; legacy birth fractions 0–11 are discarded, existing adult fractions retained, and the two existing integer credit columns now encode the new fractions. Restore a pre-upgrade database backup for rollback.

v0.9.120 — Famine and population source audit (historical, food rate superseded above)

Original EMP/update/human.c computes food demand from CIV + MIL + UW, times ETUs and eatrate. When food is insufficient it multiplies each population class by max(0.5, (food + 0.01)/(demand + 0.01)), truncating each survivor count; otherwise it subtracts stochastic roundavg(demand). constants.c sets eatrate=0.001, obrate=0.005, uwbrate=0.0025, babyeat=0.012, 1,400 seconds/ETU and 8 ETUs/update (configurable). The source grows CIV and UW after successful feeding, limits births by food and a 999-class cap, and charges baby food. The original source does not implement the revival's explicit under-60 exemption; the contemporary guide supports small-settlement protection.

This release ports the half-population famine cap with deterministic proportional casualty allocation across CIV, UW and MIL, in the hourly preview and persisted five-minute engine. It caps total deaths at floor(population/2) per calculation rather than reproducing original per-class truncation. The existing 0.05 food/person/hour rate, 240-denominator fractional credits, per-step shortage severity, under-60 exemption, existing birth rates and feeding order remain. These are intentional compatibility choices, not original equivalents. No new births on a step with a shortage. The Blazor hourly food reserve indicator now includes MIL. No schema change or retroactive inventory changes. The original eating, birth and ETU scaling must be audited together before adopting the original rates.

v0.9.119 — Source-verified emergency ration fallback

EMP/update/sect.c checks food below 1 + ETUs × population × eatrate before feeding. growfood() uses min(work × fcrate, ETUs × fertility × fgrate), truncates the crop, forces one unit if resulting food is zero, caps the original stock at 999, and charges truncated crop / fcrate work. EMP/lib/global/constants.c gives fcrate=0.0013, fgrate=0.0012 and eatrate=0.0010. Under the revival's existing one-ETU-per-hour convention and 0–100 fertility, the paid crop always truncates to zero; only the free minimum-one fallback is active. It runs on the first persisted five-minute step of each simulation hour, not every scheduler update. The forecast includes one check for the projected hour. It applies to populated non-sanctuary land (including UW-only sectors in the revival), with no work or treasury cost, and contributes to food ledgers. The 9,999 storage limit, farm-before-consumption ordering, current feeding rates and under-60 starvation exemption are retained. This is a partial source-derived port, not full original ETU/workforce/feed ordering parity. No schema change.

v0.9.117 — Source-verified agribusiness output multiplier

Agribusiness now uses the original BSD ninefold food output multiplier (product.c V_FOOD p_effic=900). The revival’s hourly gross output is approximately 9 × effective workers × fertility/100 × (technology+10)/(technology+20), when technology is above −10. Effective workers retain the current efficiency-adjusted CIV+UW model. At technology 0, 240 effective workers and 100% fertility give 1,080 food/hour, before storage and consumption. Both engines use the same rate and five-minute fractional food credit; the former 1,000-unit production ceiling is removed. Food is capped by the existing 9,999-unit sector storage limit; blocked output and fractional credit at saturation are discarded, not banked. Fertility is renewable and food costs no materials or treasury funds. Available work is estimated from the actual output divided by yield per effective worker, not one work per food. Existing inventories, consumption, births and starvation formulas are unchanged. No new migration.

Original EMP/update/produce.c applies efficiency, natural-resource fertility, one natural-resource work unit and p_effic, then the technology factor. It uses stochastic roundavg() and a 999-item cap. The original EMP/update/sect.c also grows emergency rations before feeding people and gates normal production on efficiency > 60 and positive treasury. This release does not port that update ordering, gate, emergency-ration function or ETU workforce coefficients; it keeps existing low-efficiency agriculture, deterministic credits and revival storage rules. Those are outstanding parity questions, not verified historical equivalents.

v0.9.116 — Source-verified national production technology

The national technology yield factor is (T − minimum)/(T − minimum + 10) above the minimum, otherwise zero. Food, oil, LCM and HCM use minimum −10; petrol, guns and shells use 20; radioactives use 40. Iron, gold and bars are unaffected. The hourly preview and persisted five-minute simulation use the same curve. Raw input batches, not finished goods, determine material, labor, depletion and treasury charges; existing depletion coefficients and labor/base rates are retained. In v0.9.116 food’s existing base rate was scaled before accruing fractional food credit; the separate multiplier is implemented in v0.9.117. Integer industrial outputs use deterministic nearest-integer rounding per fixed step, not BSD roundavg; small batches may round up or produce nothing, and no raw inputs or expenses are charged for zero output. Fixed-step cadence is unchanged. No new schema migration; the v0.9.115 registration migration remains necessary if not already applied. Original sources: EMP/lib/global/product.c and EMP/update/produce.c.

Current refinery technology rule (v0.9.114): Refinery output now uses the owning nation's technology: zero at or below 20; above 20, expected petrol per oil batch is 10 × (technology − 20)/(technology − 10). Technology 30 gives 5; technology 50 gives 7.5. Both the hourly forecast and persisted five-minute engine use this formula. Oil, labor and $1 expenses are charged by explicit raw batches, not inferred from petrol output. Output rounds to the nearest integer (ties upward) per simulation step rather than historical stochastic roundavg; at very low yields a zero-rounded step spends no oil or money. Storage is limited by the smallest whole batch count that can fill it; a partial final batch still costs one oil and $1. Existing fixed-step scheduling, inventories, and schema remain unchanged. This release covers petrol only; technology adjustments for other products and exact historical stochastic rounding remain open. Original sources: EMP/lib/global/product.c and EMP/update/produce.c.

Previous refinery rule (v0.9.113): Original BSD product.c uses one oil input and one dollar per raw petrol batch, with p_effic=1000 producing ten petrol per batch before technology adjustments. Hourly and five-minute Empire production now use that tenfold output and charge the oil, labor and treasury by batches; output is limited by storage, and a partial final batch still costs one oil and one dollar. Earlier 1:1 output statements are superseded. Exact national technology and rounding formulas remain for later verification.

Source verification update (v0.9.112): Original BSD EMP/update/produce.c sums ingredient weights for factory labor. The hourly and fixed-step Empire engines now charge 1 work/LCM, 2/HCM, 5/gold bar, 3/shell and 16/gun. Fixed-step work carries only an incomplete production batch; unavailable inputs and treasury funds cannot stockpile work. Existing inventories and nation balances are not rewritten. The original petrol p_effic=1000 also means the previous 1:1 petrol model still omits the historical tenfold product output multiplier and technology modifiers. This remains a known fidelity gap.

Current source-verification update (v0.9.111): Original BSD 1.1 EMP/lib/global/product.c specifies one oil input per petrol output. Empire's hourly and persisted five-minute engines now follow this 1:1 ratio; previous 2:1 oil consumption is superseded. Inventory and national funds remain unchanged until subsequent production. Other rate multipliers remain provisional.

Current source-verification update (v0.9.110): Original BSD 1.1 EMP/lib/global/product.c is now inspected. It specifies 1 iron per LCM and 2 iron per HCM. Both Empire engines follow these input ratios. Earlier dated audit sections remain for history; claims that the C source was unavailable, or that 2 iron per LCM is source-verified, are superseded. Other coefficients remain under review.

BSD Empire economic formula audit — v0.8.77

v0.8.77 final Phase 1 economic parity review

Scope and evidence standard

The contemporaneous BSD Empire User's Guide, current to BSD Empire 1.1 patch level 5, supports ingredient relationships and selected sample ratios, but does not fully specify the C server's formulas. The 1992 empire-1.1.tar.gz archive is publicly listed, but download attempts from this environment failed. Accordingly this release does not claim exact 1.1.5 source-code parity. The following labels are used:

Confirmed discrepancy corrected

Heavy construction materials (HCM): Figure 13 identifies iron as the HCM raw input, without listing LCM. In v0.8.76 our heavy factory required both two iron and one LCM per HCM. This extra LCM requirement has now been removed from both the one-hour forecast and the persisted five-minute production engine. The player tooltip, player/admin HTML manuals, and the multi-day material-balance test were updated together. A regression test runs the factory with zero local LCM. The current numerical conversion of two iron per HCM remains provisional; the guide establishes the input commodity, not this ratio.

Parity decision matrix

Mechanic 1.1.5 evidence Current v0.8.77 behavior Confidence / decision
HCM raw inputs Guide Figure 13: HCM depends on iron HCM consumes iron; no LCM Guide verified inputs; provisional 2:1 ratio
LCM raw inputs Figure 14: 276 iron used for 138 LCM 2 iron per LCM Guide verified example
Gold bars Figure 14: 180 dust and $360 for 36 bars 5 dust and $10 per bar Guide verified example
Library Figure 14: 40 LCM and $360 for 40 education 1 LCM and $9 per education unit Guide verified example
Gold/oil at low efficiency Figure 14: gold at 27% and oil at 39% Positive efficiency can extract Guide verified examples; rates provisional
Civilians/UW labor Guide Chapter 10: CIV, UW and MIL can contribute available work Efficiency-weighted CIV+UW; MIL deferred to Phase 2 Role guide verified; coefficients provisional
Starvation exemption Guide Chapter 5: populations under 60 protected CIV+UW exemption; MIL not yet modeled Guide verified behavior; death rates provisional
HCM, petrol and uranium output rates Original C server needed Provisional five-minute work and rate coefficients Unverified
Civilian/UW taxation, banking, maintenance Rates vary with game configuration/ETUs Persisted fractional money credits, provisional defaults Unverified coefficients
Sector efficiency development Descendant Innards, not original 1.1.5 code Worker/treasury-limited growth Provisional
Education, technology and research Guide inputs/prerequisites and worked sample Science costs and scaling partly from descendant tables Partly verified; numerical scaling provisional
Parks/happiness Not established as a BSD 1.1.5 economic recipe Custom happiness output Deliberate extension
Logistics Guide supports highway/warehouse choices Least-cost path, multiple direct routes Core behavior matched; multiple routes extension
Update scheduling Original game uses ETUs/updates Five-minute persisted clock, 5-min and hourly/daily catch-up identical Implementation invariant, intentional scheduling difference

Regression evidence and remaining blockers

Contemporary source: https://www.empire.cx/infopages/Guide.html (Chapter 10, Figures 13 and 14). Archive listing: https://www.ftp.funet.fi/pub/unix/games/empire/source/ (1992 empire-1.1.tar.gz). Later implementation reference: https://www.empire.cx/infopages/Innards.html (not original BSD 1.1.5).


Source-verification status, November 2026

Historical BSD 1.1 server C source was located but was NOT read during this release. The public 1992 archive index lists empire-1.1.tar.gz; this execution environment cannot fetch that binary. Therefore no production constants are claimed to be source-verified. The improvements below are verified against Chapter 10/Figure 14 of the contemporary BSD 1.1 player's guide and against the current C# implementation. The guide is a historical primary description, but is not a substitute for the original C files.

v0.8.74 corrections and evidence

Behavior Primary evidence v0.8.74 implementation Remaining uncertainty
Low-efficiency gold extraction Original guide Figure 14 lists 79 dust at 27% Gold mines operate with workers and positive efficiency; still limited by deposit and storage Exact extraction throughput/rate not source-verified
Low-efficiency oil extraction Figure 14 lists 39 oil at 39% Oil fields operate with workers and positive efficiency; still limited by deposit and storage Exact extraction throughput/rate not source-verified
Other extraction Guide establishes different treatment for gold/oil vs blanket gate Mines and uranium also use positive-efficiency gate for consistency Iron and uranium low-efficiency boundary not directly shown in guide
Processing and research Later Innards describes 60% rule; original guide Figure 14 shows processing at 100% Retains 60% for factories, banks, refinery, library, technical center and research Historical 1.1 rule and formula unverified
Bank conversion Guide Figure 14 lists 36 bars from 180 gold dust and $360 Existing 5 dust/bar and $10/bar confirmed against guide example Full server options and other bank rules still unverified
Library conversion Guide Figure 14 lists 40 education from 40 LCM for $360 Existing 1 LCM/unit and $9/unit confirmed against guide example Labor and science scaling still unverified
Parks with no LCM Earlier park handling attempted a division by zero, then defaulted park LCM cost to 1 v0.8.74 added a zero-divisor guard; v0.8.75 corrects the actual park recipe to zero LCM Park/happiness is a non-BSD extension
Redesignated former farms Existing five-minute simulation carried farm food remainder into unrelated designation Nonfarms clear pending fractional food production credit Game consistency, not a source-derived BSD rule
Farm production forecast Existing one-hour forecast used divisor 300, while twelve five-minute steps sum to divisor 100 Corrected forecast to match actual simulation for fixed labor, fertility and no storage saturation Internal consistency fix; cultivation coefficient remains provisional

Original guide: https://www.empire.cx/infopages/Guide.html, Chapter 10, Figures 14–15 (production example and workforce discussion). Archived server source: https://www.ftp.funet.fi/pub/unix/games/empire/source/ (empire-1.1.tar.gz dated September 1992). The included optional scripts/fetch-bsd-reference.sh can fetch and validate the archive on a networked machine. It is not required to build or run Empire and does not alter source code or gameplay.

v0.8.75 additional corrections

The LCM input lookup now returns zero for parks; libraries still consume one LCM per education unit, and technical/medical centers still consume ten LCM per unit. Park wellness no longer depends on a supply of construction materials. Tests cover parks with zero and positive LCM stock and 59%-efficient parks staying inactive under the current provisional sector operating threshold. That release provided HTML player and administrator guides. Since v0.8.76, both manuals are maintained directly as HTML. No database migration is necessary.

Prior v0.8.73 audit (historical record)

This is a traceable comparison, not a claim of complete BSD 1.1.5 parity. We use Geoff Cashman's BSD 1.1 patch-level-5 User's Guide as the primary published gameplay reference. Where it doesn't give code constants, a later Empire Innards document is useful but explicitly warns that it is obsolete for current descendants. Numerical rules still require the original 1.1 server-source archive before being marked source-verified.

Documented behaviors corrected in v0.8.73

Area Evidence Change Confidence
Population under 60 BSD guide chapter 5: fewer than 60 people including CIV, MIL, UW do not starve Suppress starvation deaths for combined CIV+UW below 60 in both hourly projection and five-minute simulation; military population isn't implemented yet Original-guide documented
Production at low efficiency Later Empire Innards: skip productive sectors below 60% efficiency Superseded in v0.8.75: blanket mining gate contradicted by original BSD guide Figure 14. Processing/science keep provisional gate; extractive sectors require positive efficiency Original guide evidence for oil/gold; other thresholds source-unverified
Automatic sector development Later Innards: efficiency grows through workforce and costs $1 per efficiency point Added an hourly, treasury-limited efficiency increase and a separate persisted construction expense. The rate is provisional: up to 10 percentage points/hour, one point per 20 sector residents (CIV+UW) Cost documented in descendant; rate provisional
Undeveloped sectors Existing implementation had no automatic efficiency increases; gated industries would otherwise be stranded Development uses raw resident counts even at zero efficiency; workers, funding and time are required; manual IMPROVE remains available Game continuity fix; original formula unverified
Mineral richness >100% Existing world/admin model permits values up to 1000 and production preserves them Fixed the sector RESOURCE tooltip from clamping richness at 100% to 1000% Verified internal consistency
Economic update grouping Existing persisted five-minute clock Sector construction is applied at 12-step hour boundaries; 1 versus 12 administrative updates/hour consume the same completed hours Deterministic implementation and added test
Treasury reporting Government salary and manufacturing already had separate ledgers Added ConstructionExpenses to nation update history, REPORT and Blazor Economy; cost is deducted atomically and cannot exceed treasury Verified implementation, integration test pending

Current rules requiring original-source review

Subsystem Current Empire model What still requires verification
Work and UW Both CIV and UW use an efficiency-weighted labor sum Original CIV/UW weighting and avail allocation, UW births, capture and MIL labor
Food Fertility and labor produce renewable food; food consumed in five-minute steps; CIV+UW both consume Exact cultivation, eating, birth and maximum-starvation coefficients; potential differences between guide and later Innards on UW eating
Industries Iron, gold, oil, LCM, HCM, petrol, bars, uranium use stepwise rates Exact ratios remain open except guide-example LCM 2 iron and bars 5 dust. HCM now uses only iron; the 2-iron-per-HCM ratio is provisional.
Resources Iron richness and fertility persist; gold, oil, uranium deplete unless GO_RENEW Game-server option defaults, deposit extraction and storage caps
National finances CIV and UW taxes, bank interest, government salaries, production expenses, construction costs Server-specific ETUs, tax/interest rates, maintenance, treasury negative balances
Science 5 education prerequisite; LCM/gold/oil and funds constrain production; provisional education multipliers Original numeric science and education curves, tech decay, research formulas
Happiness and plague Park/happiness and medical research adaptation BSD loyalty and sector plague-stage mechanics (different from this adaptation)
Mobility Destination cost, 100% highways, path and packing/discount rules; mobility +10/hour cap100 Exact BSD 1.1 cost coefficients and server-controlled ETU regeneration
Scheduling One fixed, persisted five-minute simulation timeline Exact original update sequencing versus deliberate wall-clock-cadence invariance requirement

Source provenance

  1. Geoff Cashman, User's Guide to Empire, BSD 1.1 patch level 5: https://www.empire.cx/infopages/Guide.html. In particular, chapter 5 (population under 60), chapter 9 (education and technology), chapter 10 (industries and avail), and the glossary (UW means enslaved/uncompensated worker).
  2. Empire Innards (later descendant; explicitly marked obsolete and not an original BSD source): https://www.empire.cx/infopages/Innards.html. Describes 60% production threshold, efficiency improvement cost, food/update ordering, taxation, and minimum work.
  3. Original BSD 1.1 source archive index (1992): https://www.ftp.funet.fi/pub/unix/games/empire/source/. The empire-1.1.tar.gz file is listed here, but its contents could not be fetched in this development environment. Do not mark formula constants source-verified based only on this listing.

Remaining audit priority

Retrieve and inspect the original BSD 1.1.5 server source. Replace temporary constants with source-derived, game-configurable rates where appropriate. Add long-horizon fixtures that compare single-update and catch-up schedules, check zero-money conditions, starvation/recovery, efficiency growth into productive industries, and conservation of all commodities.

v0.8.76 extended integration testing

A three-day in-memory economic scenario now asserts scheduling-frequency equivalence (5-minute, hourly, daily, and single catch-up), conservation in automatic routes, industrial input/output balances, national fiscal reconciliation, and full-state checkpoint reload with exactly-once fixed-step progress. This tests the shared economic engines, not a PostgreSQL crash/recovery or historical formula parity. The HTML user and administrator manuals are maintained directly.

Empire v0.8.77 · BSD economic audit; offline technical reference

Sector conversion: original BSD desi.c and sect.c

Player requests set sct_newtype; below 5% efficiency the active type changes immediately and efficiency resets. buildeff dismantles at four points per raw work unit, switches at zero, and spends remaining work building at one point per unit. Both cost $1 per work. Live revival now persists a pending designation and applies this transition in both engines. Existing throughput, treasury cap and deterministic fixed clock are retained; the original half-work budget and ETU scaling remain outstanding. Emergency capital creation is deliberately immediate.

Historical workforce scale: opt-in implementation

Source: EMP/update/sect.c lines 95–101 and 166–176; EMP/update/produce.c workforce limit and materials_cost; EMP/update/populace.c. Historical mode divides weighted population by 100 per ETU, allocates at most half of each fixed-step raw work budget to construction, applies the strict >60 efficiency gate and natural richness percentage to productive labor, and carries partial work in integer units of 1/240000. Legacy mode stays default until game balancing. Existing labor credit columns have mode-specific encodings; switching modes clears them after catching up complete steps. National science is processed at the ETU boundary with partial research work held until sufficient. Uncommitted whole raw AVAIL is refreshed at each ETU boundary. Remaining differences: deterministic batch rounding, retained 9999 commodity capacity, treasury policy, emergency minimum ration, legacy richness above 100 clamped only for throughput, no historical shared technology, ship/plane construction and fiscal balance pending. Live database and .NET tests required.