Empire manuals Player guide Administrator guide The Last Exodus

The Last Exodus and the Oracles

Read the fictional backstory of Empire. Each game represents a separate world settled by survivors of the AI War. A non-physical Watcher watches over each planet; in the story each country has an Oracle to receive announcements and convey reports and petitions. Watcher broadcasts, private petitions and a full campaign news archive are planned, not yet implemented. Existing public NEWS follows the historical three-day reading window; older stored public news is not currently available through that command. Private mail remains separate.

Getting started — build your first nation

Every world is a separate campaign. Your first objective is not to conquer as many sectors as possible, but to establish a country that can feed itself, grow its population and produce the materials needed for later development. This walkthrough describes a recommended opening for a normal new game; adapt it to your terrain, resources, campaign speed and neighbors.

1. Join a world and inspect your starting sectors

The Administrator login is reserved for management accounts. A successful administrator sign-in replaces the current browser player account and stops its playing-time window. Failed administrator sign-in attempts do not sign the player out. Choose Register (/register) on the public website, wait for approval, then sign in through Enter game (/game). Use Select a game in the top status area, enter your country name and join. The server creates your nation if a slot and suitable land are available. Returning to a joined world retains your nation. Administrators create worlds separately; players develop their countries within those worlds.

A normal historical-mode start provides a capital (c) and an agribusiness sector (a); older games may differ. Select Center on country. Inspect each owned sector's population, efficiency, mobility, stored food, natural resources and primary product. Check your BTUs (command budget), remaining daily playtime and next update. See starting assets and economic estimates for the normal profile.

2. Feed your country before expanding

The capital generates BTUs, not regular farm food. Keep it populated and protect its food supply. Fertile agribusiness sectors produce renewable food, and every inhabited sector consumes it. Start by connecting your farm to the capital:

  1. Double-click the farm to select Source, then double-click the adjacent capital to select Dest.
  2. Right-click an owned hex and choose Set Route (or use the route button above the map). On touch devices use the sector Actions menu.
  3. Choose Food, set a priority (for example 50), leave enough mobility for other work. Choose JIT (Just-in-Time) and set the feeding buffer. The source reserve is automatic. Select Save route.
  4. Inspect the food tooltip: stored food, estimated adult consumption per update and estimated updates remaining. As an initial planning buffer, aim for at least three scheduled updates of food in inhabited sectors, rounding up and allowing more for births, growth and interrupted deliveries. This is advice, not a game rule. If a sector is already low, use a manual food transfer rather than waiting for scheduled routes.

For example, a sector consuming 4 food per update needs at least 12 food for a three-update adult-demand buffer. A farm's own reserve must also cover its inhabitants. JIT fills a configurable priority food buffer (default five scheduled updates), then fills available storage. It does not create food or guarantee delivery. Manual weights remain available. Keep food routes at the same priority when you want them to share fairly, and check mobility and actual delivery results.

3. Explore and establish your first new sectors

Choose an adjacent unclaimed land sector, right-click Explore, choose an eligible owned donor and enter the number of civilians to move. Review and confirm the action. Leave enough civilians, food and mobility in the donor; do not blindly use the maximum. Exploration reveals natural resource richness. Once occupied, right-click the new sector and choose Change designation. Select the desired type, then inspect its production requirements. Transfer food to the new settlement and establish a food route from an adjacent supplier as needed. Repeat only when your existing settlements can support the expansion.

Use the following opening sequence as a checklist. A second farm is especially useful if the first is becoming unable to feed the expanding country. The exact number and order depend on terrain and existing supplies. For a transportation-first opening, build the inner highway ring before developing the production sectors in this checklist.

OrderSectorWhy build it / what to supply
1a AgribusinessAdditional food on fertile land when needed. Supply civilians and retain food for the farm itself.
2m MineRenewable iron on mineral-rich land. Supply civilians and food.
3j Light manufacturingLCM for education, happiness and later industry. Route iron from the mine; 1 iron per LCM.
4l LibraryDevelop national education using LCM and treasury funds. Education must exceed 5 before technical and medical research can produce.
5g Gold mine and o Oil fieldLocate finite gold and oil deposits; supply food and labor. Stockpile gold dust and crude (unrefined) oil for science.
6t Technical center and r Research laboratoryDevelop technology and medical research using LCM, gold dust, crude oil and money. Medical research counters plague pressure from technology.
7p Park and k Heavy manufacturingParks improve happiness using LCM and money. Heavy manufacturing converts 2 iron into 1 HCM for later construction and arms production.
Laterb Bank, % Refinery, d Defense plant, i Shell industry, h Harbor, f FortressDevelop finance, petrol, arms, ships and defense according to your resources, technology and strategic needs. Do not divert critical food or research inputs too soon.

Opening strategy: highway rings around your capital and farm

For a normal two-sector start, a transportation-first opening is to surround the capital (c) and agribusiness (a) with highways (+), develop two bands of production sectors around them, and then surround the production area with another highway ring. This is a suggested strategy, not a requirement or an automatic map-generation feature. Establish the direct farm-to-capital food route first.

Four-ring expansion plan. The example assumes adjacent starting sectors and uninterrupted habitable land. The rings follow actual hex adjacency; the map may be rotated or adapted to local terrain.
Highway-ring opening on an Empire hex mapAdjacent capital c and farm a, eight inner highway hexes, fourteen first production hexes, twenty second production hexes, and twenty-six outer highway hexes. Each ring is measured in hex steps from the nearest starting sector. Production hexes are labeled 2 or 3; highways use the plus symbol.+++++++33333++322223++32+++23++32+ca+23++32+++23++322223++33333+++++++
  • c Capital and a starting farm (gold)
  • + Highway rings (blue)
  • 2 First production ring (green)
  • 3 Second production ring (light green)
Expansion stageNew sectorsTotal sectorsPurpose
Start22Capital and agribusiness
Ring 1810Inner highway distribution network
Ring 21424First production band
Ring 32044Second production band
Ring 42670Outer highway network for further expansion

Build the inner ring first

Explore the adjacent land around both starting sectors and designate the new sectors as highways. Expand a few at a time, transfer enough civilians and food to develop them, and allow efficiency to reach 100%. Create directed adjacent JIT food routes from the farm along both sides of the highway ring. Keep the capital supplied directly. A highway is not a food producer; feed its population and leave a protected reserve for its own consumption.

Develop the two production rings

Use the production checklist above to choose designations in the next two bands, not as the order in which to designate the highway ring. Put farms on fertile land, iron mines on mineral-rich land, and gold mines and oil fields on suitable deposits. Place light and heavy factories near iron suppliers; place libraries, parks and research facilities near their material suppliers. Add farms as population grows, and protect food production before committing to industry. Every new inhabited sector needs food, even while its designation is being constructed.

The first production band can be supplied directly from the inner highway. The second band can receive food and materials through nearby production sectors until the outer highway is ready. Those intermediate production sectors must pay the normal cost to enter another production sector, so avoid relying on them as the only long-distance transport path.

Complete the outer highway ring

Once the two production bands are sustainable, build the next highway ring. The outer ring can supply the outer production band from its other side and provide a distribution backbone for the next expansion. Consider converting selected hexes in the two production bands to highway spokes to connect the inner and outer rings, or use intermediate suppliers where a direct spoke would waste a valuable resource deposit. Spokes reduce the number of production sectors but can greatly improve transport capacity. Additional farms near the outer ring can feed it without depending on a single inner farm.

Configure the routes, not just the terrain

  • In BSD timing, a 100% efficient highway costs zero mobility to enter. At 50% efficiency the entry cost is 0.1 mobility per weight-one unit. Entering an ordinary 100% efficient production sector costs 0.2 per weight-one unit. The sending sector pays; for example, 100 food costs zero to enter a completed highway and 20 mobility to enter a completed factory. Commodity weights and packing rules can change the cost. See Ground mobility.
  • Set adjacent FOOD routes to JIT. A common priority such as 50 on the highway backbone permits same-priority forwarding in a simulation step. Use smaller priority numbers where a critical destination needs preferential normal service; emergency feeding and buffer replenishment occur before discretionary surplus.
  • Use directed branches to distribute outward. A physical ring of highways does not require a closed loop of FOOD routes. Avoid unnecessary circular routes: prohibited short cycles are rejected and allowed longer cycles may have return edges deferred during distribution.
  • Set up separate iron, oil, LCM and other commodity routes when required. Newly received JIT food can be forwarded through eligible routes within a simulation step; other weighted commodities use opening inventory and can forward newly received stock on subsequent steps.
  • Route food from a highway into adjacent production sectors. Keep enough highway mobility for those paid final deliveries. Check the source food reserve, sector mobility reserve, route minimums and actual deliveries rather than assuming a highway automatically supplies neighbors.
  • Use multiple farms and transport branches so a single constrained route cannot cut off an entire production ring. The optional adjacent-farm emergency feeding rule, if enabled for your game, is a safety net, not a substitute for permanent supply routes.

Expand at the pace of your economy. The completed ideal layout contains 70 sectors, including 34 highways. It is a long-term plan, not a goal for the first update. Highways consume space, construction labor, treasury funds and food for their population. Build only as quickly as your farms, civilian workforce, capital BTUs, treasury and mobility permit. Adapt incomplete rings to coastlines, mountains, valuable deposits and enemy borders; a productive, well-fed country is more important than perfect symmetry. Review Reports and route exports after updates before expanding again.

4. Connect your production chains

Basic opening supply network (conceptual, not a map). Each arrow represents an intended supply flow; direct routes require adjacent owned sectors.
Food and early industrial supply chainsFarm feeds every inhabited sector. Mine provides iron to light and heavy factories. Light factory provides LCM to the library, park and science centers. Gold mine and oil field supply science centers.a Farm → Food to capital and every inhabited sectorm Mine: ironj Light factory: LCMl Library / p Parkt Technology / r Medicineg Gold dust + o Crude oilm Mine: iron → k Heavy factory: HCM → later construction

Place factories and their suppliers near each other when possible. Use the same Set Route procedure for iron, LCM, gold dust and crude oil. Direct routes fill available destination storage, subject to stock and mobility; warehouses are optional hubs and do not produce goods. Use manual weighted shares for industrial commodities. The smaller priority number is served first; keep food sufficiently high in priority where mobility is shared. Crude oil is not petrol: technical and research centers require oil, so do not refine their supply first.

5. Allow the economy to develop, then review

Most manufacturing and national-score production requires at least 60% efficiency, available labor, inputs and sometimes treasury funds. A designation does not instantly create production. Use the sector tooltip and Production forecast to check readiness. Review Economy and Reports after scheduled updates; verify food coverage, treasury, mobility, stockpiles and production before expanding again. Keep enough cash to operate; do not enlist so many troops that industry loses its workforce. Research and happiness are long-term investments, not immediate substitutes for food.

6. Before you leave the game

  • All inhabited sectors have a food source and a reasonable stock buffer.
  • Routes have adequate source reserves and mobility; no sector depends on a route that cannot deliver.
  • New factories have inputs and workers; your treasury can afford ongoing production.
  • Check when the next update occurs and inspect reports when you return. The world continues while you are away, and the game remembers your last selected world.

For more details, continue to the map and command interface, historical starting conditions and game timing and BTU rules. During open beta, use Report issue with the game ID, browser, action, expected and actual results. Your account email is used automatically. Never include passwords or tokens. SMTP must be configured by the administrator.

BSD defaults for newly created normal games

Normal game provisioning uses 1,400 seconds per ETU, automatic updates every 187 minutes (the original eight ETUs take 186 minutes 40 seconds, rounded to the nearest whole minute), 1,000 daily play minutes, historical economic work, 255 starting and maximum BTUs, and sector mobility maximum 127 with one point per ETU. Existing worlds and explicit combat-test fixtures keep their stored settings and legacy BTU/mobility rules. Five-minute idle accounting, UTC resets, automatic routes without BTU fees, deterministic update steps and the active capital/farm start are revival adaptations.

Default capacity for newly generated normal worlds is the integer count of habitable land and wilderness sectors divided by 384, rounded down with a minimum of one. Mountains and sea do not count. The administrator can override the limit; existing games keep their current capacity. This is a revival policy, not the original BSD country-slot limit.

BTU generation per complete ETU equals capital civilians (maximum 999) × capital efficiency (0–100) × 0.0004. Fractional BTUs accumulate until a whole point is available; a full balance discards surplus. BSD timing games use the historical command fees described below; older games without BSD timing retain legacy fees.

BTU generation by capital efficiency — 500 capital civilians, before whole-point settlement.
BTUs per ETU versus efficiencyLinear rise from zero to twenty BTUs per ETU.010200%50%100%Capital efficiencyBTUs per ETU
Efficiency (%)BTUs per ETU
00.00
204.00
408.00
6012.00
8016.00
10020.00

Command BTU fees in BSD timing games

Normal new games use the BSD timing profile. Its implemented action fees follow the base costs in original EMP/player/empmod.c and supplemental charges in the command implementations. This is independent of historical workforce mode. Upgraded worlds that already use BSD timing also receive these fees; legacy timing games retain their previous costs.

CommandBSD timing baseAdditional charge
MAP, CENSUS, PRODUCTION, POWER0None
EXPLORE, MOVE, DESIGNATE1None
ENLIST2None
ATTACK3floor(0.15 × battle casualties + 0.5)
FIRE, NAVALFIRE, BOMBARD, DEPTHCHARGE, FLEETFIRE1Wind-adjusted gun power / 20, nearest whole BTU (depth charges have no wind adjustment)
ASSAULT, BOARD, PARA3Existing source-derived casualty fee
BUILD, SAIL, NAVIGATE, LOAD, UNLOAD, TEND, FLEET assignment, DROP, SONAR1None
FLY, BOMB, MINE2None
RECON, TORPEDO3None
DECLARE, COLLECT2None
OFFER, CONSIDER, REPAY, RADAR1None
RELATIONS, TREATY, LEDGER, CONTACTS0None
SPY1Existing area fee
ROUTE, THRESHOLD, SHIPROUTE and scheduled transfers0None; deliberate revival policy

Casualty fees are based on simulated battle losses, not the number of troops committed. For example, losing 20 soldiers in total costs 3 + 3 = 6 BTUs for ATTACK. A fleet or air formation pays the base fee once per command. If the action cannot afford its full fee, all state changes roll back. A valid attempted mission stopped by defenses still pays its base fee. Emergency capital replacement remains free. RADAR costs one BTU for a successful station, ship or entire fleet scan. Diplomatic fees apply to the acting nation only, including offer decisions and loan repayments or collection. Passive reports remain free. Some trade and variable command charges still differ from BSD. Original BSD gun rounding is probabilistic; the revival uses deterministic nearest-integer rounding.

Diplomacy and radar BTU fees — passive reports remain free.
Historical diplomacy and radar BTU feesPassive reports are free; four commands cost one BTU and two cost two BTUs. Legacy costs are zero.Passive reports0OFFER1CONSIDER1REPAY1RADAR1DECLARE2COLLECT2BTUs per successful command
CommandLegacy BTUsBSD timing BTUs
Passive reports00
OFFER01
CONSIDER01
REPAY01
RADAR01
DECLARE02
COLLECT02
ATTACK cost versus total battle casualties — compare legacy and BSD timing games.
Attack BTU costs by casualty countLegacy cost is one BTU. BSD timing cost rises from three BTUs to eighteen at one hundred casualties.05101520020406080100Total battle casualtiesBTUsBSD timingLegacy
CasualtiesLegacy BTUsBSD timing BTUs
013
1015
2016
3018
4019
50111
60112
70114
80115
90117
100118

Starting a historical-mode nation

The normal new world is 256 × 128, or 32,768 sectors. Existing worlds may be smaller. Check SCHEDULE for the economy mode. Legacy nations retain the single-capital starting rules. The original BSD EMP/player/commands/new.c creates two sanctuaries with $25,000, 255 BTUs and national scores of zero. The revival starts with an active capital and farm, uses the 999 civilian limit and 255 starting BTUs in new BSD-default games (100 in older historical-mode games), and increases farm civilians to 250 so initial food production and taxes cover basic demand. This is a deliberate adaptation rather than a port of sanctuary mechanics.

Starting assetCapitalFarm
Civilians999250
UW0100
Military10100
Food1000100
Efficiency / mobility100 / 127 (BSD default)100 / 127 (BSD default)
FertilityExisting terrain100

Starting treasury: $25,000; BTUs: 255 in new BSD-default games (100 in older historical-mode games); technology, education, happiness and medical research: zero. The initial farm has 3.9 raw work per ETU and theoretical gross production of 17.55 food at technology zero, before batch rounding. Initial adult demand is 1.459 food per ETU for the two sectors. The capital does not produce regular farm food, so establish a food route from the farm to the capital and retain a farm reserve. No route is created automatically. Initial civilian tax is about $10.41/ETU versus $10.17 in military and capital expenses, before fractional settlement and discretionary spending. These are starting estimates, not promises of future performance.

Initial capital food reserve without deliveries — planning approximation using a rounded 1,000-unit start (actual 999), not a simulated game trace.
Initial capital food reserve without deliveriesFood units remaining by elapsed ETUs; numerical table follows.Capital reserve05001000024487296168Elapsed ETUs
ETUsCapital reserve
01000.00
8991.93
16983.86
24975.78
48951.57
72927.35
96903.14
168830.49
Illustrative farm population growth — planning approximation, not a simulated game trace.
Illustrative farm population growthPopulation by elapsed ETUs; numerical table follows.CiviliansUW0325650024487296168Elapsed ETUs
ETUsCiviliansUW
0250.00100.00
8260.18102.02
16270.77104.08
24281.79106.18
48317.62112.73
72358.01119.69
96403.54127.09
168577.88152.12
Cumulative net recurring income at initial population — planning approximation, not a simulated game trace.
Cumulative net recurring income at initial populationDollars above starting treasury by elapsed ETUs; numerical table follows.Net recurring income022.545024487296168Elapsed ETUs
ETUsNet recurring income
00.00
81.93
163.87
245.80
4811.60
7217.40
9623.20
16840.59

Food and treasury lines hold initial population and efficiency constant, ignore newborn food and discretionary expenses, and use continuous fractional rates. The growth line uses idealized per-ETU compounding before integer rounding, food limits and the 999 cap. Actual outcomes depend on routes, player decisions and simulated events.

Historical national finances (experimental mode)

Games using ADMIN WORKSCALE BSD collect $0.0083333 per civilian per ETU, multiplied by sector efficiency; UW generate no tax in the supplied BSD implementation. Military in sectors and aboard ships cost $0.0833333 each per ETU; aircraft crew receive five times that rate. An inhabited capital above 60% efficiency costs $1 per ETU. Inhabited banks above 60% earn $0.25 per stored bar per ETU.

Ship and aircraft upkeep is the greater of $1 or 0.1% of the type's full price per ETU, doubled when national technology falls below 85% of built technology. Mandatory expenses can make the treasury negative; income reduces debt and paid construction, repairs and research require available funds. Zero-cost production and automatic logistics remain available for recovery in the revival. Reserve-pay and bankruptcy-driven unit deterioration are not yet ported.

Civilian tax and military pay — theoretical dollars per ETU at 100% efficiency before fractional settlement.
Taxes and military wages per ETUAt full efficiency, civilian revenue is one tenth of the military wage expense for the same population.$0$20$40$60$80$10002505007501000PopulationGreen: civilian tax (100% efficiency)Orange: military pay
PopulationCivilian tax ($)Military pay ($)
00.000.00
1251.0410.42
2502.0820.83
3753.1231.25
5004.1741.67
6255.2152.08
7506.2562.50
8757.2972.92
10008.3383.33

At 100% efficiency, roughly ten civilians support one soldier before capital costs and equipment upkeep. The existing REPORT and Economy update ledger group mandatory payroll, capital and equipment upkeep under government expenses; repairs remain construction expenses. Legacy mode retains its former rates and upkeep behavior.

Historical workforce scale (experimental)

Check SCHEDULE to see whether your game uses the legacy or historical workforce scale. Existing legacy games keep that scale; newly provisioned normal games default to historical mode. Existing production charts showing population-sized work and ten-point construction per ETU apply to the legacy scale; product recipes, technology multipliers and other per-batch charts apply to both.

Historical mode uses raw work = (CIV × participation fraction + UW + 0.4 × MIL) / 100 per ETU. Half the raw budget at most is reserved for paid construction and dismantling, including partial work across steps. Industrial batches require efficiency strictly above 60%, as in original EMP/update/sect.c; multiply the remaining work by sector efficiency and, for natural resource products, richness divided by 100. Richness is capped at 100 for throughput without rewriting legacy resource values. Scientific facilities reserve effective work across steps and use the existing national science recipes at ETU boundaries. Uncommitted whole raw work is reported as AVAIL at each ETU boundary; fractional work is retained. Small sectors may need many ETUs to accumulate enough for a batch.

Example: 500 fully participating civilians at 100% efficiency, fertility 100 and technology zero provide 5 raw work per ETU and a theoretical farm yield of 22.5 food before rounding. The legacy scale instead gives 500 raw work and a theoretical 2,250 food. Historical mode retains revival storage capacity, deterministic whole-batch rounding, emergency food, funds checks and all existing tax and mobility rules. These are not exact historical parity; real throughput can differ from the theoretical averages.

Historical raw labor per ETU — before construction, efficiency and resource richness; legacy raw labor is 100 times this value.
Historical raw work per ETUOne hundred weighted people yield one raw work unit; one thousand yield ten.10501005001000Weighted population
Weighted populationLegacy raw workHistorical raw work
1001001.00
2002002.00
3003003.00
4004004.00
5005005.00
6006006.00
7007007.00
8008008.00
9009009.00
1000100010.00

See also the historical ETU comparison. Use PROD for a one-ETU forecast starting at zero fractional credits; it cannot predict the exact next production batch when saved credits are present.

Game speed and Empire time units (ETUs)

One ETU consists of twelve deterministic economic steps. Each game has an administrator-configured wall-clock duration for an ETU. New normal games default to the original BSD 1,400 seconds; existing games retain their stored durations. At 1,400 seconds, a step takes approximately 116.667 real seconds, with fractional microseconds distributed across the twelve steps. The automatic update interval controls when accumulated steps are processed, not how much economic time passes.

How to read the production charts and forecasts: the older labels “hour”, “hourly” and “five-minute” refer to one economic ETU or one twelfth of an ETU, respectively, unless explicitly identified as real time. At the legacy 3,600-second rate the two clocks coincide. At other speeds, multiply a per-ETU rate by 3,600 / seconds per ETU for an estimated real-hour rate. Actual production is discrete and may be constrained by food, materials, labor and storage. Real-time daily play limits, command idle timeouts and update scheduling are unchanged.

Use SCHEDULE to view the active and any pending ETU duration. The Economy page displays the next eligible economic step. Speed changes apply at the first old-rate step boundary strictly after the administrator's request; overdue steps are not recalculated under the new rate.

Economic speed by ETU duration — average ETUs accrued per real 24 hours.
ETUs per real dayThe original 1400-second setting gives 61.71 ETUs per day, compared with 24 at 3600 seconds.ETUs per real day300 s288.00600 s144.00900 s96.001,400 s61.711,800 s48.003,600 s24.007,200 s12.0086,400 s1.00
Seconds per ETUETUs per daySpeed relative to 3600 seconds
300288.0012.00
600144.006.00
90096.004.00
140061.712.57
180048.002.00
360024.001.00
720012.000.50
864001.000.04

Economic clock calculator

Convert the schedule shown by SCHEDULE into economic time.

ETUs per update—
Real seconds per simulation step—
ETUs per real day—

Twelve economic steps per ETU. Changing the update interval alone does not multiply production.

Population growth and newborn food

Ordinary births use the original BSD rates: CIV × 0.005 and UW × 0.0025 per ETU. At the revival's current one-ETU-per-hour scale these are 0.5% and 0.25% per simulated hour. Births require food remaining after feeding; each group has a rounded half-stock food budget. The combined newborn cost is 0.012 food per actual birth. Five-minute simulation retains fractional birth and newborn-food credits until whole units can be applied. No ordinary births occur in sanctuary or sea sectors, or when there is no food left after feeding. CIV and UW each stop growing at 999; legacy excess is preserved. Military does not reproduce.

Expected ordinary births per simulated hour — fixed population, enough food, before whole-unit rounding and capacity limits. Happiness bonus births are separate.
Civilian and UW birth ratesAt 800 people of a group, civilians accrue four births per hour and UW accrue two.012340200400600800Population of each groupExpected births/hourCIVUW
Population of each groupCIV births/hourUW births/hour
00.000.00
1000.500.25
2001.000.50
3001.500.75
4002.001.00
5002.501.25
6003.001.50
7003.501.75
8004.002.00

At fixed population of 800 CIV and 800 UW, six ordinary births accrue per hour before capacity effects. Eighty-four actual ordinary births consume one whole food with 0.008 food carried forward. The hourly preview starts with zero credits, so it cannot predict the exact step of a fractional birth or newborn food charge. Adult feeding averages one food per 1,000 combined CIV, UW and MIL per hour. The happiness bonus retains its separate food-reserve requirement and existing rules. Existing reports count civilian births only; UW growth is reflected in sector inventories.

Emergency food and starvation

On the first five-minute step of each persisted simulation hour, populated land sectors can grow emergency rations before feeding, regardless of designation (except sanctuary). Original BSD sect.c uses min(work × 0.0013, ETUs × fertility × 0.0012) and truncates the crop. The revival currently uses one ETU per hour and fertility of 0–100, so that crop is always below one unit. The historical minimum-one exception therefore supplies one free food unit when the sector is empty, even if fertility or effective work is zero. It consumes no labor or treasury. The normal farm crop is calculated separately; both count toward gross food production.

Emergency rations now match the historical adult food rate: one food per 1,000 combined CIV, MIL and UW per simulation hour, before rounding. At this scale a single ration can cover many small sectors for several hours; the ration is only created when stock is empty at the hourly check. Larger sectors and population growth still require reliable supplies. The under-60 starvation exemption is retained. Sanctuary and sea sectors do not consume ordinary sector food. Scheduler frequency cannot multiply the ration.

When a whole-unit meal comes due and available food is insufficient, the survival fraction is max(0.5, (food available + 0.01)/(food due + 0.01)). Total casualties are rounded down and allocated across CIV, MIL and UW. The cap is per feeding calculation, not per hour. The deterministic simulation carries fractional demand across five-minute steps instead of testing every fractional shortage as BSD did. No ordinary births occur after a famine loss. Hourly previews start with zero credits, so a zero forecast does not mean no food is required.

Famine losses for a whole-unit meal — Example: 2,400 people, two whole food due, no additional food or plague. Deaths are calculated from the available stock and capped at half.
Famine losses for a whole-unit mealExample: 2,400 people, two whole food due, no additional food or plague. Deaths are calculated from the available stock and capped at half.0300600900120000.511.52Food availablePopulation lossesCapped famine deaths
Food availableCapped famine deaths
01200
11194
20
Emergency food versus hourly demand — Expected adult food demand; emergency ration is at most one per hour when an eligible sector is empty. Excludes newborn food and farm output.
Emergency food versus hourly demandExpected adult food demand; emergency ration is at most one per hour when an eligible sector is empty. Excludes newborn food and farm output.00.751.52.2530750150022503000PopulationFood per hourAdult demandMaximum emergency ration
PopulationAdult demandMaximum emergency ration
000
200.021
600.061
1000.11
2000.21
5000.51
100011
15001.51
200021
25002.51
300031

On the server, use the User guide link in the home page navigation or sign-in page. The online guide contains the same charts as this offline file. The linked administrator guide requires an administrator account when served online.

Workforce contributions and available labor

Original BSD populace.c weights CIV by their separate participation percentage, MIL by 0.4, and UW by 1.0. Civilian participation is stored independently from efficiency and starts at 100%. Effective workers are floor((CIV × participation/100 + 0.4 × MIL + UW) × efficiency/100). Troops therefore contribute some local labor as well as defending their sector. Construction uses the same population weights before efficiency, so a garrison can help develop a new sector at 0% efficiency.

Effective workers per 100 residents of one group — current production model, assuming full civilian participation.
Effective workforce by efficiencyCivilians and UW contribute equally; military contributes forty percent as much. All are scaled by sector efficiency in the current revival.00%2525%5050%7575%100100%Sector efficiencyEffective workersCIV or UWMIL
Efficiency (%)100 CIV100 UW100 MIL
0000
1010104
2020208
30303012
40404016
50505020
60606024
70707028
80808032
90909036
10010010040

Example: 100 CIV, 100 UW and 100 MIL at 50% efficiency yield 120 effective workers (formerly 100). The five-minute budget earns 10 work per step at that constant population, before industry. Avail reports leftover work in the latest step, not a stockpile of hourly work.

Historical BSD instead computes roundavg(ETUs × populace / 100), uses up to half the available work on sector construction before food and industry, and leaves remaining work in sct_avail. The revival has not yet adopted that scale, but now shares the construction budget; this chart describes the current game, not exact historical production units. The current construction rate is one point per 20 weighted residents per hour, capped at 10 and by available treasury. Existing inventories and credits are unchanged by migration.

Famine casualties reset civilian participation to zero and increase the unrest (loyalty) counter by five, capped at 127. Original BSD adds a random 2–9. At the end of each fixed simulation hour, when food was available for that step and no famine deaths occur, participation recovers 15 percentage points, capped at 100 (original BSD adds a random 8–22 per update). Recovery does not multiply with the administrative scheduler. The existing hourly resistance stage reduces participation for loyalty above 65 when the garrison is below the integer CIV/20 threshold, using the original random reduction. This affects later production; UW and MIL labor are not reduced by civilian participation. Sanctuary restores full participation. View the current percentage in SECTOR or Economy; administrators may set it in God Mode.

Historical work per ETU (reference only in legacy mode)

Original BSD divides weighted population by 100 before multiplying by ETUs. Legacy mode still uses the existing raw workforce scale. Historical mode uses the divisor in live simulation. The SECTOR command now displays the historical raw work per ETU before rounding alongside actual AVAIL. It is a reference, not a new spendable balance. Original updates use randomized rounding and allocate at most half of rounded work to unchanged-designation efficiency construction. The original defaults are 1,400 seconds per ETU and eight ETUs per update; neither default changes the revival clock in this release.

Original BSD work before construction and rounding — weighted population, one versus eight ETUs.
Historical raw work per updateAt weighted population 1000, one ETU gives 10 raw work and eight ETUs give 80. Historical mode uses the divisor; legacy mode retains the prior scale.8040005001000Weighted populationOne ETUEight ETUs
Weighted populationWork / 1 ETUWork / 8 ETUs
1001.008.00
2002.0016.00
3003.0024.00
4004.0032.00
5005.0040.00
6006.0048.00
7007.0056.00
8008.0064.00
9009.0072.00
100010.0080.00

Shared labor budget

Normal sector construction spends one raw work unit and $1 per efficiency point before production. Dismantling a pending conversion removes up to four points per work unit. Up to ten points per hour, limited by weighted population / 20, are distributed across the twelve fixed five-minute steps. Each paid point subtracts twelve from the hourly-equivalent raw worker rate for that step before efficiency scaling. A stable population of 240 supplies 240 raw work/hour; ten construction points leave 230 raw work before efficiency adjustment. The historical free emergency ration costs no work at the current one-ETU-per-hour scale. Industry uses remaining effective work, and partial factory labor is reserved rather than exposed in AVAIL. Libraries, research, technology and parks reserve their effective labor until the fixed hourly science update; unused whole work is then released. This is a deterministic adaptation; exact BSD work/100 scaling is not yet used. Production forecasts assume funds for construction and apply its hourly improvement at once; actual five-minute output can differ.

Shared raw labor budget — 240 fully participating civilians, sufficient treasury, fixed population.
Construction and remaining laborAt most ten raw work units are used for construction in an hour, leaving 230 or more of 240 raw work units for efficiency-adjusted production.24012000%50%100%Starting sector efficiencyRemaining raw workConstruction work
Efficiency (%)Construction work/hourRemaining raw work/hour
010230
1010230
2010230
3010230
4010230
5010230
6010230
7010230
8010230
9010230
1000240
Civilian participation after famine — no new famine or unrest; food available at each recovery check.
Civilian workforce recoveryAfter famine, participation recovers fifteen points per fed simulation hour, reaching one hundred after seven hours, assuming no unrest or further famine.0%20%40%60%80%100%01234567Fed simulation hours since famine
Fed hoursParticipation (%)
00
115
230
345
460
575
690
7100

Sector conversion and construction

DESI X Y SYMBOL requests a new designation. At efficiency below 5%, the type changes immediately and efficiency resets to zero. Otherwise the old type stays active while each paid raw work unit removes up to four efficiency points. At zero the new type becomes active, and leftover construction labor builds it at one point per unit. Both operations cost $1 per work unit. Request the current type again to cancel conversion; efficiency already lost is not restored. SECTOR and the Economy table show the pending type. Map symbols show the active type. An emergency capital may be designated immediately at zero efficiency if no capital remains. The current live construction throughput is retained (weighted population / 20, maximum ten work units per hour); the original BSD half-work rule awaits unified historical scaling.

When changing an owned wilderness sector to a bank (b), the new type appears immediately if efficiency is below 5%. Otherwise the tooltip, selected-sector panel and designation dialog show the pending bank conversion and remaining demolition work. The dialog stays open after submission so you can read the command response. Supply workers, food and treasury funds and allow economic updates to complete the conversion.

Sector redesignation calculator

Estimate paid work and treasury cost to change to a different designation and rebuild to a chosen efficiency.

Demolition work units—
Construction work units—
Total work units—
Treasury cost ($)—

Below 5% the designation changes immediately at zero efficiency; otherwise demolition removes four points per paid work unit. Construction adds one point per $1 work unit. This is work, not elapsed time; labor, food, treasury and update timing affect progress. Emergency capital exception not modeled.

Converting a 100% developed sector — cumulative paid construction work; $1 per unit.
Efficiency during sector conversionThe old sector loses four efficiency points per work, then the new sector builds one point per work.100%50%0%02575125Cumulative paid work unitsOld sectorNew sector
Paid workOld efficiency (%)New efficiency (%)
01000
5800
10600
15400
20200
2500
3005
50025
75050
100075
1250100
Uranium extraction labor capacity — Raw batches per simulated hour at the current work scale, with sufficient richness, storage and treasury. Technology adjusts finished output; it does not change labor per raw batch.
  • Blue solid: current one work per batch
  • Green dashed: former two work per batch
Uranium extraction labor capacityCurrent raw batch capacity equals available effective work; former capacity was half. Values before resource, treasury, storage and technology limits.002020404060608080100100120120Effective work per simulated hourRaw extraction batches
Effective workFormer batchesCurrent batches
000
10510
201020
301530
402040
502550
603060
703570
804080
904590
10050100
11055110
12060120

At technology 50, 10 raw batches yield 5 radioactive units, cost $20 and reduce finite richness by 3.5 points. The current extraction scale is not yet the original BSD work-per-ETU or richness-dependent throughput.

Production charts and planning

The in-game User guide opens in a separate browser tab, so you can consult these charts without navigating away from your game.

Use these charts to plan industry and research. The figures are based on the current Empire production formulas verified against BSD 1.1 product.c and produce.c. They show idealized gross production, not a promise of actual inventory gains. Sector efficiency, effective CIV/UW workforce, resources, labor, available funds, food consumption, storage and integer rounding can reduce actual output. All charts and data tables are embedded in this guide and work offline without JavaScript or external services.

Production and storage are different: local commodity production stops when the product inventory reaches 999 units, including food. Automatic direct and warehouse deliveries receive up to 999 commodity units in ordinary sectors or 9,999 in warehouses. Manual and automatic deliveries share the same hard storage limits. The database upgrade discards excess goods; production resumes when stock falls below 999. Plan exports to keep producers working. JIT food buffers and emergency reserves are unchanged.

Refinery output calculator

Estimate a batch run using the implemented refinery technology factor and oil recipe.

Petrol per oil (before rounding)—
Oil consumed / paid batches—
Petrol produced—
Treasury cost ($)—

One crude oil and $1 per batch; technology must exceed 20. Capacity is the already available batch budget, after other labor expenses. Output uses nearest whole petrol and stops at 999 stored petrol. Imported stock above 999 is preserved. Actual economic steps can carry fractional labor and round separately.

Refinery yield versus technology — No petrol at technology 20 or below; the curve approaches ten petrol per oil as technology rises. The treasury pays $1 per processed oil batch. Before integer rounding, available work, oil, storage and funding limits.
  • Petrol per oil
Refinery yield versus technology No petrol at technology 20 or below; the curve approaches ten petrol per oil as technology rises. The treasury pays $1 per processed oil batch. Before integer rounding, available work, oil, storage and funding limits. Exact example values follow in the table. 0 2 4 6 8 10 0 25 50 75 100 125 150 175 200 National technologyPetrol per oil
Illustrative gross output, before rounding (two decimal places).
TechnologyPetrol per oilPetrol per 100 oil
00.000.00
200.000.00
253.33333.33
305.00500.00
406.67666.67
507.50750.00
608.00800.00
1109.00900.00
2009.47947.37

Production technology calculator

Compare the technology factor for one-output-per-batch industrial production.

Technology yield (%)—
Equivalent one-unit output—

The factor is excess technology divided by excess + 10. Output assumes one finished unit per raw batch before the modifier; food and petrol use separate multipliers, so use their dedicated calculators. Does not estimate available batches or input costs.

Production efficiency by commodity — Basic industries start at 50% at technology zero. Petrol, guns and shells require technology above 20, and radioactives require above 40. Iron, gold dust and gold bars are not affected by this curve.
  • Food, oil, LCM, HCM
  • Petrol, guns, shells
  • Radioactives
Production efficiency by commodity Basic industries start at 50% at technology zero. Petrol, guns and shells require technology above 20, and radioactives require above 40. Iron, gold dust and gold bars are not affected by this curve. Exact example values follow in the table. 0 20 40 60 80 100 0 25 50 75 100 125 150 175 200 National technologyOutput factor (%)
Technology multipliers before rounding (percent of unadjusted output).
TechnologyBasic (%)Petrol / guns / shells (%)Radioactives (%)
050.000.000.00
1066.670.000.00
2075.000.000.00
3080.0050.000.00
4083.3366.670.00
5085.7175.0050.00
6087.5080.0066.67
8090.0085.7180.00
10091.6788.8985.71
15094.1292.8691.67
20095.4594.7494.12

Agribusiness production calculator

Estimate gross farm output using effective workers after efficiency and other labor costs.

Gross food per ETU—
Estimated gross food stored—
Estimated food after production—

Based on the nine-food recipe and technology factor. Constant workers, fertility and technology; zero initial production credit; assumes no consumption or exports during the interval. Local food production stops at 999 stored food; warehouse storage may exceed the production ceiling. Actual work is shared with construction and other activity.

Agribusiness output comparison — Example: 100 effective workers, 100% fertility and sufficient storage. The dashed former rate illustrates the missing ninefold multiplier; the solid line is the current rate.
  • Current ninefold food yield
  • Former onefold food yield (v0.9.116)
Agribusiness output comparison Example: 100 effective workers, 100% fertility and sufficient storage. The dashed former rate illustrates the missing ninefold multiplier; the solid line is the current rate. Exact example values follow in the table. 0 180 360 540 720 900 0 25 50 75 100 125 150 175 200 National technologyGross food per hour
Theoretical gross hourly food, before rounding, storage and consumption.
TechnologyFormer food/hourCurrent food/hour
050.00450.00
1066.67600.00
2075.00675.00
3080.00720.00
5085.71771.43
10091.67825.00
15094.12847.06
20095.45859.09

See refinery batch accounting, national technology and production and agribusiness production for the corresponding rules. Research has diminishing returns; raising technology does not replace workers or resource logistics.

BSD refinery technology and batch accounting

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.

BSD refinery output and national treasury costs

Refineries now produce up to ten petrol from one oil per raw production batch, subject to workers, storage capacity and available national funds. The original BSD Empire 1.1 product.c sets petrol's output multiplier to 1000 (tenfold). The nation pays $1 per oil-processing batch, not per petrol unit. A final batch with less than ten free storage slots may fill the remaining slots, still spending one oil and $1. If no oil, work, space or funds are available, no petrol is produced. The five-minute and hourly simulations use the same rule, and existing inventories are unchanged. The v0.9.114 section above supersedes the unadjusted yield.

v0.9.112 — Factory workforce and production-cost audit

The original BSD 1.1 EMP/lib/global/product.c and EMP/update/produce.c calculate factory labor per produced unit from the amount of raw materials required. Empire now requires 1 work for LCM, 2 for HCM, 5 for a banked gold bar, 3 for a shell, and 16 for a gun, in both the hourly estimate and the persistent five-minute simulation.

Unused labor needed to complete one factory batch carries forward across five-minute updates, so small staffed factories can produce over time. The carry is bounded to less than one full batch and is discarded when material, storage, or treasury restrictions prevent production. This uses the existing work-credit column without a migration. Existing sector stocks and treasury balances are not rewritten. The national production prices remain $3 per shell, $30 per gun, $10 per gold bar, and the currently modeled $1 per petrol. Those costs apply only when production actually occurs.

Accuracy note: The original petrol product additionally has a p_effic factor of 1000 (ten units of petrol output per raw-oil production batch, before national technology adjustments). Our v0.9.111 1:1 petrol model remains an approximation of the input formula rather than full historical output parity. Broader labor-efficiency, technology-level and production-multiplier rules are still being audited.

v0.9.111 — Original BSD oil-to-petrol recipe

The initial v0.9.111 implementation corrected the raw ingredient weight to one oil, but incorrectly treated it as one oil for one petrol. The original BSD product.c also defines a tenfold output multiplier. The current engine now implements one oil batch yielding up to ten petrol; see v0.9.113 above. Refinery technology modifiers are described in the v0.9.114 section above.

v0.9.110 — Source-verified LCM iron recipe

The original BSD Empire 1.1 server table (EMP/lib/global/product.c) requires one iron per LCM and two iron per HCM. Both hourly production estimates and persisted five-minute updates now use these material requirements. Future manufacturing consumes less iron at light factories; already stored resources and existing treasury balances are not retroactively changed. No database migration is needed. Other original production multipliers, work allocation, and national tax rates require separate review.

v0.9.109 — Report an issue by email

Sign in to Empire and choose Report issue in the top navigation (or open /report-issue). Choose Bug, Gameplay, Interface, Suggestion, or Other, then provide a short title and detailed explanation. Your registered account email is used automatically for replies; there is no email field to fill in. Accounts without an email on file can still submit a report, but cannot receive a direct email reply. Steps to reproduce and game ID are optional. Your signed-in username, role, and Empire version accompany the report. Do not include passwords, login tokens, or private credentials.

Reports are sent to the administrator's configured mailbox using encrypted SMTP. A successful delivery is confirmed on screen. If SMTP is not configured, the form explains that the feature is unavailable; an SMTP failure never shows a false success. To reduce spam, each signed-in account can send at most one successful report every five minutes. Reporting does not change your nation, spend BTUs, or start gameplay time, and is available to administrators as well as players. No command line is required.

Aircraft overflight and diplomatic relations

BSD Empire 1.1 EMP/player/subs/aircombat.c governs who may attack an overflying foreign aircraft. The defender's declared position toward the flying nation controls sector anti-aircraft guns, fighter interception and shipboard anti-aircraft guns. Relations are directional: the flying nation cannot force the defender to fire simply by declaring war.

Defender's positionSector flak Fighter interceptionShip flakSector sighting notice
Neutral (default)NoNoNoYes
AlliedNoNoNoNo
HostileYesYesYesYes
At warYesYesYesYes

Use DECLARE HOSTILITY nation-id or DECLARE WAR nation-id through the Blazor diplomatic popup to authorize defensive fire against that nation. Use RELATIONS to view both sides' independently declared stances. Defensive aircraft must still meet historical readiness, range, fuel, and mobility requirements, and ground/ship batteries must have ammunition. Defense costs and events are committed with the aircraft mission transaction. The game's SPY behavior also follows the defender's stance; treaty restrictions, loan systems, and additional historical diplomatic mechanisms are not yet implemented.

No new schema migration is required for these air-defense rules. Databases must have the diplomatic-relations schema introduced with version 0.9.99. The Blazor aircraft popup continues to hide unexplored map hexes and enemy resources.

v0.9.99 — Historical directional diplomacy and SPY capture outcomes

The original BSD Empire 1.1 decl.c, rela.c, and spy.c determine diplomatic stances and whether spies are deported or shot. Formal relations are directional: one country declaring an alliance does not make another country allied automatically.

DECLARE WAR invader
DECLARE ALLIANCE invader
DECLARE HOSTILITY invader
DECLARE NEUTRALITY invader
RELATIONS
RELATIONS invader
SPY 0,0
SPY REPORT 20

DECLARE takes a nation ID and records the declaring nation's position. The recipient receives a private notice; war and alliance declarations also appear as sanitized headlines in the public newspaper. RELATIONS reports both sides' declared positions, including another nation on request.

The defending sector owner's stance toward the spying nation determines a capture: neutral defenders deport caught spies; hostile and at-war defenders shoot caught spies, reducing the spying source sector's military by one; allied defenders do not capture spies even if patrols detect them. The original spy.c detection roll is defender MIL / 200, capped at 100%. The spy's nation and the defender receive private events. Shot spies also create public news without disclosing sector coordinates or detailed intelligence. All sector MIL changes, BTUs, reports and news are committed in one transaction; failed costs roll back everything.

Version 0.9.99 introduces a PostgreSQL nation_relations table and migration. Run the game-migration script after installing the source, before starting the server. The full historical treaty/loan systems and additional non-aircraft relationship effects remain future work.

v0.9.98 — SPY compilation correction

Corrected the C# nullable-reference handling in the PostgreSQL SPY neighbor lookup. Missing hexes remain ignored and reconnaissance results, BTU costs, detection, deportation, and nation-private report history are unchanged. No database migration is necessary.

v0.9.97 — Historical SPY reconnaissance

On the game map, right-click an owned sector and choose Spy. The action requires at least one military unit at the source. Review the source, BTU cost and detection risk, then choose Send spies. A private report remains in the dialog after the mission; close and reopen it to send another. This uses the normal SPY command, including the server's command throttle and playtime checks. No exact enemy strength is shown before reconnaissance.

SPY reads selected source sectors belonging to your nation. Each must hold at least one military unit to send agents. The command checks six neighboring sectors per source and reports neighboring populated foreign or neutral sectors. Empty sectors and your own sectors do not produce reports. The report contains sector designation, owner, efficiency, civilians, military, shells, guns, iron, petrol, and food. Numeric reports are rounded to tens, following EMP/player/commands/spy.c from original BSD Empire 1.1.

SPY 0,0
SPY 0 0
SPY 0:4,0:7
SPY REPORT
SPY REPORT 20

Coordinates are relative to the nation's original capital. A rectangle is inclusive in this application's numeric selection interface. The maximum source rectangle is 1,600 coordinate cells as an operational safety limit (not an original BSD rule). The BTU cost follows the historical floor((width + 1) × height / 2 / 40) + 1 formula. A five by eight rectangle costs 1 BTU in legacy games, plus the 1-BTU dispatcher fee in BSD timing games. The cost is charged even if none of the selected source sectors has military, as in original spy.c.

When a target has N defending military, its chance of detecting a spy is min(1, N / 200) (a probability; multiply by 100 for percent). For example, 50 defending military gives 25% risk, 100 gives 50%, and 200 or more gives 100%. Neutral defenders deport caught spies and receive a private notice. Hostile or at-war defenders shoot caught spies, costing one military at the source and generating defender notice and public news. Allied defenders permit reconnaissance. The defender's declaration controls the outcome. Successful sightings are rounded and private; SPY does not alter map fog.

SPY REPORT [1–50] retrieves timestamped nation-private intelligence saved in the existing event ledger. History persists across server restarts and is isolated by game and nation; it does not widen the ordinary map's fog of war or reveal resource deposits. The Blazor All Commands menu includes a dedicated SPY popup listing your owned armed source sectors, rectangular selection, historical BTU preview, and explicit confirmation. The PostgreSQL provider performs actual espionage; the isolated in-memory Development adapter does not perform SPY mutations. No schema migration is required.

v0.9.96 — Graphical ground combat and fortress artillery preparation

The All Commands graphical catalog includes the ATTACK, coordinated ATTACK, and FIRE actions with dedicated mission preparation sections. Choose a target sector from observed map hexes. The dialog then lists eligible adjacent owned sectors with their current military and mobility. Choose a primary sector, use 1/5/10/all-available troop presets, and for coordinated attacks add up to five additional sources (six total). Use Remove to adjust additional contingents, or change each source troop count in its labeled numeric field. You may still type the exact source coordinates and troop counts; the command preview remains editable through the form.

The FIRE dialog lists owned fortresses with crew, guns and shells, and shows the hex distance between the chosen fortress and target. Firing needs at least five MIL, one gun, and one shell. National technology and defenses control actual range and damage; the GUI does not predict them.

Only already-authorized owned sector inventories are provided to these controls. Foreign troops, unobserved terrain and combat odds are not exposed. All operations continue to use the normal game-command authorization and serializable transactions. No new database migration or combat mechanics change in this release.

v0.9.95 — Blazor aircraft popup compilation correction

The aircraft mission form now compiles with the project's current .NET 11/C# compiler: the expression-bodied IsAirMissionPopup property uses a lambda argument named guiField, avoiding the new C# contextual field keyword. The Razor component explicitly imports Empire.Domain.Models to resolve WorldCoordinate for the observed-sector picker. The player commands, route planning, permissions, mission costs, and game database remain unchanged.

v0.9.94 — Blazor aircraft route and formation readiness previews

Aircraft mission dialogs in All commands — graphical command menu now offer observed-sector route planning. Choose a lead plane from the owned roster, select a destination already observed on the map, or use the currently selected observed map hex. The form generates the original six-key hex directions and provides a per-leg preview. World-row parity is used for pathfinding, while coordinates in the dialog remain nation-local. Routes are limited to 32 steps. A manually entered path can also be previewed, but only if every traveled hex has been observed; the GUI never reveals unknown map positions or terrain.

For BOMB SHIP, the popup can select an enemy ship from the nation-authorized, visible CONTACTS list and use its last observed location as a planned destination. A target may have moved since last seen.

With a lead aircraft, additional bombers or transports, and escorts selected, the popup displays roster-derived efficiency and mobility warnings (minimum 40% and 20 points per aircraft), range requirements, common-departure checks, and estimated petrol and bomber-shell expenditure based on original BSD aircraft model data. DROP and PARA use round-trip range; other directional commands use one-way route length for their preview. If a carrier is the departure base, the popup also compares fuel and ammunition estimates with the owned carrier's visible stores. Land-airfield fuel stores, mission-specific cargo/landing costs and enemy combat outcomes are not inferred. The server remains authoritative and may reject a mission that looks ready.

All 74 canonical game commands remain available in the Blazor catalog. Complex commands still use confirmation forms. Combat, aircraft resources, authorization and database rules are unchanged; no database migration is required. All standard test scripts stay silent when successful and show diagnostics on failure.

v0.9.93 — Observed naval approach and route previews

Open the NAVIGATE graphical command popup, select an owned fleet, then choose a sector already observed on the map or a currently visible foreign ship contact. Selecting the contact fills its last observed sector; choose Plan observed route to calculate a path of at most 32 historical BSD direction steps. The fleet's ships must start on the same hex. The dialog shows each direction key and nation-local coordinate. It also previews a manually entered route only while every intermediate hex has already been observed. If any hex is unknown, the preview stops rather than revealing unobserved terrain.

SAIL now previews single-hex adjacency from the selected owned ship using world-row parity, and naval fire dialogs display only the selected visible contact's last observed location. No navigation, combat, BTU, fuel, mine hazard, or line-of-sight rule changes. A contact can move after reconnaissance; the server continues to validate every command when it is executed. All other commands remain available through the searchable Blazor command catalog, with popups for complex orders. No database migration is required.

Graphical fleet assignment, navigation and firing

Open All commands — graphical command menu and choose Assign fleet, Navigate fleet or Fleet attack. The popup lists existing fleets from your own ship roster, with fleet letters, ship counts and total shell inventories. Select a fleet shortcut to fill the fleet letter. If you choose an existing fleet, its ships are listed with positions, mobility, guns and shells. Scattered ships are clearly flagged before attempting coordinated operations.

For FLEET, use Select this fleet's ships to populate the list with existing fleet members, or select an observed hex on the map and choose Select owned ships at map hex to fill the list with your ships at that location. You can add or remove individual ships using the existing unit buttons. Choose the ~ fleet letter to remove selected ships from fleet membership. The command preview must still be confirmed before execution; both the selector and the server reject invalid use of ship IDs.

NAVIGATE retains the observed-hex route planner. It does not plot through unknown hexes, disclose hidden enemy units or guarantee freedom from mines and other defenses. FLEETFIRE continues to offer only nation-authorized visible contacts and inventory-based gunfire guidance. These are player-interface improvements; the underlying combat rules, ship ownership checks and persistence are unchanged.

v0.9.91 — Quiet Linux tests and naval combat targeting dialogs

The normal ./scripts/test.sh, ./scripts/test-combat-db.sh, and ./scripts/test-ui.sh no longer print successful test reports. A failed command still exits nonzero and displays its captured compiler errors, assertion messages and stack traces. Set EMPIRE_TEST_VERBOSE=1 to restore detailed output when investigating a failure. The standalone dotnet build command still displays normal .NET SDK build results.

Blazor naval attack popups now allow a player to select only enemy ships returned by nation-scoped CONTACTS visibility. Contacts show ship type and nation-local coordinates; they do not reveal cargo or other hidden state. Target IDs can still be entered manually, subject to full server-side validation. Naval gunfire dialogs show owned firing ships and available shells, support automatic or 1–3 shot presets, and warn when a fleet's ships are scattered. This UI-only update adds no database migration.

v0.9.90 — Naval inventory and logistics command popups

The mobile-first All commands — graphical command menu now shows owned-ship position, efficiency, mobility, guns, shells and petrol while preparing naval orders. LOAD, UNLOAD and TEND show the selected ship's stored commodity count and have 1, 5, 10, 50 unit quick-set buttons. UNLOAD and TEND also offer Use all aboard. For LOAD, the displayed inventory is already on the ship; it is not an estimate of shore stock.

FLEETFIRE lists owned fleet members and their guns/shells. SHIPROUTE explains its source reserve and destination goal, which are desired stock levels rather than a guaranteed cargo transfer per update. It can copy the selected ship's hex to the source coordinate fields. The graphical formatter rejects same-ship TEND orders and same-source/destination sector and ship routes before submission. These client checks do not replace server-side validation. Ownership, resource availability, ship capacity, route reachability, minefields, targeting, permissions and actual combat results remain server-authoritative.

All existing game commands remain accessible from Blazor, including naval and logistics forms. This release changes no combat mechanics or database schema and requires no new migration. Separate Razor code-behind is retained.

v0.9.89 — Observed-map sector selectors and fleet route planner

In the All commands — graphical command menu, sector and logistics forms now provide pair-wise coordinate pickers. Select source sectors from your nation's owned hexes and destinations or targets from hexes you have observed. The source/destination pair updates together, including for ROUTE, TRANSFER, SHIPROUTE, MOVE, and combat forms. The selected map hex can be copied explicitly into either pair; an observed map destination is not silently used as its own source. Direct coordinate input remains available for players who prefer typing or need coordinates outside the current observed options. Hidden terrain is never listed in the pickers.

The NAVIGATE popup now has a fleet-aware observed-route planner. Choose the fleet letter and an observed destination, and select Plan observed route. All owned ships of the fleet must occupy one common starting hex. The planner shows the hexes it traverses and fills the editable direction sequence using BSD's six-direction odd-row geometry, with a maximum of 32 steps. It does not assume unobserved passages are safe, nor guarantee that a server will approve the final move. The server still enforces mobility, minefields, ship ownership, range, terrain and all game permissions. Nothing is spent until you explicitly run the confirmed command. Blazor supports all canonical CLI commands via the catalog; no gameplay rules or database schema changed.

v0.9.88 — Blazor command formatter compiler correction

Corrects compiler error CS0136 in the graphical command formatter: two branches of the command-input validation switch used the same local name. The triplets validator now uses a distinct variable name while retaining the existing quantity checks. All graphical command dialogs, formation selectors, confirmations, and the command console remain unchanged. No database migration or gameplay rule change is required.

v0.9.87 — Roster-aware command dialogs and validations

The All commands — graphical command menu remains the complete GUI access point for every gameplay command. In an aircraft, carrier, naval or fleet popup, the form refreshes the current game's private unit rosters. Choose the lead plane, owned ship or carrier destination from labeled drop-downs. Formation lists for bombers, transports, fighter escorts and fleet ships provide buttons to include/exclude units without memorizing their IDs; typed space-separated IDs remain supported for very large fleets. Only units owned by the active nation appear in rosters; enemy ship and aircraft target IDs still use a numeric field because enemy ownership/position is not disclosed by this interface.

Construction popups now list historical aircraft and ship models, and redesignation popups identify sector designations with readable labels. Fleet letters are selected rather than typed. Input validation rejects repeated aircraft between a lead mission plane, bombers/transports and escorts; unit-ID lists still have size limits. Improve points, repair points, route priorities and public-news day ranges are checked in the popup before execution. Use Refresh available units in an open dialog if a unit has moved. A command preview is displayed before explicit execution, and the server remains the final authority for flight range, ownership, game resources, BTUs, terrain and transaction safety.

After a successful graphical action, the unit roster is refreshed even when the specialist operations panel is collapsed. All controls remain usable on narrow screens, with labeled inputs and no requirement to open the text console. No new EF migration is required.

v0.9.86 — All game commands accessible through Blazor

Open the All commands — graphical command menu panel on the Home page. Filter commands by name, description or command keyword. Every canonical player command is represented by a graphical action, including sector operations, routes, nation reports, mail, construction, ships, fleets, aircraft, carrier missions, cargo drops, bombing and paratroopers. The existing game selector chooses the world in place of JOIN or GAME. Administrators see their own authorized ADMIN actions, not player-only operations; the server still enforces role permissions.

Reports with no required inputs run on click. Commands with inputs or resource costs open a popup with labeled numeric, directional, commodity and other fields. Optional parameters may be left empty. Preview the generated command and select Run command to submit it; Cancel or Escape closes the dialog without spending game resources. For multi-aircraft sorties, enter additional aircraft and escort IDs in their separate form fields; common bombing targets have dedicated entries. Selected observed map destinations prefill appropriate local coordinate fields. Do not confuse this with map-derived unit-position or intelligence information—the server checks all actions and no unknown map terrain is revealed by the form. The graphical command result appears below the catalog, so the text console does not need to be open.

Specialist aircraft, naval, fleet and military construction panels remain available for rapid unit selection. Their resource-spending actions also show confirmation popups before execution. The text console remains an optional expert interface. New commands must be added to the graphical catalog as part of the same feature release; a coverage test compares the catalog with CommandAbbreviations.SupportedCommands.

No additional database migration or gameplay calculation changed. Razor UI C# remains in separate .razor.cs files.

v0.9.85 — Map-assisted aircraft and naval missions

On the Home page, click any observed sector in the hex map, then expand Aircraft, ships, fleets & carriers. The panel shows the selected player-local map coordinates. For aircraft, select the lead plane and mission type, then click Use selected map hex for flight route. The planner fills the direction sequence and previews the resulting command. It follows the same BSD direction keys u j n b g y as FLY, BOMB, RECON, DROP and PARA. A route has at most 32 movement legs, matching server limits; the optional h stop is not required.

The planner searches only sectors that your nation has actually observed. It cannot plan through unexplored sectors, cannot reveal foreign positions or unknown terrain, and does not automatically fly the route. The proposed route may still be blocked by range, fuel, air defense, landing or ownership rules; these remain validated by the server when the player selects Run. Typed directions remain available.

For a ship, select Sail, Bombard shore, or Amphibious assault, then select an observed target hex in the map and use Use selected map hex as naval target. SAIL needs an adjacent hex. For a synchronized fleet starting in one hex, choose the fleet letter and Navigate fleet then Route fleet to selected map hex. Fleet members in different hexes are not automatically routed. The server remains authoritative for naval movement and combat.

Expandable aircraft and fleet rosters now have keyboard-accessible buttons to select extra bombers/transports, escorts, and ships by name. The normal six-escort, six-additional-aircraft, and fifty-ship selection limits apply; mission legality, capacity, BTUs, and all expenditures are verified on the server. These UI features do not change flight, combat, or economy rules and require no new database migration.

v0.9.84 — Carrier aircraft upkeep, friendly harbor maintenance, and Blazor controls

Embarked aircraft continue receiving one mobility point each fixed economic hour (up to 127). They now incur normal aircraft upkeep from the owning nation's treasury while at sea, rather than bypassing all maintenance costs. A damaged plane on a carrier does not repair automatically at sea or off a foreign shore. A carrier at an owned harbor can draw that harbor's available workforce for shore-supported aircraft repairs: up to one efficiency point per hour per aircraft, subject to the existing aircraft maintenance charge and sufficient national treasury. Several aircraft at the same harbor compete for workforce in ascending aircraft ID order. This shore-support repair policy is an explicit adaptation to Empire's one-hour update model; the original BSD 1.1 EMP/update/plane.c documents maintenance costs and sector-based repair labor but has different update-time scaling. No new database migration is necessary.

The Home page's graphical Aircraft, Navy & Carriers panel now includes a read-only carrier deck roster with real fuel, shells, food, ship condition, embarked aircraft, basic flight-readiness information, and buttons to select a lead aircraft or carrier destination for the mission builder. A graphical aircraft/ship construction form issues the existing BUILD PLANE X Y TYPE and BUILD SHIP X Y TYPE orders using player-local map coordinates. It previews the command before execution. Technology, available workforce, construction materials, crews, harbor/airport condition, authorization, and payment are still validated by the server. The separate text console continues to work. Map-assisted routes and unit-selection shortcuts were added later in v0.9.85, described above.

Graphical aircraft, naval and carrier controls (v0.9.83)

The game Home page now includes an expandable Aircraft, ships, fleets & carriers panel, independent of the text console. Select nation-owned aircraft and ships from current rosters and configure flights, reconnaissance, bombing (including targets and bomber groups), aerial commodity drops, paratroopers, one-way cargo transport, carrier landings, and escorts. Naval controls cover sailing, bombardment, ship gunnery, torpedoes, depth charges, boarding, amphibious assault, mines, loading/unloading, repair, radar and sonar. Fleet controls assign/remove vessels, navigate, and fire. Preview shows the exact command before submission; normal authorization, fuel, mobility, BTU, game-time and PostgreSQL transaction rules continue to apply. Refresh units after independent changes. The graphical panel reports the latest command outcome without requiring the console. The legacy console remains available, and its quick actions now include PLANES, SHIPS, FLEETS.

Inputs use the player-selected game and only that nation's selectable units. Target enemy ship IDs are entered from observed CONTACTS; routes use the original hex direction letters. This is an initial broad graphical control panel, not yet a point-and-click map route picker or a drag-and-drop aircraft deck view.

v0.9.82 — Bombing from owned aircraft carriers

Carrier-capable bombers (historical P_L and bombing capability) can now launch pinpoint, strategic, commodity, grounded-plane, and enemy-ship raids directly from an owned aircraft carrier. The carrier must be at least 50% efficient, the bombers and any fighter escorts must be at least 40% efficient, have enough range and 20 mobility, and all aircraft must be attached to the same departure ship. The ship's own Shells and Petrol stores supply the bomb load and all aircraft fuel. A surviving aircraft returns to its original carrier; an aircraft shot down over hostile territory is lost. No shore-sector supplies are charged.

PLANES
BOMB 12 jh EFFICIENCY
BOMB 12 jh STRATEGIC
BOMB 12 jh SHIP 42 15 16
BOMB 12 jh COMMODITY PETROL BOMBERS 13 14 ESCORTS 15 16
EVENTS 20

Choose the BOMB command normally after the aircraft has landed on the carrier using FLY ... CARRIER SHIP_ID. For a multi-bomber sortie, all named bombers and escorts must share that same carrier. Defensive flak, fighter interception, individual damage, and serializable PostgreSQL rollback behave as before. The original BSD bomb.c and plnsub.c provide shipboard armament and fuel rules. Coordinated bomber groups are an intentional game extension. The existing carrier database migration from v0.9.79 is sufficient; no new migration is needed.

v0.9.81 — Carrier-based fighter escort formations

Carrier-capable aircraft can now depart together with up to six fighter escorts from the same owned land airfield or from the same carrier deck. Aircraft flying to a carrier must all have the historical P_L deck capability. An embarked formation burns petrol from its own carrier, not from a nearby land sector; all aircraft spend 20 mobility each and need 40% efficiency. A carrier must have at least 50% efficiency to launch aircraft. Mixing land-based escorts with deck-based aircraft or aircraft on different carriers is rejected before resources are spent.

FLY 12 jh CARRIER 27 ESCORTS 15 16
FLY 12 gh 15 16
FLY 12 jh CARGO FOOD CARRIER 27 ESCORTS 15
FLY 12 gh CARGO FOOD ESCORTS 15
EVENTS 20

The first mission lands a lead aircraft and escorts on carrier 27; the second launches a formation from that carrier to a land airfield. The cargo examples move one cargo-capable, deck-capable aircraft and its fighter escort(s) to the carrier and back to land. Carrier holds retain historical commodity limits. Abort returns each surviving aircraft to its departure carrier or airfield, while shot-down aircraft are removed. Escorts that successfully complete the route land with the lead aircraft; independently aborted escorts return home. The complete transaction covers fuel, mobility, cargo, interception, flak, landing, and private EVENTS records. Existing unescorted commands remain unchanged. Multiple cargo transports in one deck formation, carrier bombing and onboard repairs remain future features. No new migration is required.

v0.9.80 — Cargo transport between carrier ships and land

Original BSD Empire 1.1 EMP/player/commands/fly.c and EMP/player/subs/plnsub.c load cargo and petrol from either a ship or land, and can deliver cargo to an owned aircraft carrier. Carrier-based cargo requires an aircraft with both P_C (cargo) and P_L (deck landing) capability, such as a chopper. To fly loaded cargo from land onto a carrier, issue:

PLANES
FLY 12 jh CARGO FOOD CARRIER 27
PLANES

To carry food from carrier #27 back to an owned airfield, use the existing single-aircraft command once the plane is aboard:

FLY 12 gh CARGO FOOD
EVENTS 20

The departing aircraft requires at least 40% efficiency, one-way range, 20 mobility and sufficient fuel and full commodity load at its actual departure site. A carrier must be at least 50% efficient to launch aircraft and must contain the petrol and cargo in its own ship stores. Cargo unloaded onto a carrier is limited by its historical mchr[] ship hold for that commodity (for example, 180 food or 500 petrol); excess is discarded. An aircraft that lands on the carrier gets a persistent CarrierId; a successful cargo flight ashore clears the carrier link. A plane aborted by air defenses returns to its original carrier or land base, while a destroyed plane loses its cargo. Enemy interception, flak, and private reports work as before. Foreign-controlled destination hexes, incorrect ship IDs, non-carrier ships and unsupported hold commodities reject the entire transaction without spending resources. Carrier cargo escorts are supported from v0.9.81; multiple cargo transports on a carrier deck remain future work. This release requires no new migration.

v0.9.79 — Carrier aircraft landing and launch

BSD 1.1 fly.c and plnsub.c support landing deck-capable (P_L) aircraft on owned aircraft carriers (ship type 13, M_FLY). The new command FLY PLANE_ID DIRECTIONS CARRIER SHIP_ID directs a single ready aircraft onto that carrier in its destination hex. Landing requires the carrier be afloat (at least 20% efficiency). Carriers launching planes require at least 50% efficiency and shipboard petrol, plus the aircraft's normal 40% readiness, range and 20 mobility. A carrier can be at sea or in a harbor; a land airfield is not required for a shipboard launch. Flight abort returns to the original carrier, and a completed landing changes the aircraft's home from the old carrier or airfield to the target.

PLANES
FLY 12 jh CARRIER 27
PLANES
FLY 12 ggh

PLANES shows aboard carrier #27 when embarked. Sailing a carrier moves its aircraft; a sinking carrier destroys embarked aircraft. The ship relationship is stored with a new nullable CarrierId column, installed through a standard EF Core migration. Carrier deck loading does not use sector food, petrol, or labor. Hourly deck aircraft mobility accrues normally; land-airfield repairs are disabled while aboard, pending original carrier repair rules. This release implements single-plane flight and landing, not carrier-based FLY formations, bombing, cargo transfer, escorts, paratroopers or carrier repair. The original pln_newlanding explicitly notes that deck capacity was not restricted; no arbitrary historical plane limit has been added. All existing land FLY/CARGO/DROP/PARA commands remain unchanged.

v0.9.78 — Coordinated one-way aircraft cargo flights

FLY LEADER_ID DIRECTIONS CARGO COMMODITY TRANSPORTS ID [ID...] [ESCORTS ID...] launches two to seven ready cargo transports from a shared airfield, optionally with up to six fighter escorts. It extends BSD 1.1 fly.c by coordinating multiple planes, while retaining each historical aircraft's cargo capacity, 40% efficiency threshold, one-way range, 20 mobility cost, fuel, compatible runway or V/STOL landing, and destination stockpile ceiling of 999 (9,999 in warehouses for goods).

FLY 12 jh CARGO FOOD TRANSPORTS 13
FLY 12 jjh CARGO PETROL TRANSPORTS 13 14 ESCORTS 15 16
FLY 12 jh CARGO MIL ESCORTS 15

All transports load their full cargo separately; the departure sector must have enough of the commodity and combined petrol before any flight begins. When PETROL is the cargo, both the loaded amount and each aircraft's flight fuel count toward the petrol requirement. Enemy fighters and antiaircraft fire may stop individual transports. Shot-down and aborted aircraft deliver nothing; aborted aircraft return home. Surviving transports unload and land at the shared destination. Escorts land with any successful transports unless they were themselves lost or forced to abort; if every transport fails, the remaining escorts return home. Only unloaded quantities count as delivered; combat losses and overflow count as lost. All resources, positions, cargo, combat and private EVENTS are committed atomically.

Ordinary single-plane FLY ... CARGO ..., plain FLY, RECON, round-trip DROP and PARA remain unchanged. The new PostgreSQL scenarios check combined landing, escorted fuel, petrol payload/overflow, single-use interception, V/STOL destinations, and rollback after invalid assembly, readiness, and supply checks. No database migration or CHANGELOG is required.

v0.9.77 — One-way cargo flight integration-test build correction

The v0.9.76 PostgreSQL cargo-flight rollback test used the local name escort for both a PlaneEntity and a boolean in conflicting scopes, preventing the test project from compiling (CS0136). The test now distinguishes unreadyEscort and escortRejected. This maintenance correction changes no FLY ... CARGO command rules, persistence, or gameplay. No schema migration is needed.

v0.9.76 — BSD one-way aircraft cargo flight

FLY PLANE_ID DIRECTIONS CARGO COMMODITY [ESCORTS FIGHTER_IDS] loads an owned cargo transport and flies it to a new landing sector, delivering the cargo and stationing the aircraft there. Unlike DROP, it does not return to base. Surviving escorts likewise land at the destination. Plain FLY, directional RECON and round-trip DROP remain unchanged.

FLY 12 jjh CARGO FOOD
FLY 12 jh CARGO PETROL ESCORTS 15 16
FLY 12 jh CARGO MIL 15

The original BSD 1.1 EMP/player/commands/fly.c calls pln_arm(..., 't', ...), then pln_dropoff and pln_newlanding from EMP/player/subs/plnsub.c. This implementation requires a P_C cargo plane and uses the source formula floor(2 * plane.load / item.weight). The plane and each escort need 40%+ efficiency, 20 mobility, one-way range, compatible launch and landing fields, and petrol. Carrying PETROL deducts its cargo quantity in addition to the fuel used by the aircraft. All requirements are validated before resources are spent.

The destination may be owned or unclaimed land with an acceptable landing site: a 60%+ airport or V/STOL-capable aircraft on suitable land. Foreign-owned sectors and mountains are not valid landing sites. The original C also permits carrier deck landings, which are deferred until aircraft-to-ship persistence is implemented. A landing sector stores at most 999 (9,999 in warehouses for goods) units of each cargo commodity; overflow is lost. Existing ground flak and fighter interception resolve before unloading; shot-down or aborted aircraft lose their cargo. Private EVENTS record delivery, losses and the landing. All changes commit in one serializable PostgreSQL transaction. No database migration.

v0.9.75 — Coordinated commodity air supply drops

DROP LEADER_ID DIRECTIONS COMMODITY TRANSPORTS ID [ID...] [ESCORTS ID...] launches a single route with two through seven ready cargo aircraft and optionally up to six fighter escorts. For example, DROP 12 jh FOOD TRANSPORTS 13 14 ESCORTS 15 loads all three transports at one owned airfield and delivers to one other owned land sector. The existing DROP 12 jh FOOD, DROP 12 jh FOOD 15, and DROP 12 jh FOOD ESCORTS 15 syntax is preserved. Additional cargo aircraft require the explicit TRANSPORTS keyword.

For each transport the historic BSD plnsub.c capacity is 2 × aircraft load / commodity weight, truncated to whole units. All transports share the commodity, direction sequence, departure and arrival sectors. They must each have 40%+ efficiency, 20+ mobility, round-trip range, and a suitable runway. Petrol pays the entire formation including fighter escorts; when dropping PETROL the source must hold both fuel and all cargo loads. The full commodity load is removed before launch and never refunded after a mission abort.

Ground flak, enemy interceptors and escort losses are resolved across the single formation. Interceptors may launch only once in that sortie; individual transports may be shot down or forced to abort independently. Only surviving, non-aborted transports deliver cargo. Destination storage is capped at 999 (9,999 in warehouses for goods) units, and undelivered overflow is recorded as lost. All cargo, fuel, aircraft, mobility, private EVENTS and deliveries are committed together in a serializable PostgreSQL transaction. Validation failure rolls back with no charges or events. No database migration is required.

The historical BSD drop.c supported selecting multiple cargo planes; this implementation adds explicit IDs to the current command and resolves the formation consistently with existing coordinated air-defense behavior. Cargo-carrying one-way FLY remains outside this release.

v0.9.74 — Coordinated multi-transport paratrooper assaults

PARA LEADER_ID DIRECTIONS TRANSPORTS ID [ID...] [ESCORTS ID...] launches a common flight with two through seven ready cargo/V-STOL aircraft and, optionally, up to six fighter escorts. Examples: PARA 12 jh TRANSPORTS 13 and PARA 12 jjh TRANSPORTS 13 14 ESCORTS 15 16. The existing single-transport PARA 12 jh, PARA 12 jh 15 16 and PARA 12 jh ESCORTS 15 16 still work. The TRANSPORTS keyword is required to distinguish additional troop carriers from the legacy trailing fighter IDs.

Each aircraft needs its own 40% efficiency, 20 mobility, round-trip range, owned launch/return airfield and sufficient petrol. The transports must start at the same airfield and cannot also serve as escorts. All aircraft and the combined full MIL load are validated before departure. Each cargo aircraft carries its own historical load / MIL weight troop capacity: two Transport-1 aircraft, each carrying 7 MIL, commit 14 MIL in one sortie. Defensive flak and fighter interception affect individual transports; an aborted or destroyed transport loses its complete military payload. Enemy interceptors launch at most once per formation; escorts defend the coordinated mission, and surviving planes return to the departure airfield.

Only troops on transports that reach the target enter one combined ground battle. This uses the existing BSD para.c defensive bonus, fixed casualty odds and probabilistically rounded 0.3 BTU per combat casualty. A victory captures the sector once, performs occupation and supply-route cleanup, and captures eligible grounded enemy aircraft. Private EVENTS are recorded for both nations and the attacker receives a formation summary with loaded MIL, troops deployed, occupying MIL, losses and resource costs. One sanitized NEWS item is published on capture. Rejected commands and failed BTU debits roll back every aircraft, commodity, sector and notice together. No database migration is needed.

The original BSD 1.1 para.c operates with a single transport. Multiple transports in one assault are an Empire extension; the aircraft capacity and combat arithmetic retain the original source-based rules.

v0.9.73 — BSD 1.1 paratrooper airborne assault

PARA PLANE_ID DIRECTIONS [ESCORT_ID ...] carries military personnel from an owned air base to a non-owned sector and returns the plane to base. Fighters may escort; use PARA 12 jh 15 16 or PARA 12 jh ESCORTS 15 16. The PARA spelling is itself a supported four-letter command. The aircraft must have BSD P_V (V/STOL) or P_C (cargo) capability, at least 40% efficiency, 20 mobility and round-trip range. The entire load / MIL weight military payload must be available at departure (MIL weight is one); the airfield needs petrol for all participating aircraft. Unlike cargo DROP, a transport-1 carries 7 MIL rather than 14 MIL.

The original EMP/player/commands/para.c refuses water, mountain, capital, fortress and wasteland landing zones. Sanctuary is also protected by this implementation. A target already belonging to your nation is not eligible; use DROP for friendly deliveries. Hostile air interception and flak are automatic; aborting or losing the plane loses the committed paratroops. The service resolves initial combat odds using attacking MIL / (max(2, sector defense rating × efficiency/100) × (attacking MIL + defending MIL)), then one casualty at a time until one side has no troops. Combat casualties cost 0.3 BTUs each, stochastically rounded, as in para.c. A victory changes sector ownership, clears mobility, reconciles occupation, transfers grounded enemy aircraft with historical capture damage (excluding launched interceptors), and removes obsolete supply routes. Surviving planes and escorts return home. Successful capture appears in sanitized NEWS; both nations get appropriate private EVENTS.

In v0.9.73, PARA used one mission plane and up to six fighter escorts, not multiple troop-carrying planes. Invalid targets, missing troops or fuel, or insufficient combat BTUs roll the mission back completely. Database schema is unchanged. All claims here are sourced from original 1.1 para.c and plnsub.c, with the selected single-plane command a modern simplification.

v0.9.72 — Cargo DROP build correction

EF Core queries for DROP now use a precomputed target coordinate, removing unsupported C# from-end indexing (path[^1]) from an expression-tree predicate. This fixes .NET 11 CS8790/CS8791 compiler errors. Flight, cargo, defender responses and transaction rules are unchanged; no migration or command changes are required.

v0.9.71 — BSD cargo aircraft supply drops

DROP PLANE_ID DIRECTIONS COMMODITY [ESCORT_ID ...] flies a cargo aircraft from its owned departure base to a different owned land sector and returns to its departure base. Flight can pass over hostile sectors and uses the existing fighter interception and flak defenses. Up to six fighter escorts are optional. All participating aircraft must be at least 40% efficient, have 20 mobility and round-trip range; the home site must permit takeoff and return landing.

PLANES
DROP 12 jh FOOD
DROP 12 jjh MIL 15 16
DROP 12 jh PETROL ESCORTS 15

The cargo plane must have BSD P_C capability. Historical EMP/player/subs/plnsub.c loads (2 × aircraft load) / item weight whole units per cargo plane. Weight is 1 for FOOD, MIL, SHELLS, PETROL, IRON, OIL, LCM and HCM; CIV is 1, UW is 2, gold DUST is 5, RAD is 8, GUNS is 10, and gold BARS is 50. An aircraft cannot carry an item if that formula rounds to zero. The entire load must be available at departure. Petrol must additionally cover all participating aircraft's fuel cost. An aborted or destroyed aircraft loses its loaded cargo; only successful arrival transfers the cargo. Sector deliveries cap at the original BSD 999 (9,999 in warehouses for goods) stockpile limit, with excess discarded.

Single-plane DROP remains supported, and coordinated multi-transport commodity DROP was added in v0.9.75. The original drop.c also accepts a selection of cargo planes; coordinated paratrooper formations have been supported since v0.9.74. PARA against hostile sectors is available from v0.9.73; cargo-carrying one-way FLY is not yet implemented. Failed validation, including foreign destination or insufficient resources, leaves all stockpiles, aircraft and private notices unchanged. The launch, defense, loss/delivery and private EVENTS operations are committed atomically under a serializable PostgreSQL transaction; no migration is required.

v0.9.70 — Source-verified conventional aircraft bombing

The original BSD 1.1 archive (empire-1.1.tar.gz, SHA-256 d705b9c8e77e6001f01c5f9feb39ce8d722964fbb99271e810d806ec4e4546ee) was inspected directly for this release. The authoritative routines are EMP/player/commands/bomb.c (eff_bomb, comm_bomb, strat_bomb and plane_bomb) and EMP/lib/common/damage.c and vlist.c. The historical archive is not bundled with Empire.

Sector-efficiency bombing multiplies a single floating-point factor by 0.88 for each successful bomb and converts to integer only at the end. For 100% starting efficiency, one/two/three hits leave 88%, 77% and 68%. This reverses the incorrect v0.9.67 per-hit truncation change. Strategic bombing uses original three possible damage levels of 8%, 5% or 2% per bomb according to the random roll and bomber accuracy; the combined percentage damages sector efficiency, mobility and aboveground inventories using sectdamage, not a blanket 0.88^hits applied to inventories.

Pinpoint COMMODITY attacks permit only six historical stocks: SHELLS, GUNS, MILITARY, PETROL, OIL and RAD (radioactives). Each successful hit destroys a random 9–16% of the selected stock; every bomb also causes a smaller 1% (hit) or 2% (miss) collateral effect on the rest of the sector. Former prototype-only COMMODITY FOOD, IRON and similar targets are now rejected without expenditures. For ship strikes the preexisting historical targeting/armor formula remains unchanged.

BOMB 12 jh EFFICIENCY
BOMB 12 jh STRATEGIC
BOMB 12 jh COMMODITY PETROL
BOMB 12 jh COMMODITY SHELLS BOMBERS 13 ESCORTS 15
BOMB 12 jh PLANE 42
EVENTS 20

Pinpoint PLANE attacks use one accuracy roll, then two or more bomb impacts up to the aircraft load; each impact causes 26–56% damage before the 100% cap. Damaged or destroyed grounded aircraft are reported privately. Bombers still pay their full shell, fuel and mobility costs, face enemy interceptors and flak, and commit or roll back atomically.

The calculations and permitted commodity types are source-derived. Exact historical random-number sequences are not reproduced across C and .NET random generators; numeric conversions and source-defined edge cases remain subject to additional parity testing. This release preserves the existing multi-bomber command interface and serializable transactions. No database migration is required.

v0.9.69 — 40% aircraft efficiency is required to depart

BSD Empire 1.1 patch-level 5 User's Guide explicitly states that a plane must reach at least 40% efficiency before it can leave the ground. Newly built planes still begin at 10% efficiency; they must train/repair before undertaking a mission. This is an aircraft property, distinct from an airfield's 40% construction/service threshold or its 60% normal runway launch/landing threshold. Vertical-takeoff aircraft still avoid runway requirements but must meet the 40% aircraft readiness threshold.

The same check now guards RECON ID X Y, directional RECON ID ROUTE, FLY, single-aircraft BOMB, and all members of escorted formations and multi-bomber attacks. At 39% the mission is rejected without expending shells, petrol, mobility or sending notifications; at 40% an otherwise legal mission may proceed. The test suite covers both boundaries and rejects an entire bomber formation if one member is not ready. No database migration or command change is required.

Reference: Geoff Cashman's User's Guide to Empire, BSD 1.1 patch level 5, historical aircraft rules. The provisional inventory and grounded-aircraft attrition coefficients described in this earlier release have since been replaced with source-derived formulas by v0.9.70.

Aircraft bombing and naval shore bombardment

BOMB is the aircraft bombing command, and its unique four-letter expansion is bomb. The full BOMBARD verb fires a ship's guns against a visible enemy sector.

BOMB 12 jh EFFICIENCY
BOMB 12 jh STRATEGIC BOMBERS 13 ESCORTS 15
BOMBARD 7 14 10 2
BOMB 7 14 10 2

The last command is a backwards-compatible shorthand for naval BOMBARD: when arguments 2 and 3 are numeric X and Y coordinates, it dispatches to naval shore bombardment. Aircraft flights use letter direction strings instead. This disambiguation preserves both command forms; no naval gun, aircraft, ammunition or BTU rule is altered.

v0.9.67 — Aircraft efficiency damage sequencing and source review

Historical note: the v0.9.67 rounding claim below was disproved by original BSD source inspection in v0.9.70 and is no longer the active rule.

For each successful sector-efficiency bomb hit, the aircraft damage engine now multiplies the remaining efficiency by 0.88 and truncates immediately, instead of applying a power and rounding only at the end. With a starting efficiency of 100, one, two and three hits now leave 88, 77 and 67 respectively; the old three-hit result was 68. Zero or negative hit counts cannot increase efficiency. Serial bomber impacts continue to use the same rule through the existing transactional damage path. Shell, fuel, mobility, flak and interception costs are not changed. No database migration is required.

Historical numerical fidelity is not claimed beyond what the original source has already been reviewed for. The 0.88 stockpile and grounded-aircraft formulas remain provisional. To examine the original BSD 1.1 C source on Linux, place empire-1.1.tar.gz at docs/reference/, or run the optional ./scripts/fetch-bsd-reference.sh. Then run python3 scripts/audit-bsd-bombing.py and open docs/reference/bsd-bombing-audit.html. This creates a bounded, read-only line-numbered HTML transcript of the original bombing/damage C files. No original code is shipped in the release ZIP. The report is evidence for manual review, not automatic proof of a formula. The archive was unavailable for direct inspection in the v0.9.67 release environment.

v0.9.66 — Corrected interceptor mobility test expectation

The PostgreSQL air-formation integration test now correctly verifies that fighters intercepting a mission spend ten mobility each: the fighter that starts with 20 ends at 10, and the fighter that starts with 40 ends at 30. All existing combat rules, escort behavior, flight commands, fuel deductions, notifications and transaction boundaries are unchanged. No schema migration is needed. This is a test-only correction; the runtime remains BSD-style.

v0.9.65 — Coordinated conventional multi-bomber raids

Issue one BOMB command for a leader and one to six additional bombers using BOMBERS. Up to six fighter escorts can join the same formation using the explicit ESCORTS separator. All aircraft must be owned by the same nation and assembled at the same launch site; each bomber must be operational, bomb-capable, and have enough mobility and range. The route and one target are shared by all bombers.

PLANES
BOMB 12 jh STRATEGIC BOMBERS 13 14 ESCORTS 15 16
BOMB 12 jh COMMODITY PETROL BOMBERS 13
BOMB 12 jh EFFICIENCY BOMBERS 13 14
BOMB 12 jh SHIP 27 BOMBERS 13
BOMB 12 jh PLANE 42 BOMBERS 13 ESCORTS 15
EVENTS 20

Old one-bomber command syntax remains valid. Trailing aircraft numbers without BOMBERS are still interpreted as fighter escorts, not bombers. In a coordinated raid, every bomber loads its full bomb capacity as shells, spends its own petrol and twenty mobility points, and independently faces flak, interception, abort, and destruction. The defenders expend their own ammunition, fuel and mobility; an interceptor cannot launch twice in one coordinated raid. Surviving bombers and escorts return to the departure sector. Successful bombers combine source-derived sector damage factors before the sector is updated once; ship and grounded-plane targets resolve each bomber separately. EVENTS contains the participating aircraft's results; one sanitized public NEWS headline is generated for the raid.

Preflight validation checks the complete formation, route, target, combined shell load and combined petrol. Failure commits no resource expenditure or private/public combat notices. Successful or aborted raids commit all effects in one PostgreSQL serializable transaction. This coordinated command syntax is a modern interface to the BSD-style combat rules, not a claim that the original BSD 1.1 command used these exact words. Historical commodity and grounded-plane attrition formulas remain provisional as noted below. There is no new database migration. Mixed departure airfields, transport missions, aircraft-carrier operation and nuclear bombing remain future work.

Aircraft target selection and strategic bombing (v0.9.64)

Historical feature description: the original v0.9.64 prototype accepted additional stockpile targets and used provisional damage coefficients. The supported targets and current damage rules were corrected in v0.9.70 above; use that section for current gameplay.

Conventional bombers now have four sector-targeting choices in addition to the existing ship attack. STRATEGIC attacks the enemy land sector's aboveground stockpiles collectively. COMMODITY NAME attacks only the named stockpile (v0.9.70 also applies documented collateral damage). PLANE PLANE_ID strikes one enemy aircraft parked in the target land sector. EFFICIENCY retains the existing sector impact formula.

BOMB 12 jh STRATEGIC 15 16
BOMB 12 jh COMMODITY PETROL
BOMB 12 jh COMMODITY PETROL 15
BOMB 12 jh PLANE 42
BOMB 12 jh EFFICIENCY
BOMB 12 jh SHIP 27
EVENTS 20

Commodity names: civilians, military, food, iron, oil, gold (gold dust), lcm, hcm, petrol, shells, guns, uw (uncompensated workers), bars (gold bars), rad and mines. Strategic attacks affect these stored quantities, not subterranean mineral, oil, gold or uranium reserves. An attack cannot target your own land, sanctuary, open sea or a missing or foreign-location plane. Existing full bomb shell loading, petrol/mobility costs, fighter escorts, interceptors, flak, private EVENTS and sanitized NEWS apply without a second combat path.

The target categories follow the historic Empire bombing distinctions; the 0.88 ^ number_of_hits stockpile and grounded-aircraft attrition curve in this release is a provisional balancing rule, not a claim that the original BSD 1.1 commodity and grounded-aircraft damage formulas have been verified. Ship and efficiency bombing formulas are unchanged. Multi-bomber conventional raids were added in v0.9.65; nuclear missions and aircraft-carrier launch are not implemented. No database migration is required.

v0.9.63 — Aircraft pinpoint bombing and ship attacks

The original BSD Empire 1.1 EMP/player/commands/bomb.c supports pinpoint attacks against sector efficiency and individual ships. The first bombing slice supports one bomber and up to six fighter escorts. Its path ends at the target; unlike FLY, a surviving bomber and escort return to the departure field rather than landing in enemy territory.

PLANES
BOMB 12 jh EFFICIENCY
BOMB 12 jh SHIP 27
BOMB 12 jh EFFICIENCY 15 16
EVENTS 20
NEWS

Use the original six direction keys and end with h. The target is the last hex flown. EFFICIENCY requires foreign-controlled land outside sanctuary. SHIP SHIP_ID requires an exposed enemy ship in the target hex; submerged submarines at sea are not valid pinpoint targets. Escorts are optional, must be ready fighters at the bomber's base, and can be lost to interception independently.

The bomber loads its full aircraft bomb capacity as shells from the departure sector, and every participating aircraft spends its own petrol and twenty mobility points. Bomb loads are spent even on misses or if flak/interception aborts the attack. For sector efficiency strikes, each successful bomb multiplies remaining efficiency by 0.88. Ship bombing uses BSD aircraft accuracy, target visibility and speed, ship armor, and the historical damage routine. Ground flak, interceptor fighters and ship antiaircraft defenses run before bomb impact. Enemy ships and sectors cannot be attacked merely by claiming a coordinate; the target must exist and be foreign.

The strike commits aircraft losses, defending ammunition, damage, expenditure, and nation-private EVENTS atomically. A public NEWS headline identifies the nations but not target coordinates or cargo. Invalid mission, ownership, route, fuel, bomb load or escort rolls back all changes. No database migration is required from v0.9.62.

Strategic and commodity bombing, and attacks against grounded aircraft, were added in v0.9.64. Nuclear bombing, mixed-base bomber assembly and aircraft carriers are not implemented yet. The mission retains v0.9.60 hostile overflight and v0.9.61 escort behavior. The previously supported BOMB SHIP_ID X Y shorthand for naval BOMBARD is retained: numeric X,Y arguments select ship artillery, while direction keys select aircraft bombing.

v0.9.61 — Fighter escorts and multiple interceptors

The original BSD Empire 1.1 EMP/player/commands/fly.c and EMP/player/subs/aircombat.c fly mission planes with a separate fighter escort list. ac_intercept can launch up to the number of attacking aircraft; escorts are engaged before the mission plane. v0.9.61 implements a bounded, one-mission-plane subset of these historical mechanics.

PLANES
FLY 12 jjh 15 16
RECON 12 jjh 15 16
EVENTS 20

The first number is the mission aircraft; the direction keys are those used by normal FLY or RECON. Remaining numbers are distinct, owned escort fighters (one through six). All aircraft must assemble at the same owned departure sector, have at least 40% escort efficiency, sufficient range and 20 mobility each, and a valid landing destination. Each plane consumes its own petrol and mobility. A source airfield must have enough petrol for the whole formation; insufficient fuel or an invalid escort rejects the entire mission without changing inventory, aircraft, defenses or private events.

Defending interceptors spend their historical half-fuel and ten mobility, up to the number of attacking aircraft. They engage live escorts first and may then engage the mission aircraft. Escort damage, aborted fighters, and destroyed planes are preserved. A mission abort or destruction sends surviving escorts back to the launch sector. Ground and ship flak continue targeting the mission plane; reconnaissance shows only actually flown hexes. Both nations receive private EVENTS about dogfights.

This bounded release does not yet support multiple mission planes, aircraft assembling from several bases, aircraft carriers, bomber payloads, escort withdrawal routes or historical diplomatic relations. The one-plane commands remain unchanged. No database migration is needed from v0.9.60.

v0.9.60 — Aircraft interception and antiaircraft fire

FLY PLANE_ID DIRECTIONS and RECON PLANE_ID DIRECTIONS can now cross foreign-controlled land. BSD Empire 1.1 aircombat.c interception and flak routines are applied to each hostile land hex of a single-plane flight. The destination must still be a permitted runway or V/STOL landing area, and landing in a foreign-controlled sector is prohibited. The older coordinate-based RECON ID X Y retains its earlier return-to-base implementation.

A defender's ready fighter needs at least 40% efficiency and positive mobility, range to the intercepted hex (up to half its listed range), a compatible launching site and enough petrol for half its type fuel. It spends ten mobility and that petrol. Defending ground guns use at most fourteen guns and spend half that number in shells; ship-based antiaircraft fire can also respond at the final flight hex. Fighter attack/defense odds and flak damage use the original BSD dogfight and flak tables. Destroyed aircraft are removed; missions damaged severely enough to abort return to their departure location. Mission petrol and mobility are not refunded for an intercepted or aborted mission.

The flying and defending nations receive private EVENTS about encounters. A reconnaissance report includes only hexes actually traversed, not the unflown remainder of a path. A rejected landing, invalid route, insufficient fuel or ownership failure rolls back all mission-related changes. The current model treats foreign ownership as hostility until treaties and diplomatic relations exist. This is a single-mission-aircraft slice, not the full original escort formation, stealth evasion, fighter assembly, AA missile, or bombing system. No migration is required from v0.9.59.

PLANES
FLY 12 jjh
RECON 12 jnh
EVENTS 20

v0.9.59 — Aircraft flight paths, landing and path reconnaissance

Historical BSD Empire 1.1 player/commands/fly.c, reco.c and player/subs/plnsub.c specify one-way missions, six-letter direction paths, a 20-mobility mission cost and one plane-type fuel allocation per departure. The supported first slice adds FLY PLANE_ID DIRECTIONS and RECON PLANE_ID DIRECTIONS. Direction letters are u up-right, j right, n down-right, b down-left, g left and y up-left, with optional final h stop.

PLANES
FLY 12 jnh
RECON 12 gyh
EVENTS 20

The aircraft flies the route and lands at its final sector; it does not return to the original airfield. Range is checked against the number of flight legs, and the departure sector must supply the plane's historical petrol requirement. Launching a conventional aircraft requires an owned airport at least 40% efficient, and its destination must be an airport at least 60% efficient. Aircraft with the BSD V/STOL V flag may take off and land on ordinary owned or unclaimed land (but not mountains or open sea; carrier operations are not implemented). Missions consume 20 aircraft mobility. RECON ID DIRECTIONS produces nation-private terrain, designation and owner sightings along its route. The older RECON ID X Y round trip remains available.

In the original v0.9.59 flight-only release, directional flights were restricted to your own or unclaimed sectors. Flying across foreign-owned sectors is rejected without spending supplies because fighters, hostile flak and interception were not yet simulated. This restriction was superseded by v0.9.60 air defense. Conventional FLY currently relocates one aircraft without cargo or escorts. Full historical multi-plane assembly, cargo transport, carrier landing, air-to-air combat and bombing will be added separately. Flight sighting reports do not yet permanently alter nation fog of war. Flight data uses the existing planes table: no new migration.

Aircraft units, airports and reconnaissance

PLANETYPES (PLTY) lists the 48 historical BSD Empire 1.1 plchr[] aircraft types, including their required technology, materials, crew, purchase price, range, fuel and capability flags. The entries come directly from the original lib/global/plane.c and h/plane.h. PLANES (PLAN) lists only your nation's aircraft with individual IDs, position, efficiency (training), mobility and attack/defense.

PLANETYPES
DESIGNATE 1 1 *
PLANES
BUILD PLANE 1 1 fighter 1
RECON 12 2 1
EVENTS 20

Building aircraft: an owned * airfield with at least 60% efficiency must supply the type's LCM, HCM, military crew, available work, and treasury. The historical buil.c cost is one-tenth of full list price, and available work spent is 10% of 5 × (LCM + 2 × HCM). A new airplane starts at 10% training and zero mobility, so it cannot fly immediately. Plane numbers are assigned by the database and are distinct from ship numbers. The hourly simulation restores one plane mobility per elapsed game hour (maximum 127) and, where treasury and local workforce permit, gradually increases its training; the same elapsed-time checkpoint protects against duplicate repairs or charges.

Reconnaissance: RECON PLANE_ID X Y sends one owned, ready non-missile aircraft from its owned 40%+ airfield over a target hex and back to that same airport. The two-way hex distance must fit the aircraft's built range. The departure airport spends its historical one-mission petrol requirement, and the aircraft spends 20 mobility. The report reveals target terrain, designation and current owner to the issuing nation, with a private EVENTS record. Failed or unauthorized missions spend nothing. Coordinates are relative to the nation's original capital.

Scope: this is the first aircraft foundation. The older coordinate reconnaissance mission uses a simplified round-trip path; single-aircraft directional paths are described in v0.9.59. Original multi-aircraft assembly, complete escort-based air-to-air advanced paratrooper formations, transports, carriers, missiles, satellites and radar aircraft echoes are not implemented yet. Aircraft type entries that cannot fly conventional missions are catalogued but are not launchable. Reconnaissance reports persist in private events but do not yet permanently reveal unexplored sectors on the map.

The new 202611230003_PhaseFourPlanes PostgreSQL migration adds the per-game, per-nation aircraft table; back up existing game databases and apply the migration to use aircraft in existing worlds.

v0.9.57 — BSD radar stations and complete sector/ship maps

Land radar installations are now active player designations. Claim a land sector, DESIGNATE X Y ), develop its efficiency using normal sector rules, then run RADAR X Y. The original BSD Empire 1.1 rada.c chooses radar sectors and computes a station's unscaled range as floor(8 × (50 + nation technology)/(200 + nation technology)); radmap.c scales this by sector efficiency. Stations must be owned and operational and cannot detect submarines.

CLAIM 3 4
DESIGNATE 3 4 )
RADAR 3 4
FLEET A 12 13
RADAR A
RADA 12

RADAR SHIP_ID and RADAR FLEET_LETTER now show a separate ASCII map for every selected ship, not just the old coordinate echo list. Each map contains the radar's original center 0, natural terrain symbols, nearby sector designations, and anonymous capital-letter ship echoes. Ship radar range uses the ship's historical spying factor, build technology and efficiency. Enemy developed sectors beyond one-third of the effective radar range show ?; natural sea, mountains, wilderness and wasteland remain recognizable at distance. Radar never returns another nation's ship ID, owner, inventory, troops or exact military readiness. Within a hex, the most visible vessel supplies the ship symbol. Sonar-equipped ships may show nearby submarine echoes under the historical reduced-visibility rule. Fixed radar sites cannot see submarines.

Radar does not consume mobility or money. Each successful command costs one BTU in BSD timing games and zero in legacy games. Radar does not generate private ping alerts and does not change explored-map knowledge; active SONAR remains the separate command that can warn enemy listeners. Sector radar is a new use of the already-catalogued ) designation, so no database migration is required. The original radmap.c also draws launched foreign planes as $; aircraft are now persistent units, but airborne radar echoes remain unimplemented, so those echoes are omitted rather than invented.

v0.9.56 — BSD naval sonar and radar reconnaissance

SONAR SHIP_ID or SONAR FLEET_LETTER scans from one owned sonar-equipped vessel, or all sonar-equipped vessels in the selected fleet. Original BSD Empire 1.1 sona.c gives sonar to fishing trawlers, destroyers, conventional submarines and nuclear submarines. Sonar uses ship technology, target visibility, observer efficiency and distance to determine which enemy ship numbers are identified, including submerged submarines.

FLEET A 12 13
SONAR A
SONA 12
RADAR A
RADA 12
EVENTS 20

Sonar pings are active. An enemy sonar-equipped vessel within the original ping-listening threshold receives a private EVENTS warning with its detected origin location, even if your sonar does not identify that vessel. Repeated scans can produce repeated warnings. A non-sonar vessel cannot scan alone, and a fleet with no sonar equipment is rejected.

RADAR SHIP_ID or RADAR FLEET_LETTER reports anonymous ship-shaped echoes. Each line contains a coordinate relative to your nation's original capital and a one-letter vessel symbol. It does not identify ship numbers, their owning nation or cargo. As in the original radmap.c, multiple echoes in one hex display only the highest-visibility vessel and friendly ships can also appear outside the scanner's center hex (shown as 0 in BSD). Submarines are normally hidden from radar; source-derived reduced submarine echo ranges apply only to sonar-capable observing vessels. SONA and RADA are four-letter aliases.

This release implements ship-sensor contacts from the historical radar calculation, not yet the complete ASCII terrain/aircraft radar map, land radar station scans or aircraft reconnaissance. It does not change existing CONTACTS surface sighting rules and requires no schema migration.

v0.9.55 — Ship fleets and coordinated navigation

In the original BSD Empire 1.1, flee.c assigns a single alphabetic fleet letter to ships, and navi.c can navigate a selection of vessels through a shared direction sequence. Fleets are named by one ASCII letter (case-sensitive). The original ~ symbol clears a ship's fleet assignment. Only ships you own can be assigned, listed or commanded; captured ships lose their previous fleet label.

SHIPS
FLEET A 12 13 14
FLEETS
NAVIGATE A jnuh
FLEETFIRE A 27 1
FLEET ~ 14

FLEET LETTER SHIP_ID [SHIP_ID...] assigns the letter to one or more ships; FLEETS lists active groups. The four-character aliases are FLEE for assignment, FLTS for listing and FLFI for FLEETFIRE.

NAVIGATE LETTER DIRECTIONS moves all ships assigned to that letter, individually paying the original ship-specific sailing mobility cost per hex. Use the original direction keys: u up-right, j right, n down-right, b down-left, g left, y up-left. A final h stops navigation. Up to 32 keys are accepted per command. Directions are translated into the existing odd-row hex map, because the original game's doubled-X coordinate grid differs.

All ships must have crew and enough mobility for each requested step. An inaccessible harbor, unsafe sea, empty tank, or active automatic cargo route on any participating ship rejects the entire navigation command without moving other vessels. Mines are resolved separately for each arriving ship in ship-ID order; their real damage and swept mine counts remain in effect. If a ship is crippled below 20% efficiency, navigation stops after that completed step. This all-or-nothing fleet transaction is an intentional multiplayer safety adaptation of the original interactive navi.c command.

FLEETFIRE LETTER ENEMY_SHIP_ID [SHOTS_PER_SHIP] is a modern coordinated-command convenience, not an original BSD 1.1 verb. It executes historical NAVALFIRE ship volleys in numeric ship-ID order in one transaction, including per-ship gun limits, shells, BTUs, defensive escort and fortress counterfire, private events, and sanitized public news. Every member must be eligible and in range. If any volley is rejected, all damage, expense, and notices roll back; fire stops once the target is crippled. Submarine targets still require torpedoes or depth charges. Four-character command aliases work.

The release adds persistent fleet letters with PostgreSQL migration 202611230002_PhaseThreeFleets. See the administrator guide for migration and regression-test details.

v0.9.54 — Naval minefields (original BSD MINE and NAVIGATE)

MINE SHIP_ID COUNT converts up to COUNT shells on an owned destroyer, heavy cruiser or conventional submarine into persistent sea mines at the ship's current position. The MINE command does not fire on the laying ship: a minefield checks the next vessel that enters that hex. Nuclear submarines and minesweepers cannot lay mines. The count is limited to available shells and only sea sectors or sectors below bridge spans can be mined. Laying mines costs 2 BTUs in BSD timing games (zero in legacy games); no mobility is charged.

SHIPS
MINE 12 8
SAIL 12 3 4
EVENTS 20

Each mine contributes five percentage points to a passing ship's hit probability, so twenty or more mines guarantee a strike. A collision consumes one mine and causes ship-type-specific damage to efficiency, mobility, crew, ammunition and cargo. As with other BSD ship damage, efficiency below 20% retires the vessel on the next hourly update, not instantaneously.

Original type #7 minesweepers attempt to remove at most five mines on entering an unprotected field, each with a 66% success chance. Each successfully cleared mine is recovered as one shell if the hold has room. A sweeper may still strike any remaining mines. Other ships do not sweep.

Minefields in sea sectors controlled by the passing ship's nation are protected: ships neither hit nor sweep those fields. Unowned mines know no allegiance; even the nation that laid them can be hit when returning. Mine counts stay hidden from foreign players. Manual SAIL and the optional automated SHIPROUTE shuttle both run the entry check. Automatic ships crippled by a mine pause their route. Private EVENTS report mine collisions and successful sweeping; mine strikes also produce sanitized public NEWS.

Source verified against BSD 1.1 EMP/player/commands/mine.c, EMP/player/commands/navi.c and EMP/lib/global/ship.c. A new PostgreSQL migration stores each sector's mine count.

v0.9.53 — Amphibious troop landings (BSD ASSAULT)

ASSAULT X Y SHIP_ID TROOPS (alias ASSA) lands shipborne military on a foreign or unclaimed land hex no more than one hex from the ship. An adjacent landing must start in a sea hex; it cannot jump across land or assault inaccessible terrain. The beach may be defended or undefended. Unlike attacks from land, this is the way to establish a foothold on an unclaimed coast. Player coordinates are relative to the original capital.

The historical ship table marks the yacht and landing ship as fully landing-capable. When enemy troops defend the sector, other ship types can commit only one tenth of their embarked military in one attempt; against an undefended coast, any ship may unload its entire requested military party. Troops bring a proportionate amount of the ship's food. The defenders fight with their sector's efficiency and designation bonus, including enhanced fort and capital defenses. Coastal fortresses and nearby warships can return fire at the landing vessel before hand-to-hand fighting begins.

Capture transfers ownership, places surviving marines in the sector, zeroes sector mobility, applies old allegiance/loyalty and guerrilla rules, clears outdated delivery routes, and exposes a healthy beach to plague if the attacking ship is infectious. Failed assaults lose disembarked food and do not transfer ownership. Combat casualties incur BSD's 0.15 BTU per casualty rounded cost. The attacker (and the defender when present) receives private EVENTS; captures produce public NEWS. All operations commit atomically in PostgreSQL.

SHIPS
ASSAULT 3 4 12 80
ASSA 3 4 12 20
EVENTS 20
NEWS

Based on EMP/player/commands/assa.c and EMP/lib/global/ship.c. Coastal defense uses the game's existing source-based return-fire service. No new database migration is required.

v0.9.52 — In-memory boarding adapter compatibility

The in-memory demonstration used by the Playwright browser tests now implements the IGameNavy.BoardAsync interface method. As with other demo ship commands, boarding is unavailable without a PostgreSQL-backed game. No naval combat behavior, schema, or player command has changed in this release.

v0.9.51 — Ship boarding and prize capture

BOARD TARGET_SHIP_ID FROM_SHIP_ID (alias BOAR) orders your ship to board a foreign surface ship in the same hex. The attacking vessel must carry military crew, have positive mobility and at least 20% efficiency. Submarines cannot be boarded. Use CONTACTS to find visible ship numbers. Source: original BSD 1.1 boar.c.

Defending ships in range return gunfire first, consuming shells and potentially crippling the boarding ship. If the defender still has positive mobility and is faster, it may escape; both ships spend pursuit mobility. Otherwise troops fight one casualty per round: a 33% chance removes one defender, the remaining 67% removes one attacker. The winner can capture the vessel. On capture, up to half of the surviving attackers move aboard as a prize crew, limited by the target's military hold; the rest stay on the attacking ship. Cargo stays aboard the prize, and its former automatic cargo route is removed.

Captured vessels and attackers can transmit plague while boarding, as in the original source. BTUs depend on total casualties; insufficient BTUs reject the whole completed boarding action atomically. Both nations receive private EVENTS notices, and successful captures generate public naval news. A ship crippled below 20% efficiency sinks on the next hourly update, as with other naval combat. There is no new database migration.

CONTACTS
BOARD 27 12
BOAR 27 12
SHIPS
EVENTS 20
NEWS

The command uses target ship number first, then your attacking ship. This release does not add ship-to-shore amphibious assaults or naval mines.

v0.9.50 — Shore bombardment and defending escorts

BOMBARD SHIP_ID X Y [SHOTS] (alias BOMB) orders an operational ship (60% efficiency or higher) to fire its surface guns at an enemy-controlled land sector within technology-adjusted firing range. The attacker needs military crew, guns, shells, and BTUs; the selected guns consume one shell each and 15 ship mobility. Target sectors take the BSD 1.1 fire.c/damage.c efficiency, mobility and inventory losses, with banks having armor 320 and other sectors armor 160.

After a naval attack, eligible enemy ships near the firing ship may fire in defense. Defending fortress batteries also respond when in range, including a fortress that was itself bombarded. These rounds consume the defenders' shells and can damage the attacking ship's efficiency, crew, cargo and positive mobility. In NAVALFIRE, escort ships and nearby fortresses now respond too; the target ship is no longer the only defender. The behavior follows BSD player/subs/fortdef.c and fire.c.

BOMBARD 12 3 4 2
BOMB 12 3 4
NAVALFIRE 12 27 2
EVENTS 20
NEWS

Both nations receive private EVENTS reports, while the public newspaper receives an appropriately sanitized military headline. Defenders' shells, attacker damage, and notices are part of the same atomic transaction. The commands use local nation coordinates for sector targets. Torpedoes and depth charges remain separate from surface artillery. Boarding is now introduced in v0.9.51. Mines, ship-to-shore troop landings, and coordinated offensive fleets are not yet implemented.

v0.9.48 — Submarine torpedoes and depth charges

TORPEDO SUB_ID ENEMY_SHIP_ID (alias TORP) launches torpedoes from your submarine or nuclear submarine at another nation's ship. The submarine needs at least 60% efficiency, positive mobility, one gun, and three shells. It expends three shells and 20 mobility even if the shot misses or its target is out of range, as in BSD 1.1 torp.c. The technology-adjusted torpedo range and armor-scaled random damage follow the original source. Hit probability is 90% at distance zero and 45% at distance one. Enemy destroyers at the attacking submarine's own coordinate can automatically counterattack with depth charges (two shells each); they can retaliate even if the torpedo misses, until the submarine is crippled below 20% efficiency. Because depth charges also damage a submarine's positive mobility and cargo holds, its final shells and mobility may be lower than the values remaining immediately after the torpedo launch. This is additional combat damage, not an extra firing cost.

DEPTHCHARGE DESTROYER_ID ENEMY_SUB_ID (alias DEPT) uses the BSD fire.c anti-submarine mode: a destroyer at least 60% efficient with military crew, a gun and two shells may strike an enemy submarine in the same hex. The operation spends two shells, 15 mobility and the calculated BTU cost. Both commands damage inventories and hull efficiency and record nation-private EVENTS notices; torpedo hits also generate sanitized public news. Disabled ships sink on the next hourly update, not immediately. No migration is needed. Contact lists still conceal submerged ships; these commands do not implement a sonar detection interface.

TORPEDO 12 27
TORP 12 27
DEPTHCHARGE 33 12
DEPT 33 12
EVENTS 20

Sonar targeting, mines and coordinated fleet attacks remain unfinished; this release focuses on the source-confirmed torpedo and anti-submarine rules.

v0.9.47 — Naval shuttle integration fixture correction

Historical BSD Empire population updates relinquish a sector with neither civilians nor military. The isolated PostgreSQL shuttle scenario previously created an empty, undefended destination harbor and assumed it would remain owned through three simulated hours. The test now seeds 40 civilians and the correct original allegiance, then verifies that the destination stays owned, receives cargo and lets the ship start returning. A separate smoke test ensures the original abandoned-sector behavior remains unchanged. No gameplay, ship movement, database migration, or command syntax changed.

v0.9.46 — Ship-to-ship naval surface gunfire

NAVALFIRE OWN_SHIP_ID ENEMY_SHIP_ID [SHOTS] (four-letter alias NAVA) fires ship-mounted guns at an enemy surface vessel. Use CONTACTS [OWN_SHIP_ID] (alias CONT) to find visible foreign surface vessels by ship number. This uses the range and visibility rules from original look.c, with approximate efficiency only; enemy crew, cargo, ammunition and other private information stay hidden. The firing ship must be at least 60% efficient and carry military crew, guns, and shells. The default fires the available guns up to the original ship-class limit; specifying SHOTS caps that salvo. A ship cannot shoot itself or its nation's other ships. Submarine targets deliberately cannot be attacked by this surface-fire command; use DEPTHCHARGE instead; the historical submarine class may itself use its deck gun against surface ships.

CONTACTS
CONT 12
NAVALFIRE 12 27
NAVA 12 27 2
EVENTS 20

The salvo uses original BSD 1.1 EMP/player/commands/fire.c, EMP/player/subs/landgun.c and EMP/lib/global/ship.c for class gun limits, armor, technology-scaled firing range, wind deflection, shell damage, shot count and BTU cost. A shot uses one shell per gun and costs 15 ship mobility (down to -100), plus the source-derived BTU charge. Ship damage.c loss calculations reduce efficiency, positive mobility and stored commodities (including crew and ammunition). If the target remains operational, it may return fire using its own guns, military, and shells. This release supports return fire from the directly targeted ship; additional nearby escorts, fortress counterfire and combined shelling are still pending.

Both nations receive private EVENTS combat notices, and a sanitized public naval headline appears in NEWS. A ship whose post-combat efficiency is below 20% is disabled immediately and retired on the next hourly ship update, matching the original update/ship.c order. At sinking, cargo and crew are lost and any automatic cargo route is removed. Repeating the same economic update cannot duplicate sinkings. Ship firing, BTU debits, damage, notices and headline records are committed in one PostgreSQL transaction; failed fire attempts do not consume ammunition.

Shore bombardment, escort gunfire, mines, boarding and fleet combat remain future naval-combat work. No new database migration is necessary for surface gunfire; this release uses existing ship inventories and nation-event history.

v0.9.45 — Naval shuttle integration scenario

The automatic route's unchanged gameplay takes one simulated hourly movement step per safe sea or harbor hex. The isolated PostgreSQL test now observes the first return leg after three hours, with delivery and private naval-event checks. This avoids conflating the ship's returning state while in transit with its state after arriving home; failures include actual ship position, cargo, mobility, efficiency, route state and simulation tick diagnostics. There are no new naval mechanics, player commands or schema migrations.

v0.9.44 — Hourly BSD ship upkeep and repair

All owned ships now pay upkeep and may repair automatically as time passes. The original EMP/update/ship.c repair algorithm uses one ETU per simulated hour: at most one additional efficiency point per hour, never over 100%. Repair work comes from civilian and military crew for merchant vessels, but from military crew only for armed warships. Away from a harbor, aboard work counts at one-third rate. An owned harbor can contribute its available work; all ships docked there share that work in ship-number order. Repair work requires 20 + LCM + 2*HCM hundredths per efficiency point. Maintenance is based on the historical ship cost (at least $1 per hour); if national technology falls below 85% of the ship's build technology, upkeep and repair costs are doubled. An additional 1% of the ship price is charged per point repaired. The treasury cannot go below zero, so repairs may wait for funds. The economic construction expense ledger includes ship spending.

The game processes ship upkeep after sector production at fixed hourly boundaries. It is saved atomically with economic and naval updates, so daily, hourly, and catch-up runs cannot repeatedly charge for one elapsed hour. REPAIR SHIP ID POINTS remains available for an immediate manual refit at a friendly efficient harbor; that command retains its preexisting explicit costs and differs from scheduled BSD repairs. No new migration or new repair command is necessary. Surface ship gunfire and update-cycle sinking are introduced in v0.9.46; other naval weapons and shipboard rations/wages remain future work.

v0.9.43 — Automatic harbor cargo shuttles

The optional SHIPROUTE command gives one crewed vessel a repeatable cargo shuttle between two operating harbors belonging to its nation. This is a modern convenience feature, not a historical BSD 1.1 command. Actual sailing, ship capacities and cargo-related plague transmission continue to follow the original BSD source rules. Set a route while the ship is at its source harbor, with an empty hold for the routed commodity and at least 20% efficiency. The destination must be reachable over safe seas or your own operating harbors. Both harbors must have at least 60% efficiency for navigation (manual cargo handling still requires only 2%).

SHIPROUTES
SHIPROUTE 3 0 1 4 1 FOOD 100 500
SHRO 3 0 1 4 1 LCM 50 200
SHIPROUTE OFF 3
SHRS

The two coordinate pairs are nation-local like other commands. The ship loads up to its hold capacity without taking the source below the reserve, unloads only toward the destination goal (at most 999 items ashore), and returns for another trip. Each simulated hour allows at most one adjacent hex move, subject to normal BSD ship mobility. A blocked route waits; losing either harbor pauses it. Route data is private to your nation and persists after restarts. SHIPROUTE OFF ID frees the ship for manual sailing and cargo handling. Automated routes handle FOOD, SHELL, GUN, LCM, HCM, PETROL, OIL, IRON, DUST and RAD when the ship has the relevant hold; civilian, MIL and UW transfers remain manual. Cargo-contact plague risk still applies.

The game must have the migration 202611220008_PhaseThreeShipRoutes applied. Route state participates in the same database transaction as the five-minute economic clock, so updating or replaying the same elapsed period cannot move cargo twice.

v0.9.42 — BSD naval cargo, tending and shipborne plague

The cargo and crew capacities are reproduced from EMP/lib/global/ship.c. Use CARGO ID to see a ship's current cargo, original per-item capacities, and plague stage. LOAD SHIP ID ITEM N loads cargo or crew from an owned harbor; UNLOAD SHIP ID ITEM N sends it ashore. An owned harbor must be at least 2% efficient for loading and unloading, while ship construction and repairs still require a 60% harbor. Units are always positive integers.

SHIPS
CARGO 1
LOAD SHIP 1 FOOD 80
LOAD SHIP 1 MIL 1
UNLOAD SHIP 1 FOOD 25
TEND 1 2 FOOD 20

Items: CIV, MIL, FOOD, UW (uncompensated workers), SHELL, GUN, LCM, HCM, PETROL, OIL, IRON, DUST (gold dust), and RAD (radioactives). Ships only carry the items allowed by their historical ship type. The harbor cannot hold more than 999 of any commodity after unloading. Foreign-original-allegiance civilians cannot be loaded or unloaded at occupied harbors. TEND FROM TO ITEM N transfers between two owned ships in the same hex, whether at sea or in harbor; insufficient cargo/capacity fails without changing either ship.

Loading, unloading, or tending an infectious ship can expose a healthy harbor or vessel, and vice versa. The existing plague stage advances once per simulated hour on exposed ships, and deaths affect people aboard. Ships do not contract plague spontaneously. Exposures and important stage changes appear in private EVENTS. All inventory and exposure changes are atomic. Original shipboard rations, naval fuel, shore bombardment, planes, and the graphical ship UI remain incomplete. Hourly source-derived ship repair was added in v0.9.44.

v0.9.40 — BSD 1.1 shipbuilding and coastal navigation

Phase 3 introduces persisted, nation-owned ships. The SHIPTYPES catalog reproduces the 18 ship types from the original EMP/lib/global/ship.c (technology, LCM/HCM requirements, listed price and speed). To start, designate a coastal owned land sector as a harbor (DESIGNATE X Y h), improve it to at least 60% efficiency, supply it with light/heavy materials and available work, and ensure your nation can pay one-fifth of the ship's catalog cost.

SHIPTYPES
BUILD SHIP 0 1 fishing boat
SHIPS
LOAD SHIP 1 MIL 1
REPAIR SHIP 1 20
SAIL 1 1 1
NAVI 1 0 1

The example coordinates are relative to your nation's original capital; adjust them to your world. BUILD SHIP X Y TYPE accepts ship names with spaces and requires an owned harbor bordering sea. New ships have 20% efficiency, zero mobility and no crew, matching original buil.c. Use LOAD SHIP ID MIL|CIV N to place crew aboard at that harbor (capacity varies by ship type). Mobility regenerates 2 per simulated hour to a cap of 64, matching constants.c and update/mobility.c. Use SAIL ID X Y (also NAVIGATE/NAVI) to move one adjacent hex into the sea or a friendly harbor at least 60% efficient; the mobility charge follows the navi.c formula and requires crew.

REPAIR SHIP ID POINTS repairs 1–20 efficiency points at an owned harbor using available work and money. This explicit command is a transitional replacement for the original automatic ship-repair update, not an exact copy of update/ship.c. Naval fire, mines, automatic routes, fleets, and the ship GUI remain future Phase 3 work. Cargo and ship plague handling are documented in the v0.9.42 section above. SHIPS lists only your nation's vessels, and construction, loading, repair and sailing are atomic PostgreSQL operations. They are not enabled in the isolated in-memory demo server.

Empire — User Guide

This guide describes current player-facing behavior. For server operation and administrator commands, see Administrator Guide. Use Git history for code changes; this guide describes the current behavior.

Combat test games (v0.9.24)

Administrators may create an independent Combat Test game with two to six developed countries for immediate battle exercises. Once assigned to a test nation, you can use the normal GARRISON, ATTACK, FIRE, ROUTE and sector commands. With adjacent borders selected, the front-line fortresses of neighboring nations can attack without waiting for industrial or military development.

Each test nation has capital facilities, industries, stockpiles, food, workers, MIL, guns, shells, treasury money, technology and mobility. Normal games are unchanged. Test resources and technologies are preconfigured, not earned by play; these scenarios are for testing and training. To repeat the initial setup, ask an administrator to create another game with the same seed and settings and assign you to its nation.

Combat regression testing: The isolated PostgreSQL rollback scenario creates a synthetic occupied sector with explicit original allegiance, loyalty and guerrillas. It restores movement capacity to the previously captured attacking sector before setting the nation's BTUs to zero, so that insufficient BTUs—not insufficient mobility—rejects the attack. The test then checks that the rejected attack preserves troops, mobility, occupation fields, ammunition and battle history. The ordinary game rules and persistent database schema are unchanged.

Occupation and original allegiance (v0.9.24)

Successful ATTACK now applies the original BSD 1.1 takeover.c sequence after casualties and troop occupation: clear available work; preserve the old allegiance when foreign civilians remain; set initial conquest loyalty to 50; and recruit some civilians as guerrillas. The number recruited uses n = (random roll 0–99) − previous loyalty and, when the sector was still under its original owner, min(civilians/2, civilians*n/3000 + 5) when n is positive. Guerrillas target the conquering nation. The count is capped at 255 to match the original byte-sized commodity capacity without overflow.

Retaking a sector belonging to your original nation, or capturing a sector with no remaining civilians, sets loyalty to zero and records the new owner as original. An occupied sector can be conquered again without resetting its underlying original allegiance. These changes are committed in the same PostgreSQL battle transaction as MIL casualties, routing changes and shell expenditure. A failed attack never applies takeover. Use GARRISON or GARRISON X Y to inspect owned sectors: an occupation line shows original owner, loyalty, guerrilla count and targeted nation where applicable.

v0.9.30 build compatibility: the .NET 11.0.0 Razor compiler can produce spurious markup and C# errors after the shared compiler server runs for a long period. Empire Web disables shared compilation as a temporary workaround. The game UI, combat, economic rules, and database are unchanged. If necessary run dotnet build-server shutdown and rebuild.

Hourly resistance and rebellion (v0.9.27)

v0.9.29 fixes an EF Core persistence-test false failure involving the storage types of sector terrain and designation. There are no player-facing rule changes or new migrations in this release.

Every elapsed game hour, after the economic steps, the server processes recorded guerrillas and local loyalty. The rules follow original BSD 1.1 EMP/update/revolt.c and EMP/update/populace.c: when rebels outnumber the garrison they fight it; heavily outnumbered rebels seek a neighboring sector held by their targeted nation; otherwise they may sabotage sector efficiency and available work and recruit civilians or uncompensated workers. A band cannot act twice in the same hour after moving. An unguarded occupied sector with loyalty at least 50 can revert to its original owner. Recapture also mobilizes about 5% of civilians, frees uncompensated workers, and demotes a captured capital to agriculture. High unrest can disrupt work and occasionally recruit new rebels. Loyalty may increase with insufficient national happiness or decline over time until the occupation's former allegiance is absorbed.

Movement and battle rolls are deterministic for each game, sector and elapsed hour; an hourly update and an equivalent catch-up after downtime process the same events exactly once. When an uprising changes ownership, automatic routes and depot links tied to that sector are cleared. Use GARRISON to inspect current guerrilla, loyalty, military and ownership state.

Remaining differences from historical BSD: the original server could configure ETUs differently; this implementation applies both resistance and plague progression once per elapsed hour. Some original player notifications, detailed raid damage to commodities, ship epidemics and the historical random generator remain incomplete. The existing national medical-research/plague-factor simulation remains a separate gameplay adaptation.

Historical sector plague and resistance notices (v0.9.31)

Every game hour, owned sectors advance through the original BSD 1.1 PLG_EXPOSED → PLG_INCUBATE → PLG_INFECT → PLG_DYING → PLG_HEALTHY stages. Exposed sectors begin incubation on the next hour, then progress through 32–63 simulated hours per stage. The chance of a new outbreak uses local population, stored iron and oil, national technology, sector efficiency and mobility, and medical research. Population losses in the dying stage affect civilians, military and uncompensated workers; medical research reduces the losses. Direct commodity deliveries from an infectious sector expose a healthy receiving sector. The historical C source's inconsistent plague-time vector reference is resolved using the actual stage timer.

Use SECTOR X Y to see the current plague stage and remaining stage timer. GARRISON [X Y] also identifies infected owned sectors. Use EVENTS (or EVEN) to read 20 recent events or EVENTS 50 to read up to 50. Notices include important guerrilla combat, efficiency sabotage, liberation, new plague exposure, outbreak, stage changes and plague deaths. Only members of the affected nation can read its event history; other nations' undiscovered sectors are not revealed. Events are committed in the same transaction as their economic update and are not duplicated by a no-op catch-up.

Migration: Existing games require ./scripts/migrate-games.sh to add sector plague fields and a nation-private event table. Existing sectors start healthy. Normal national plague-factor deaths are still modeled independently; historical disease risk adds to those effects. Ship and sea-borne infections, and the complete BSD telegram/news system, are not yet reproduced. Land ATTACK exposure and nation-private combat notices are implemented in v0.9.33.

Land combat contagion and combat notices (v0.9.33)

The original BSD 1.1 EMP/player/commands/atta.c collects infection from an infectious defender or any infectious attacking source. On a successful land attack, a healthy destination becomes PLG_EXPOSED; healthy source sectors are also exposed when their surviving troops return from the engagement. A failed attack does not cause plague exposure (the historical code clears its infection accumulator on defeat). Pre-existing incubation, infection or dying stages are never reset by contact. The original C source mistakenly checks a plague-time variable for some returning troops; Empire checks the actual plague stage instead.

Every successful or unsuccessful ATTACK and every FIRE now records a private Combat or Artillery notice for each participating nation in EVENTS [COUNT]. New land-combat exposures generate Plague notices for the currently controlling nation. These notices are saved in the same PostgreSQL transaction as casualties, sector ownership, ammunition and the combat report. Rejected commands do not generate notices or expose sectors. The BATTLE and FIRELOG commands continue to hold detailed participant-only reports.

Historical boundary: This release does not add ships or naval logistics. The original buil.c, load.c, tend.c, boar.c and update/ship.c carry and progress plague aboard ships, but the present game has no persisted ship entities or these operational commands. Similarly, the historical full historical mailbox and newspaper report catalog remain incomplete; EVENTS is the existing private event mechanism, not an exact recreation of BSD mail. No new database migration is needed for v0.9.33.

v0.9.34 — nation-event migration snapshot correction

Version 0.9.34 fixes the PostgreSQL migration snapshot so it declares the Guid Id property before using it as the nation_events primary key. This prevents an EF Core model-building exception in the isolated combat/plague integration tests and when validating migrations. The database schema is unchanged; no new migration is required. Combat, plague, resistance, and existing private EVENTS gameplay are unchanged.

v0.9.16 persistence test maintenance: Updated the migration snapshot regression tests to compare the battle and artillery entity property names and types against the current EF Core model. The v0.9.14 coordinated attack added two land battle fields, so the old assertion of exactly 17 fields was incorrect. The test still verifies the named game relationship and mandatory combat fields. No schema migration or gameplay changes.

v0.9.15 maintenance: Fixed a C# build error in the coordinated-attack persistence service caused by a reused local variable name. No change to attack rules, casualties, occupation, artillery, or the database schema.

Current land combat and artillery rules (v0.9.24)

Verified against the original C source: land combat resolves one casualty per round. Each round, the chance that the defender loses one soldier is attacker strength divided by total strength. Strength depends on sector designation and efficiency; national technology does not directly multiply ground-combat strength.

A 100%-efficient fort has 4× defensive strength; a capital has 2× and a bank has 1.5× in the original sect.c table. At 0% efficiency the corresponding factor is 1×. The ATTACK command supports up to six adjacent source sectors contributing to one attack, as in the original BSD server. Each source pays its own mobility.

On victory, a fraction of survivors from each source occupy the sector while the others return. The original fraction is the greater of 1/(participating sources + 1) and 1/total survivors. BSD can capture an undefended sector with zero surviving occupiers. The v0.9.10 rule forbidding that result is superseded.

A defending fortress fires one shell per supporting shot, not one shell per gun. Gun count (up to seven) and national technology determine range. The original C FIRE command does not grant a bonus hex at 60% efficiency or demand a 5% minimum efficiency. Five MIL, at least one gun, and one shell are required for firing in our implementation.

Direct artillery damage is based on the historical landgun, landdef, and shelldam calculations. The bank has 320 armor against shelling, other land sectors 160. Battle outcomes vary with random rolls, and COMB displays source-verification details.

Remaining differences: ship epidemics, complete historic telegram notices, some random-rounding details, and move-in policy options. Legacy games retain their original revival BTU costs. See BSD combat source audit for the exact file names, line locations, and source checksum.

Coordinated land attacks (v0.9.14)

Use ATTACK to attack an observed enemy land sector from one to six different adjacent owned sectors. Select a foreign sector, expand Combat actions, and open Attack from adjacent garrison, then enter the number of MIL to commit from each eligible neighboring garrison. Enter zero for sectors not participating. One attack costs 3 BTUs plus the rounded casualty charge in BSD timing games, or one BTU in legacy games; each participating source pays its own mobility. Enemy garrison strengths remain hidden.

Existing single-source syntax is unchanged:

ATTACK 1 0 2 0 30

For two or more sources, give the target first, then one source and MIL count per group:

ATTACK 2 0 1 0 30 2 1 20
ATTA 2 0 1 0 30 2 1 20

All coordinates are local to your nation's origin. The server validates each source's ownership, adjacency, available MIL and mobility, and checks the target against fog of war. The complete attack, applicable BTU charge, any defensive shells, casualty changes and capture are committed together.

The original atta.c implementation directs supporting fortress shells at one randomly selected attacking source sector before close combat. The shot can damage population, inventory, efficiency and MIL in that source sector, including soldiers not committed to the attack. Combat then distributes close-combat losses round-robin among the surviving attacking contingents. Captures divide each source's survivors between return and occupation. Use BATTLE to see source-by-source committed, lost, returned and occupying MIL, as well as additional collateral garrison casualties.

Getting started

Empire is a multiplayer game with a browser-based Blazor interface and an in-browser command console. Sign in with a approved player account. Select a game to create your first nation there. Each game has a separate world and economic clock. The player map is anchored to the nation's original founding capital, at (0,0); administrator maps use absolute world coordinates. The player interface is map-first: the map is always visible at the top of Home, with independently expandable Command console, Your sectors, Routes and thresholds, Nation economy and updates, and Census, production and change reports, and Help panels below it. Open a panel to use its complete controls without navigating away from the map. The sticky account header always has a Home button that returns to the interactive sector map from any page (including bookmarked standalone Reports and Economy pages). It also retains account status and Sign out; only administrators see Administration and God Mode buttons. Use the browser for all player actions; public deployments require HTTPS. The production Nginx proxy redirects HTTP visitors to the secure site before login.

The Blazor header on every player page now shows Remaining daily time, BTU, selected Game, assigned Nation, and Session state. Values refresh automatically without consuming BTUs or starting the play timer. The status bar has Routes and Reports navigation buttons on desktop and mobile, opening the standalone routes and reports pages. The expandable panels follow the currently selected game on Home; older standalone /economy and /reports links continue to work, restore the saved game before loading nation data, and offer the same persistent Home button in the header. If the same account is already connected to the same game from another browser or tab, the header shows a red Close other session button. It only appears when another connection is active; clicking it disconnects that connection and makes this browser the active game session. Different accounts may play the same game from the same computer or IP address. Closing or refreshing a browser stops its status heartbeat when the circuit is disposed; this does not change the server-enforced playing-time or session rules. If browser initialization fails, the header displays Connection unavailable and offers a retry instead of a takeover. A selected game with a valid nation membership can display its fog-filtered map while the session is blocked; issuing commands still requires the active lease. Selecting a game does not take over another browser automatically. Use the explicit takeover or retry control in the header. Open Routes and thresholds below the map to view and edit the entire national routing network.

Remaining is the daily play allowance left (HH:MM:SS), BTU is the available bureaucratic time. The clock begins with the first actual game command and stops charging after five minutes of inactivity. The web Remaining clock updates every second locally and labels the allowance Counting down, Paused, or Exhausted; the server periodically reconciles the display. Merely hovering or reading does not start the clock. The new finite-campaign default scales inversely with length, from 90 to 360 minutes per day (30 days: 180 minutes; 60 days: 90). A one-day campaign has a single 360-minute default allowance, with no reset. Unlimited normal games retain the historical 1,000-minute default; the limit is administrator-configurable. In other games time resets at midnight UTC by default, or at the game administrator’s configured UTC time. Use TIME to see the exact next reset; the Remaining indicator also has a reset-time tooltip. A configuration change retains time already used until the next new boundary. The active session is restricted to one active browser session per player and game. Commands that require BTUs fail when the balance is insufficient; exhausting daily time enables read-only commands.

Daily reset during an idle window — last command at 05:58 UTC; reset at 06:00 UTC; no further commands.
Time charged to each daily allowanceTwo minutes are charged before the reset and three after it. Charging stops at 06:03 after five minutes of inactivity. Seconds06012018005:5806:0006:0306:05 Reset Previous allowanceNew allowance
Minutes after 05:58 UTCSeconds charged to old periodSeconds charged to new period
000
1600
21200
312060
4120120
5120180
6120180
7120180

The five-minute inactivity limit spans the reset. The old allowance expires at 06:00; only the three remaining minutes of the idle window count against the new day.

Using the map with a mouse or touchscreen

Right-click a visible sector to open its context menu. Owned sectors offer, in order: Set Route, Explore, Change designation, Transfer, Enlist military, and Production forecast. Ineligible actions are disabled. Eligible unclaimed land offers Explore only. Other terrain has no sector actions. Double-click an owned sector for Source, then another eligible sector for Dest. The colored S and D hexes identify the saved endpoints without duplicate coordinate fields. Movement and route actions remain above the map. Double-click a saved endpoint to clear it; touch and keyboard users can use Select / clear movement endpoint in the selected-sector panel. The tooltip provides sector information; the sector editor provides improvement and movement controls. Combat actions are in a separate expandable section of the selected-sector panel, and national routes remain below the map.

The production forecast dialog displays food production, consumption and balance, nonzero commodity output and population changes for one ETU. It uses the existing forecast calculation, excludes incoming deliveries and starts with zero fractional credits. No resources move until an action is confirmed. Escape or Close dismisses dialogs.

The right-click menu includes Explore on an owned source with civilians available. Choose it and select an adjacent unclaimed sector in the dialog, or right-click an eligible unclaimed sector and choose Explore. Enter how many civilians to move, then confirm in the dialog; only this final confirmation executes EXPLORE, spends the normal movement BTU, and claims the land. The movement forms never execute a command merely because Source or Destination was selected. For two owned sectors, choose the resource and quantity and press Transfer; manual civilian moves use Move civilians. The same actions are available with the Actions button after tapping a sector on mobile. Escape or × closes the menu. To make an automatic route, double-click an owned source, then double-click an adjacent owned destination. Right-click an owned sector and choose Set Route, or use the Set automatic route button above the map. A dialog opens with two read-only coordinates, commodity (Food, Iron, Civilians, Oil, Gold dust, LCM, HCM, Petrol, Gold bars or Rads), priority and source reserve. Choose Save route and source reserve. Direct delivery does not ask for a destination goal; it fills available capacity in an adjacent owned destination. The dialog uses the same protected ROUTE and THRESHOLD commands as the Economy panel, so setup costs no BTUs. A saved route does not move commodities immediately: transfer happens during economic updates, subject to adjacency, mobility, stock surplus and destination capacity. The Routes and thresholds panel beneath the map shows the updated national route list and provides Edit/Remove tools. All movement still passes server-side BTU, mobility, adjacency, ownership and fog-of-war validation.

The map's Set Route and Edit automatic route dialogs keep the settings and destination food status visible. Use the question-mark help beside a field: hover for a brief explanation, or click, tap or press Enter on it to expand the explanation. Select it again to close. Distribution-method and buffer help explains the shared food route group; the automatic JIT reserve is shown without requiring manual input.

On the Home page (game map), click or tap a visible hex to select it. The map uses pointy-top shared-edge hexes, so each sector has six adjacent directions: west, east, northwest, northeast, southwest and southeast. The selected hex is highlighted and a Sector panel appears directly below the map. You can see its coordinates and, for an owned hex, civilians, efficiency, mobility, food, iron, gold dust, oil and light construction materials without entering SECTOR. The selected sector has a Natural resources section showing mineral richness (%), remaining gold, oil and uranium richness (points), and fertility (%). Finite richness is shown in points first; where an original deposit is recorded, the remaining percentage appears as supplementary information in parentheses. These are distinct from stored iron, gold dust and oil. Fertility influences agribusiness food production. Mineral richness and fertility are renewable; only gold, oil and uranium deposits normally deplete as commodities are extracted. Hovering a map hex or focusing it with a keyboard shows its designation, current mobility points, population, stored food, production requirements and outputs, and natural resources if the sector belongs to you (for example, j means Light-material factory, not Wilderness). Mobility is a current sector value, not a percentage. It refreshes as the map data updates. Unknown and foreign sectors do not reveal mobility or other hidden economy values. Unclaimed, foreign and unexplored sectors never reveal their hidden natural resources. After a successful EXPLORE (EXPL), DESIGNATE (DESI), movement, or other sector-changing command, the Blazor map and selected-sector details refresh automatically. This works for both full and four-letter command names. Use the Refresh map button next to Center on country to pick up changes made from another session or an economic update. Refreshing the map is read-only and does not spend BTUs or begin daily play-time counting. Choose Status in console to issue the same SECTOR X Y command manually; the CLI groups stored commodities and natural resource deposits separately.

For owned sectors, the panel provides Production forecast, Designation, Move/Transfer and Improve efficiency controls. The controls use the existing authenticated game commands and cost the same BTUs as typing them. To send civilians, food or iron, select a source hex and open the Transfer dialog. Choose an adjacent owned destination, resource and quantity, or use the calculated maximum. Confirm transfer to move resources; closing the dialog does not move anything.

Source and Destination can be set by double-clicking sectors on the grid. The colored S and D hexes identify the saved endpoints. Movement and route controls appear above the map, beside the route selector on wide screens and below it on narrow screens. Selecting Dest only chooses a destination, not a movement command. When the saved pair is legal, confirmation controls appear above the map: Explore and occupy for unclaimed land, or Transfer for an owned destination. Transfer opens the same dialog as the sector context menu, with the saved source and destination preselected. Enter a commodity count and confirm. Invalid or non-adjacent pairs produce an explicit warning and require selecting another Source or Dest. Inspecting a sector does not erase the saved pair. Successful map actions using both endpoints clear them and restore their normal backgrounds. Failed or cancelled actions retain them for correction; check the map before retrying a timed-out action. No BTUs are used merely to set a pair.

To expand, click an adjacent unoccupied land hex. When only one owned neighbor can supply civilians, the source is selected automatically. Enter the number of civilians and press Move civilians and occupy. When several sources are eligible, double-click the neighboring owned source before selecting the destination. This performs EXPLORE, taking ownership and moving the selected civilians in one operation. There is no separate claim. The button displays Moving civilians… while the command runs. If the server cannot confirm the operation within 25 seconds, the control shows a warning and requires Refresh map before another exploration can be submitted. Refresh map and inspect the destination before retrying: the command might already have committed even if the UI timed out.

Alternatively, click an owned source with at least two civilians, choose Move civilians — click neighboring hex, and click an adjacent unclaimed or owned hex. Confirm the civilian count to move. The source must retain at least one civilian and have enough mobility and BTUs. Sea, mountain, unexplored and foreign-controlled hexes cannot be occupied this way. These controls never bypass server-side validation. Automatic routing, including CIV (civilian) distribution, and thresholds are configured either from the map's Set Route context-menu dialog (using saved Source and Dest) or in the Routes and thresholds expandable panel below the map. The panel lists all national routes, including source/destination, commodity, priority, available source surplus, destination space and readiness. Select Edit route to jump to the editor, change its destination or priority, and use Set route to save. Remove deletes an outgoing route. To deliver food, ensure the source sector holds stock above its reserve and the adjacent destination has capacity below its automatic limit (999 normally, 9,999 in warehouses) food. Routes consume movement mobility. Map selection does not bypass fog of war, ownership or command validation. On mobile, the contextual controls are directly under the map rather than after the owned-sector inventory table.

Selecting a commodity to highlight outgoing map routes (v0.8.78)

On Home, use the Highlight routes for selector above the map. Choose FOOD, IRON, CIV, UW, OIL, GOLD, LCM, HCM, PETROL, BARS, or RADS. The bright turquoise edge on each owned source hex points toward its adjacent owned destination for that selected commodity. If a source has multiple outgoing routes for the commodity, every matching edge is highlighted at once.

For example, if sector (1,2) delivers food to its east and southeast neighbors, selecting FOOD highlights the east and southeast edges of (1,2). Selecting IRON instead shows only its iron-route edges; None hides route highlights. A highlighted edge represents a configured route, not proof that a delivery happened during the most recent update. Delivery still depends on mobility, surplus, destination capacity and the game's economic update rules.

New routes opened with Set Route inherit the commodity selected in Highlight routes for. If highlighting is off, the dialog defaults to FOOD. The commodity can still be changed before saving. Editing an existing route retains its own commodity. The sending sector pays mobility for direct deliveries, including JIT; the receiving sector does not. Each relay pays for its own outgoing shipment.

The display is read-only: choosing a commodity does not spend BTUs, start a command, or change any route. It reloads after Refresh map, game changes and successful ROUTE commands, including saves from the map route dialog. Only nation-owned, adjacent direct routes are displayed; warehouse distribution paths have no single outgoing side and are intentionally excluded. The overlay never reveals unexplored or foreign-sector routing information. Sector clicks, right-click menus, and touchscreen actions continue working normally.

v0.8.79 route tooltips: Hover over an owned source or destination sector to see Outgoing and Incoming direct routes, including every commodity (not only the highlighted one), route direction, nation-local neighbor coordinates, and priority. Matching the selected commodity places a * before that route and orders it ahead of other commodities. For example, * FOOD E to 1,0 (priority 10) means a FOOD delivery heads east to local sector 1,0. A destination can show * FOOD from 0,0 (W side) (priority 10), describing the incoming direction relative to the hovered hex. None hides highlighted map edges but retains the routes in tooltips. Empty sectors show Outgoing: none and Incoming: none; route lookup errors show an unavailable message instead. The tooltip updates when you change the commodity selector, save/remove a route, or refresh the map; the sector information panel refreshes its text automatically. No BTUs are charged and no underlying route is changed. Foreign/unexplored sectors reveal nothing about their own or other nations' routes.

Commands

Coordinates may be entered either as two space-separated integers (X Y) or as one comma-separated pair (X,Y). Both work in the Blazor command console; negative coordinates are supported. You can mix formats in a command containing two sectors:

SECT 2,3
SECT 2 3
DESI -2,3 a
EXPL 0,0 1,0 20
MOVE 0,0 1 0 10
ROUT 0,0 FOOD 2,3 50
THRE 2,3 FOOD 100

The map's on-screen coordinates and sector ownership rules are unchanged; this is an alternate way to type the same numbers.

Commands are case-insensitive. The CLI supports unambiguous first-four-letter abbreviations: DESI = DESIGNATE, THRE = THRESHOLD, REPO = REPORT, NATI = NATION. SECT inspects one sector; SECS lists all owned sectors. ADMIN subcommands can also be abbreviated. Commands accept space-separated arguments.

Command Purpose
HELP List current commands and syntax
VERSION Server version
GAMES Show available games
JOIN ID Select a game in the browser command interface
GAME Display the current game
STATUS Nation, game, territory, and BTU status
TIME Time allowance and next reset
BTU Available bureaucratic time units
NATION or NATI National education, happiness, technology, medical research and plague factor
COUNTRIES Nations in the current world
WORLD Known world dimensions and terrain totals
MAP Nation's currently visible terrain and sectors
SECTOR X Y or SECT X Y Sector details; full resources only for owned sectors
SECTORS or SECS All owned sectors
RESOURCE [X Y] or RESO [X Y] Natural deposits and fertility in owned sectors
ECONOMY National sector inventory and production statistics
PROD X Y Production forecast for an owned sector
REPORT [1–50] Recent nation economic reports
SCHEDULE View the selected game's update schedule
EXPLORE X1 Y1 X2 Y2 COUNT or EXPL Move civilians into adjacent unowned land, taking ownership automatically
CLAIM X Y Legacy one-civilian expansion shortcut (prefer EXPLORE)
DESIGNATE X Y SYMBOL Assign one of the supported sector designations
MOVE X1 Y1 X2 Y2 COUNT Move civilians between adjacent owned sectors
TRANSFER X1 Y1 X2 Y2 COMMODITY COUNT Transfer commodity between adjacent owned sectors
IMPROVE X Y POINTS Improve sector efficiency using local materials
THRESHOLD X Y COMMODITY N Set source reserve and warehouse distribution threshold; does not set a direct delivery goal
ROUTE X Y COMMODITY TO_X TO_Y [PRIORITY [MIN_MOBILITY]] Add commodity- or civilian-specific route
ROUTE X Y COMMODITY TO_X TO_Y OFF Delete an automatic route
ROUTE X Y TO_X TO_Y Legacy warehouse-oriented route syntax, retained for compatibility
ROUTE X Y OFF Remove legacy warehouse route

The original founding capital permanently anchors player coordinates; changing the active capital does not shift the grid. Commands accept negative coordinates when appropriate. DESIGNATE, MOVE, TRANSFER, and EXPLORE cost one BTU; IMPROVE costs two; legacy CLAIM costs two. Configuring, changing, and removing ROUTE or THRESHOLD costs zero BTUs. Automatic deliveries also cost zero BTUs, although mobility limits still apply.

Starting a nation and claiming wilderness

A newly created nation begins owning only its capital. The rest of the map—including forests/wilderness (-) surrounding the capital—starts unowned with zero civilians. Creating a world does not populate or assign wilderness to anyone. This matches the BSD Empire principle that wilderness is occupied through expansion, not given out when a country is founded.

Use EXPLORE FROM_X FROM_Y TO_X TO_Y COUNT (EXPL) to move civilians from an owned sector into adjacent unoccupied wilderness. For example:

EXPL 0 0 1 0 20

This removes 20 civilians from the capital and puts them in the new sector, which becomes yours. The source must retain at least one civilian, the target must be unowned land, and mobility and BTUs are charged. The newly occupied sector starts at zero efficiency and needs food and development. MOVE is for transferring civilians between sectors you already own. The legacy CLAIM command remains supported for compatibility but isn't required for exploration. Existing ownership is not changed when installing this update.

Phase 1 industries, commodities and national treasury (v0.8.65)

The original BSD Empire 1.1.5 guide lists 31 sector codes. All of them are represented in the game's sector catalog. New economic designations k, %, b and u can be assigned to owned land. Military, aircraft, nuclear, bridge and other world-only sector types are intentionally inactive until later phases; selecting one as a player designation returns an error.

Supported movable commodities: CIV (civilians), FOOD, IRON, OIL, GOLD (gold dust), LCM (light construction materials), HCM (heavy construction materials), PETROL, BARS (gold bars), and RADS (radioactive materials). TRANSFER, ROUTE, and THRESHOLD accept these names. All use local source stock, destination capacity, mobility and ownership checks. Direct delivery continues to require adjacent owned sectors; warehouse distribution may travel along a least-cost owned path of at most ten steps. They do not move resources until a simulated economic update executes.

Manufacturing ratios: The original BSD 1.1 patch 5 guide has a worked example with 2 iron used per LCM shown, but the original 1.1 C server product table explicitly consumes 1 stored iron per LCM and 2 iron per HCM. The stored-material recipe follows the source; other processing coefficients remain under review.

Industry Input for one output Output Other requirement
Heavy manufacturing k 2 iron (LCM not required) 1 HCM Local available work and storage capacity
Refinery % 1 oil per batch; $1 Up to 10 petrol, technology adjusted Local available work and storage capacity
Bank b 5 gold dust 1 gold bar Local available work and storage capacity
Uranium mine u 0.35 richness points per raw batch; $2 Up to 1 radioactive unit per batch, technology adjusted 1 available work; finite uranium unless GO_RENEW

Production uses the existing fixed five-minute economic steps. Output is limited by population, efficiency, locally stocked inputs, available work and storage. The PROD, CENSUS, ECONOMY, REPORT, and graphical reporting views show the new stocks or outputs. RESOURCE shows uranium richness in points, not commodity units. NATION displays national development; ECONOMY also displays the national treasury. New nations start with 100 currency units. The treasury receives provisional civilian/UW tax and bank yield every five minutes; banked bars produce interest when bank efficiency is at least 60%. Production of bars, petrol, radioactive materials and science consumes money. Government salaries are charged at completed economic hours. Exact historical taxation and maintenance coefficients remain under review; see national finances below.

For example, when coordinates belong to your nation and the sectors are owned:

DESI 2 0 k
THRE 1 0 IRON 20
ROUT 1 0 IRON 2 0 1
THRE 2 0 HCM 10
TRAN 2 0 3 0 HCM 5
ECON
PROD 2 0

The heavy factory needs iron delivered or transferred into that sector, but does not consume LCM. A newly designated uranium mine needs uranium reserves in its local deposit. New procedurally generated worlds include deterministic deposits; existing worlds are preserved and start with zero uranium unless an administrator populates deposits through God Mode.

BSD parity limits: Manufacturing ratios, hourly tax rate, labor rules, commodity movement weights and several production/maintenance calculations remain provisional. Uncompensated workers, gold bars and treasury accounting are modeled, but not yet fully source-verified against historical BSD. This release establishes the integrated economy and sector catalog, not mathematically complete original BSD economics.

Sector types

In the game header, choose Help → Sector requirements for a compact reference to each sector’s inputs, work, treasury, technology, education and output. It opens a scrollable non-modal popup inside the game. You can continue using the map while it remains open. Close it with its close button or Escape while focused inside. The User guide still opens in a separate tab.

Code Sector Current behavior
- Wilderness Natural terrain; players can explore and develop it but cannot designate a sector as wilderness.
c Capital Generates BTUs when populated and efficient; players can establish backup capitals
+ Highway Owned transport corridor
m Mine Renewable iron, output influenced by mineral richness (0–100%)
g Gold mine Gold dust extracted from local gold deposits
a Agribusiness Food based on workers and fertility
h Harbor Must border at least one actual neighboring sea hex
f Fortress Military designation, advanced mechanics pending
w Warehouse Optional commodity hub; not required for normal routing
l Library/school Education from workers and local light construction materials
o Oil field Oil from local reserves
j Light factory Converts local iron into light construction materials (LCM)
p Park Happiness from workers; no LCM or treasury cost
t Technical center Technology from workers, LCM and national education
r Medical research laboratory Medical research from workers, LCM and national education
k Heavy manufacturing Consumes local iron to make heavy construction materials (HCM)
% Petroleum refinery Converts locally stored oil to petrol
b Bank Converts locally stored gold dust into gold bars
u Uranium mine Extracts radioactive materials (Rads) from finite uranium content
d Defense plant Active: turns oil, LCM and HCM into guns using a provisional later-Empire recipe; costs treasury money
i Shell industry Active: turns LCM and HCM into shells using a provisional later-Empire recipe; costs treasury money
n Nuclear plant Catalogued, intentionally inactive until advanced warfare
e Enlistment center Active in Phase 2: recruit MIL when sector efficiency is at least 60%
* Airfield Catalogued, intentionally inactive until aviation
) Radar installation Catalogued, intentionally inactive until intelligence
# Bridge head Catalogued, intentionally inactive until naval/bridge mechanics
= Bridge span Catalogued, intentionally inactive until naval/bridge mechanics
s Sanctuary World-map designation; not player-buildable
/ Wasteland World-map designation; not player-buildable
. Sea World terrain; not player-buildable
^ Mountain World terrain; not player-buildable

All land designations require ownership. Designating a harbor requires an adjacent sea sector; an inland forest cannot become a harbor. The last operating capital cannot be redesignated to another sector type until a backup is established and not scheduled for conversion. Sector efficiency affects output. Scientific production requires LCM in the producing sector, and technical/medical science also needs local gold dust and oil; these commodities can arrive through manual TRANSFER, direct delivery or warehouse distribution.

Technology, education, happiness and plague

Education, happiness, technology and medical research are national scores, shown with NATION and in the Nation economy and updates panel. They persist in the nation's PostgreSQL record. The economy processes fixed five-minute increments; social/scientific production and demographic effects occur at each completed economic hour. Running the scheduler frequently cannot create extra production for the same elapsed time.

Original BSD 1.1 product.c and produce.c establish the science recipes. Libraries and parks require one effective work unit, one LCM and $9 per batch. Technical centers and research labs require 16 effective work units, 10 LCM, five oil, one gold dust and $90 per batch. The education multiplier for technical and medical research is (education - 5)/(education + 5) above education 5; at or below 5 the revival skips production and charges nothing. Education and happiness yield one point per batch before decay. The national education at the beginning of the hour determines research yield, even if a library raises it during that hour. The Economy panel shows the current research yield. Production requires sufficient materials and treasury, and uses reserved fixed-step labor. The current work scale, 60% operating threshold and deterministic whole batches remain revival behavior. National scores use the population-normalized rules below. The plague model uses max(0, 1 + technology/50 - medicalResearch/40). Parks give extra births of floor(civilians * min(0.03, happiness/10000)) per eligible sector per hour (limited to 100); plague deaths are ceil(civilians * max(0, plagueFactor-3)/2000) per hour. Exact per-sector deaths are capped by available population. Core birth/food mechanics still apply. Science spending and gross national science production appear separately in REPORT and the Economy update history; normalization and decay determine the net score changes.

Unlike historical BSD, which uses happiness primarily to affect loyalty, this Empire adaptation adds a direct birth-rate benefit from happiness. Other advanced BSD loyalty mechanics are not yet implemented.

Research efficiency versus national education — percentage of a technology or medical research point produced per paid batch, before national score limiting and decay.
Research output versus national educationZero at or below five; rises to 50 percent at 15, 66.67 percent at 25 and 90 percent at 95.0%25%50%75%100%020406080100National education
EducationYield (%)
00.00
50.00
1033.33
1550.00
2060.00
2566.67
3575.00
4580.00
5583.33
7587.50
9590.00
10090.48

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.

Natural resource depletion calculator

Estimate remaining finite richness after a planned number of raw extraction batches.

Raw batches possible—
Exact richness remaining—
Raw batches to exhaustion from starting stock—

A final partial batch can exhaust the deposit. This measures raw batches, not finished output or time. A renewable resource still needs positive richness.

Natural resource depletion

Gold, oil and uranium lose 0.20, 0.10 and 0.35 richness points per raw production batch, respectively. Oil and radioactive output may be lower than the number of raw batches because of technology. Fractional depletion is saved to hundredths; a final partial richness balance permits one last batch, then extraction stops. GO_RENEW freezes the remaining richness and fractional depletion but cannot restore an empty deposit. Iron and fertility remain renewable. Existing richness numbers, including values above 100 in legacy or combat worlds, are preserved. Throughput still uses the provisional production rates rather than historical richness-weighted work per ETU; the graph is by batches, not elapsed hours.

Natural resource lifetime by raw production batches — starting richness 100 points, GO_RENEW off.
Richness remaining after extractionGold loses 0.20, oil 0.10, uranium 0.35 points per batch; each stops at zero.025507510002004006008001000Raw production batchesGoldOilUranium
Raw batchesGold pointsOil pointsUranium points
0100.00100.00100.00
5090.0095.0082.50
10080.0090.0065.00
20060.0080.0030.00
25050.0075.0012.50
28543.0071.500.25
28642.8071.400.00
30040.0070.000.00
40020.0060.000.00
5000.0050.000.00
7500.0025.000.00
10000.000.000.00
National score retention without production — each score starts at 100; one ETU per simulated hour.
National score retentionHappiness declines faster than education; technology and medical research decay slowly. No new production.0%25%50%75%100%0120240360480600720Simulated hoursEducationHappinessTechnology / medical research
HoursEducation %Happiness %Technology / research %
0100.00100.00100.00
1293.9678.0899.88
2488.2860.9799.75
4877.9337.1799.50
7268.8022.6699.25
9660.7313.8199.00
14447.335.1398.51
19236.881.9198.02
24028.740.7197.53
33617.460.1096.56
4808.260.0195.12
7202.370.0092.77

Example: developing a research economy

DESI 1 2 l
DESI 2 2 t
DESI 3 2 r
DESI 4 2 p
NATI

To operate these buildings, place civilians and improve efficiency; supply local LCM to libraries, science facilities and parks. The library first raises education, allowing technology and medical research to become productive. Keep medical research sufficiently high as technology rises and retain parks and food reserves to support growth. NATI shows the current national balance; REPO lists population changes from simulation updates.

Civilian distribution (BSD-style)

Use an automatic direct delivery route to move civilians between adjacent owned sectors. On Home, double-click the source sector, then double-click an adjacent owned destination. Open Set Route, select Civilians, set the priority and the source reserve, and choose Save route and source reserve. There is no destination goal. The equivalent CLI commands are:

ROUT 0,0 CIV 1,0 50
THRE 0,0 CIV 20

This keeps at least 20 civilians in (0,0) and sends surplus into (1,0) during updates, subject to mobility and the destination's maximum of 999 civilians. Even with a zero reserve, direct delivery retains one civilian at the source. At 999 civilians, a sector stops accepting civilian deliveries and has no additional births; reaching capacity does not kill existing civilians. Starvation and plague remain separate causes of population loss. Legacy sectors already above 999 are not automatically reduced. The command does not capture unowned territory; use EXPLORE to occupy a neighboring unclaimed land sector.

Commodity routing: direct delivery versus warehouse distribution

BSD-style direct delivery sends any configured supported commodity (including CIV, FOOD, IRON, OIL, GOLD, LCM, HCM, PETROL, BARS and RADS) into an adjacent owned sector until its inventory reaches its automatic limit (999 normally, 9,999 in warehouses) or its civilian population reaches 999. Only source stock above the source reserve is eligible. Each route has a priority (1 first across all direct commodities); competing destinations for the same commodity share insufficient stock by configured route weights at equal priority, subject to mobility. A direct route never needs a destination goal. If an older saved direct route spans nonadjacent sectors, it remains stored but is inactive until replaced with adjacent deliveries.

The separate warehouse distribution feature uses a sector-specific THRESHOLD and an assigned warehouse to import deficits and export excess. The THRESHOLD value also protects the source reserve for direct routes, but it is not a destination goal for those routes. The warehouse route can span up to ten connected owned hexes. A zero warehouse threshold disables requests for imports under the current implementation. Source food defaults to protecting at least 20 units, or one hour's combined CIV, UW and MIL food requirement if greater; civilians always protect the last resident. Manual transfers may spend below the automatic reserves subject to the ordinary movement rules.

THRE 1 2 FOOD 100        # keep at least 100 food at the source
ROUT 1 2 FOOD 2 2 50   # deliver to adjacent sector (2,2)
ROUT 1 2 FOOD 3 2 50   # another adjacent route, if neighboring
ROUT 1 2 FOOD 2 2 OFF  # remove one direct route
ROUT 1 2 4 2           # warehouse distribution link (owned path required)

Direct delivery happens before warehouse distribution during economic updates. A route is not created automatically by adjacency. All route configuration uses zero BTUs; automatic movement spends available mobility. There is no automatic nation-wide food sharing: farms must use explicit direct deliveries or an owned distribution path. All eleven supported movable commodities may use automatic direct delivery, connected warehouse distribution and manual transfer. Cash, BTUs, available work and natural mineral/deposit richness are not transferable commodities.

Configure routing in Blazor

The interactive map remains visible above expandable Routes and thresholds. Pick adjacent source and destination sectors and use Set Route from the context menu. In the dialog, specify commodity, priority and Minimum amount to keep at Source; then save. The destination is filled as far as permitted by capacity, surplus and mobility. The Set direct route control in the Routes panel performs the same operation without changing a destination threshold.

To adjust the source reserve or a sector's separate warehouse distribution threshold, select the relevant sector and commodity in the Commodity editor, enter a value from 0 to 100,000 and press Save threshold. THRESHOLD X Y RESOURCE N is the equivalent CLI command. The warehouse connection itself is configured with the older ROUTE X Y WAREHOUSE_X WAREHOUSE_Y syntax. The Routes panel displays each direct route's Destination space and readiness. Existing warehouse threshold settings persist and are not cleared by editing direct routes.

Game updates and production

Per-game schedules and national inventories are isolated. All sector changes and nation-level research and demographics for an update are committed together. The simulation persists its last completed step, so elapsed time is not counted again after a restart. A game administrator can trigger or schedule updates; players may view the schedule. Births, starvation, food and mineral production, mobility, BTUs, and scientific effects all use the game's elapsed-time step count. Industrial chains are implemented provisionally; historical BSD production formulas, national finances and advanced combat remain incomplete.

Help and troubleshooting

If a command fails, check that you own the sector, are using coordinates relative to your original national origin, have sufficient BTUs and play time, and have supplied the required materials. For harbors, look for immediately adjacent sea. For research production, inspect the sector's civilians, efficiency, local LCM, and the nation's education using NATI. For missing food deliveries, check the commodity route, connected owned path, mobility, source reserve and recipient threshold.

See the Administrator Guide for server startup, migrations, backups, database verification, and administrative troubleshooting.

Census, production and update reports

Expand Census, production and change reports below the map, then choose Census, Production, or Update changes. The separate /reports page is also available. Reports show only your own nation's sectors; they respect fog of war and game membership. The Home reports panel follows the selected game; the standalone page restores the selected game before loading any reports, and has its own game selector. The embedded reports refresh when the map refreshes, including after exploration and successful sector commands. Census and Production show the current owned-sector count. Update changes shows the sectors recorded at the selected historical update, not the current ownership list. Use Refresh reports for an independent refresh.

Double-click any sector row, or click or tap its coordinates, to select and reveal the sector on the game map. The embedded report stays open; the standalone Reports page returns to the selected game's map. Historical sectors can only be located if still visible under fog of war.

All report tables share consistent right-aligned numeric headers and values. Coordinates and sector types remain left-aligned. On narrow screens, scroll the table horizontally to review additional columns without shifting their headings. Census uses compact columns and a bounded, independently scrollable region with sticky column headings. Scroll horizontally within the census to reach all 14 columns, including gold bars and radioactives; scroll vertically for additional sectors.

Census lists all owned sectors with designation, population, efficiency, mobility and local inventories. The CLI equivalent is CENSUS (CENS). The shorter SECTORS (SECS) remains available, and SECTOR X Y (SECT) describes one visible sector. In the compact SECTORS, CENSUS and PROD command tables, Dust means gold dust, not natural gold richness or gold bars.

Production lists provisional per-sector production and food consumption forecasts. The sortable Eff % column shows current sector efficiency, not projected efficiency after construction. The Economy sector inventory also has a sortable Eff % column. Historical update changes do not record efficiency and do not display current efficiency as historical data. The CLI command PROD reports all owned sectors; PROD X Y reports one. Forecasts do not advance the game or include intersector delivery, national research, or all elapsed-time effects, so they are not guaranteed to match the next actual update.

Update changes lets you choose a recorded economic turn and inspect the before/after civilian, food and iron stocks, production, births, deaths, consumption and commodity movement for each sector. The CLI command CHANGES (CHAN) displays the most recent update; CHANGES 25 shows turn 25. REPORT [COUNT] (REPO) still provides nation-wide historical totals. Sector-level history is recorded only for updates performed after the new history storage was enabled; older update reports remain available at the national level. Reports are read-only and do not spend BTUs.

Understanding food output and civilian births

The economy processes five-minute simulated steps independent of update schedule frequency. A farm creating only 2–5 food in one five-minute step may produce roughly 24–60 food over a simulated hour; REPORT/CHANGES show the actual production and transfers for the elapsed period. Manually running an update before five simulated minutes have elapsed will not create extra production.

Ordinary civilian and UW birth progress is accumulated and persisted per sector across five-minute steps. See Population growth and newborn food for rates, food costs and capacity limits. Ordinary births require food remaining after feeding, not a full next-hour reserve. Happiness-based bonus births still require a reserve of at least 25 food for 500 civilians. The Nation economy inventory shows a Birth eligibility indicator based on current food stock and available capacity; the final decision occurs after feeding. CHANGES and Reports retain civilian birth and death totals.

Finding and updating routes

Open the Routes and thresholds panel under Home, or visit the standalone Economy page. The All configured routes table lists each route with source/destination, priority, available surplus, destination space and estimated transfer volume. Nonadjacent legacy direct routes appear as inactive. Choose Edit route to load its settings, or Remove to delete it.

In Sector routing, select adjacent owned Source and Destination sectors, choose the commodity and priority, then click Set direct route. Adjust the source reserve independently using the commodity threshold editor. There is no direct-route destination goal: deliveries stop when the receiving sector reaches capacity. The warehouse thresholds are maintained separately. All controls use the authenticated, nation-checked CLI commands. Route configuration uses no BTUs; manual MOVE, EXPLORE and TRANSFER still do.

Mobility costs and BSD-style transport

In BSD timing games, ground movement pays the cost to enter each sector: (base × 100 − efficiency) / 500. Ordinary developed sectors cost 0.4–0.2; wilderness costs 0.8–0.6; mountains cost 25.4–25.2; highways and bridge spans cost 0.2–0. Sea, sanctuary and wasteland are prohibited for ordinary ground movement. Warehouse distribution selects a least-cost connected owned path of at most ten steps. MOVE is adjacent in the revival.

CommodityWeightWarehouse packing divisor
Food, iron, oil, petrol, shells, LCM, HCM110
CIV, MIL11
UW21
Gold dust510
Radioactives810
Guns1010
Gold bars505

Manual MOVE costs amount × weight × path cost / packing. The warehouse packing bonus requires at least 60% efficiency for manual movement; harbors and ordinary sectors do not grant a packing bonus. EXPLORE uses no packing. CLAIM also pays for the one civilian it moves. Newly claimed land starts with zero mobility in BSD timing games.

Direct DELIVER uses source designation packing regardless of efficiency, no blanket discount, and can spend at most half of the current sender mobility per shipment. Warehouse export uses sender packing and divides cost by two; import uses the warehouse packing table and divides cost by four, matching the original distribution formula even for a designated depot that is not a warehouse. Both directions price the path from customer to depot. The sender pays. The revival performs transfers during each of its twelve deterministic steps per ETU, so the half-mobility rule is per shipment, not a guarantee of half remaining at the end of a scheduled update. Multiple routes, priorities, protected food reserves, dynamic path choice and free route configuration remain revival adaptations.

Legacy timing games retain their previous unit weights, terrain costs (wilderness 0.4, mountains 2.4–1.2), packing and delivery/distribution discounts. Both modes retain deterministic thousandths of mobility, rather than BSD stochastic manual rounding and integer truncation for delivery. BSD timing sectors regenerate one point per ETU up to 127; legacy sectors regenerate ten up to 100.

Manual ground transport mobility costs — entering one 100%-efficient ordinary sector, source packing as indicated.
Ground transport cost by quantityGuns cost ten times food; warehouse-packed food costs one tenth of ordinary food.020406080100050100150200MobilityQuantityGunsFoodWarehouse food
QuantityFoodGunsWarehouse food
00.000.000.00
102.0020.000.20
204.0040.000.40
306.0060.000.60
408.0080.000.80
5010.00100.001.00
6012.00120.001.20
7014.00140.001.40
8016.00160.001.60
9018.00180.001.80
10020.00200.002.00

Amounts that cost more than the available mobility cannot be moved in one command. A sector with 127 mobility cannot move 100 unpacked guns in this example.

There is no implicit farm-to-farm or nation-wide food teleportation. A farm feeds another sector only through a configured adjacent commodity route or an owned, connected warehouse distribution route. The direct route's source reserve is protected, and the recipient accepts food until full; the source threshold is also its warehouse export/import setting. During warehouse distribution all exports run first, then all imports, in map order. MOVE, TRANSFER, and EXPLORE now use the same movement-cost basis, but still require the normal BTU. Automatic routing charges no BTUs.

Automatic food reserve and BTU rules

Automatic direct routes and warehouse distribution never spend BTUs. They may consume sector mobility and never export food below the protected source reserve. To change that reserve for manual-only routes, open Routes and thresholds beneath Home, select the source and FOOD, and save Food source reserve / warehouse threshold. THRE X Y FOOD 100 retains at least 100 food during automatic exports and sets the warehouse distribution threshold if the sector is assigned a warehouse. A zero threshold preserves the safe automatic food reserve of at least 20 food or one hour's combined local CIV, UW and MIL consumption, whichever is larger. Active JIT suppliers instead keep three scheduled updates of adult consumption, independent of the saved threshold. A direct delivery destination accepts shipments until full, regardless of its own threshold.

Route setup is free: ROUT and THRE cost no BTUs. Manual MOVE, EXPL, and TRAN still cost one BTU per successful command; these actions can deliberately override the automatic food reserve subject to normal ownership, stock, mobility, and play-time checks. The economic update system does not debit nation BTUs for automatic shipments.

Capitals, automatic succession, and fixed coordinates

A nation must have at least one occupied capital sector (c) to perform normal player actions. Any owned land sector containing civilians can be designated a capital. With an existing operating capital, this action costs the usual 1 BTU:

DESI 3 1 c

This creates an additional backup capital. The original primary remains in charge while it is occupied. If it is destroyed, captured, loses its designation, or its civilian population reaches zero, an occupied backup capital takes over automatically. When several backups are available, the game chooses the highest efficiency, then the largest civilian population, then the lowest world Y and X.

Your map coordinates never change when the primary capital changes. The nation's coordinate origin is set when the nation is founded and remains (0,0) on the player map, even if the original capital is lost. Existing saved routes, thresholds, movement targets, and SECT coordinates are not shifted.

If all capitals are lost or unpopulated, normal gameplay commands are blocked; viewing and reporting remain available. The one permitted gameplay action is to designate an occupied owned land sector as a replacement capital:

DESI 2 1 c

Emergency replacement costs 0 BTU, so recovery is possible even with no BTUs left. Daily play-time restrictions still apply. Legacy games generate no BTUs until a capital reaches 60% efficiency. New BSD-default games use proportional efficiency at every positive level. STAT displays the primary and backup-capital count.

Sector tooltips, natural resources and surveying

Hold the mouse over a visible hex for one second to open the scrollable sector information panel. Keyboard focus, F2 and the explicit Details action do not wait for the hover delay. Move the pointer into the panel to scroll, or press F2 on the hex to focus the panel for keyboard access. The panel closes when you move away or click elsewhere. On touch devices, select a hex and use Details in the selected-sector panel. Close or Escape dismisses it. The panel separates natural richness (points or percentages, not stored quantities), population, inventory, production requirements and routes. The Primary product line at the top identifies the output or role of the current owned-sector designation, even when inputs or efficiency prevent production. Commodity-producing sectors show the actual local product stock on this line, for example Iron — 1200 units in stock or Food — 0 units in stock. This is inventory, not a production rate, a natural deposit, or a cap; imported quantities above the local production limit are shown unchanged. National-score industries and other non-stock outputs retain descriptive labels. Use Production forecast to estimate quantities. Sectors without direct commodity production are identified accordingly. Green bars show renewable richness; gold bars show remaining fractions of known original finite deposits. Unknown original deposits are not assigned a percentage. For numerical production forecasts select the sector and use Production forecast. The panel does not reveal private foreign or unexplored data.

The tan hex outline identifies the sector being inspected. Double-click an owned sector to set Source (S), then double-click a different eligible sector to set Dest (D). There is one saved Source and one saved Dest per game view. Double-click a saved endpoint again to clear only that endpoint; double-click another eligible sector while Source is set to replace Dest. Unclaimed land can be selected as Dest only, after selecting Source. Double-click changes selections without executing a command or spending BTUs. Single-click inspection is briefly delayed to distinguish the two gestures. Touch and keyboard users can select a sector and use Select / clear movement endpoint. Turquoise outgoing route edges remain separate. The map marks Source and Dest directly without coordinate input fields. The outgoing-edge key sits immediately to the right of the commodity selector, and the terrain and map-symbol legend is above the map.

Hover over an owned hex in the Home map, or select it to display the full sector panel. The tooltip shows the sector designation, its current population (civilians), stored food, what it needs to function, what it produces, and the actual natural resources available. Population and stored food are current inventory values, not natural deposits, and change with the economy. These figures appear only for owned sectors; undiscovered and foreign sectors do not disclose their population, food or natural deposits. For example, a j light-material factory needs civilians, efficiency and stored iron and converts iron into LCM; it does not mine the iron itself. An m mine produces renewable iron according to its mineral richness. Gold mines (g) and oil fields (o) consume their remaining deposits by default, unless the administrator enables GO_RENEW for that world. Agribusiness (a) grows renewable food using fertility, which is not consumed by the current rules. Every populated sector also needs food to sustain its civilians.

Gold richness is the natural deposit in a sector, not a transferable commodity. Gold mines produce stored gold dust. Banks consume five gold dust and $10 to produce one gold bar; technical centers and research labs also use gold dust directly. The legacy GOLD command commodity name means gold dust, not the natural deposit or gold bars.

The Natural resources section lists renewable mineral richness (%) and fertility (%), along with remaining gold, oil, and uranium richness in points. These are not stored iron, gold dust, oil or food. Gold and oil percentages, where displayed, always mean percentage of the recorded original deposit, not a stock of units available to mine. Gold, oil and uranium are exhaustible by default; only when the administrator enables GO_RENEW do they remain available after extraction. For worlds generated with this resource model, the tooltip also shows the percentage remaining compared with the original gold/oil content. For older worlds the original amounts are unknown: the game shows the remaining richness but does not invent a historical percentage. Existing depleted mineral richness values are preserved as their new richness percentages; the conversion does not reconstruct a lost original mineral value.

For a concise survey of all owned sectors (including Mineral%, Gold points, Oil points, Fertility%, and Uranium columns), use:

RESOURCE
RESO
RESOURCE 0 0

RESOURCE [X Y] and its four-letter form RESO do not change the world or consume BTUs. Coordinates use the nation's permanent original map origin. When you successfully EXPLORE into unclaimed land, that sector becomes owned, and its complete natural-resource values become visible in the map, tooltip, SECT, and RESO immediately after the view is refreshed. Merely being adjacent to an unclaimed or enemy sector does not reveal its deposits.

Historical BSD SPY and aircraft RECON are implemented in different forms. SPY sends agents from owned sectors with military to adjacent populated sectors, returning rounded military, workforce and commodity estimates. Successful observations remain nation-private in SPY REPORT and EVENTS. The command never changes territory ownership or reveals hidden mineral deposits or unobserved map terrain. See the current SPY section for selector syntax and the diplomatic limitation.

Sector editor scrolling

Right-click an owned sector and select Change designation. Choose a different designation and confirm once. The dialog closes after the server accepts the request; check the refreshed map, selected-sector details and command console. A pending conversion remains visible until demolition finishes. Choosing the current designation cancels a pending conversion; choosing the same current or pending target without a change does not enable confirmation. Rejected requests remain open with an error.

The map right-click menu opens designation and movement dialogs without removing the map or scrolling to the secondary sector editor.

Phase 1 workforce and industrial accrual (v0.8.70)

Civilians contribute according to their participation percentage, uncompensated workers (UWs) contribute full labor, and military contributes 40%, all modified by sector efficiency. All three groups consume food. See workforce planning. ECONOMY and SECTOR X Y report UWs separately. The Economy sector table shows their counts. TRANSFER, ROUTE, and THRESHOLD accept UW for transfer, direct delivery, and warehouse distribution. The storage capacity for UWs is 999 per sector; unlike civilian movement, a UW transfer need not leave one civilian behind. UWs can currently be seeded by a game administrator; combat-based sector capture is supported; specialized UW capture and resistance mechanics remain pending.

Five-minute production carries forward fractional output in the game database for mines, gold/oil wells, light/heavy factories, refineries, banks, and uranium mines. This prevents small industries from permanently producing zero solely because each five-minute step rounds down. It is independent of whether the server runs one or twelve administrative updates in an hour. The new Avail figure represents unused labor in the most recently processed five-minute step, not an accumulated national stock. The ratios and labor coefficients are still provisional pending a complete comparison against BSD 1.1 patch 5 server source.

Reference: Geoff Cashman's User's Guide to Empire for BSD 1.1 patch level 5, chapter 10, particularly the prod/census examples of available work, workforce including UWs, and input-limited production.

The LCM plant consumes 1 iron per LCM, as defined by the original BSD 1.1 EMP/lib/global/product.c commodity table; HCM uses 2 iron per HCM. The guide's earlier worked example suggests a different aggregate iron/LCM ratio but does not override the source-level material recipe. Banks consume 5 gold dust per bar. Other production rates and formulas are not yet fully source-verified.

Pre-existing mineral-richness percentages above 100 (including 120%) are retained during mining updates; unlike finite gold/oil/uranium deposits, renewable mineral richness is not silently clamped to 100% or depleted. The admin editor permits richness up to 1000%; the exact BSD richness scale still needs server-source verification.

Phase 1 national finances (v0.8.71)

Legacy-mode financial rules: see Historical national finances for BSD mode. National treasury affects what can be manufactured. A bank must have at least 60% sector efficiency to earn interest on stored gold bars. The game collects separate civilian and uncompensated-worker taxes, weighted by sector efficiency. The nation pays the following manufacturing prices per output unit: gold bars $10, petrol $1, radioactive material $2. Production with insufficient money is blocked, without consuming the raw materials. Other industrial outputs currently cost $0.

An operating capital incurs a $1 government salary each economic hour when funds are available. Nation-scoped REPORT and the Economy update panel show opening/closing treasury, income from taxes/banking, and paid expenses. Fractional civilian/UW tax and bank interest credits persist between updates and across server restarts, preserving update-frequency independence.

BSD fidelity: taxation mechanics, bank yield and capital salary are supported by historical Empire update descriptions; the rates are scenario-dependent. This release uses a particular documented BSD 1.1 server's $4.33/1000 civilians, $1.78/1000 UWs and $200/1000 bars per simulated hour as provisional defaults. Product costs are taken from a later Empire show product table and still need verification against the actual original BSD 1.1.5 source. Existing simplified industrial input ratios and scientific expenditure rules remain provisional.

Sector efficiency and production

Resource extraction can operate below 60% efficiency. The original BSD 1.1 player's guide, Chapter 10, Figure 14, shows a gold mine producing dust at 27% and an oil field producing oil at 39%. Mine, gold, oil and uranium extraction in this implementation therefore require positive efficiency and workers, not the later Empire blanket 60% gate. The uranium threshold is inferred from the other extractive industries, pending original C-source review.

Manufacturing, refineries, banks, libraries, technical centers and medical research retain the 60% gate taken from later Empire rules; original BSD 1.1 source verification is still outstanding. Farms produce food below 60%. Parks currently add happiness from one LCM and $9 per raw batch at operational efficiency.

Sectors with at least 20 weighted residents (CIV + UW + 0.4 × MIL) gain efficiency automatically at the end of a simulated economic hour. The current, explicitly provisional growth rate is one point for every 20 weighted residents, up to 10 points per hour and the 100% maximum. Each efficiency point costs the nation $1; growth stops if the treasury cannot pay. A newly designated 0%-efficient mine still needs workers, time and money to reach positive efficiency before producing iron, but need not wait until 60%. Manual IMPROVE X Y POINTS remains available with its existing food/iron costs.

The original BSD guide exempts settlements of fewer than 60 total residents (CIV, MIL and UW) from starvation. From v0.9.0 this exemption counts CIV, MIL, and UW. Food remains useful to support population growth and larger settlements. Sector resource tooltips now preserve mineral richness above 100% (for example 120%) instead of displaying 100%.

REPORT and the Economy page show construction expenses as a separate charge. Because this is a completed-hours system, processing 12 five-minute updates or a single hourly catch-up yields equivalent sector development. The full audit and remaining provisional formulas are in BSD Economic Parity Audit.

Maintained HTML manuals

This HTML document is the maintained player manual, not a generated copy. It works offline and links directly to the Administrator Guide. Markdown versions of the player and administrator manuals have been retired. Release tests check both HTML manuals for stale versions and broken links.

v0.8.76 — Economic integration and recovery tests

The economic integration suite exercises a 72-hour fixed-step scenario with farms, mines, light/heavy factories, refineries, banks, uranium, science, civilian and UW populations, mobility and automatic commodity routes. It compares the final sector inventories, fractional credits, development scores, production totals and national treasury when the same 72 hours are processed every five minutes, hourly, daily, or in one catch-up run.

The suite checks that automated transfers conserve every transported commodity, production is balanced against inputs and source deposits, and the treasury equals opening funds plus income minus expenses. It also serializes and reloads economic progress to check that restarted processing neither repeats completed steps nor drops fractional credits. This is an in-memory integration and checkpoint test; it does not test PostgreSQL crash/recovery transactions or prove exact historical BSD formulas. An optional database-backed restart check is available to administrators using an isolated scratch database. The test is run automatically by ./scripts/test.sh.

v0.8.77 — BSD economic parity review

The historical BSD 1.1 patch-level-5 commodity chart identifies iron, not LCM, as the HCM manufacturing input. Heavy factories now consume local stored iron and available work without requiring or consuming LCM in both the hourly forecast and timed update engine. The original BSD 1.1 product.c table confirms the 2 iron per HCM material recipe.

The 72-hour integration test now checks that HCM production does not reduce LCM stock, and smoke tests exercise heavy manufacturing when local LCM is zero. No database migration is required. Read the detailed audit and remaining parity gaps. Original source-code coefficients are not yet fully verified; Phase 1 is not claimed to be an exact numerical reproduction of the 1.1.5 C server.

Land warfare — recruitment, movement, attacks and capture

Military personnel (MIL) are tracked separately from civilians and uncompensated workers. Recruit MIL at an efficient enlistment center, move or route troops through owned land, and use ATTACK against a known adjacent enemy sector. No enemy garrison counts are visible before battle.

CommandEffect
DESIGNATE X Y eSet an owned sector to an enlistment center.
ENLIST X Y NRecruit MIL from civilians at an enlistment center with 60%+ efficiency; at most half the civilians per action, and leave one civilian. Costs 2 BTUs in BSD timing games or 1 in legacy games.
MARCH X1 Y1 X2 Y2 NMove N MIL between adjacent owned sectors, paying mobility and 1 BTU.
TRANSFER X1 Y1 X2 Y2 MIL NEquivalent friendly-sector troop transfer.
ROUTE X Y MIL TO_X TO_Y [PRIORITY [MIN_MOBILITY]]Set up automatic military delivery; THRESHOLD X Y MIL N keeps a source reserve.
GARRISON [X Y]Show your MIL, sector type and defensive strength.
ATTACK X1 Y1 X2 Y2 NCommit N MIL from your owned source into an adjacent, observed foreign sector. Costs the applicable ATTACK BTUs and source mobility; calculates casualties and may capture the target. Four-letter alias: ATTA.
BATTLE [N]List your N most recent battles (default 10, maximum 100), including attacks and defenses. Alias: BATT.

Attacking from the map

Select one of your sectors holding MIL or a visible foreign sector, expand Combat actions, then choose the appropriate attack action. Select your eligible source when prompted, choose the number of attacking MIL, and confirm. The server validates ownership, adjacency, troop count, mobility, BTUs and playing-time limits. You cannot attack unseen sectors, unowned land, friendly sectors or sea.

The defender fights automatically. Fortresses multiply garrison strength by 4; capitals and banks multiply it by 2; other sectors use 1. Technology increases military power. If the attack wins, the surviving attackers occupy the captured sector; its civilians, UWs, commodities and natural deposits remain present. If the attack fails, surviving attackers remain at their source sector. Casualties are reported for both sides and recorded for both nations. When a capital is captured, its designation becomes wilderness to prevent creating another operating capital for the attacker. Saved supply routes touching a captured sector are cleared.

Historical fidelity: sector defense multipliers and the principle of automatic defense are documented for BSD Empire 1.1.5. The current deterministic casualty coefficient (55% proportional damage), win threshold and technology scaling (1 + tech/100) are provisional, not verified reproductions of BSD's original C combat engine. They will be revisited when its source is available. Artillery fire, reserve troops, morale, combined-arms support, naval/air combat, and detailed international relations are not implemented.

v0.9.5 — Military production and supply

Defense plants (d) and shell industries (i) are now buildable. They manufacture guns and shells during the same fixed five-minute economic steps as other industries, subject to sector efficiency (60% or more), local workers, available inputs, storage capacity and treasury funds. The current recipes below come from a later Empire variant's product table; they are provisional until verified against original BSD 1.1.5 code.

SectorInputs per unitCostOutput
Defense plant (d)1 oil + 5 LCM + 10 HCM$301 gun
Shell industry (i)2 LCM + 1 HCM$31 shell

Guns (GUNS) and shells (SHELLS) are ordinary stored commodities. They can be moved through TRANSFER, delivered along multiple adjacent direct routes using ROUTE, or distributed through warehouses. Use THRESHOLD X Y GUNS N and THRESHOLD X Y SHELLS N to protect stock at the source or set warehouse distribution goals.

DESIGNATE 1 0 d
    DESIGNATE 2 0 i
    TRANSFER 1 0 1 1 GUNS 2
    ROUTE 2 0 SHELLS 1 0 25
    GARRISON 1 1

GARRISON, SECTOR, the sector tooltip and the Economy screen display stored weapons; the garrison listing indicates whether a fort has guns, shells and MIL. Supplies do not yet fire automatically or alter the land-combat casualty formula in v0.9.5. Starting with v0.9.6, they can provide automatic support as described below. BSD's historical fort garrison multiplier remains 4× even without artillery; forts need guns, shells and MIL for a later independent artillery-support feature. In v0.9.6, defending artillery fires automatically on an attack within range and spends shells.

v0.9.6 — Automatic fortress artillery

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

During ATTACK, the defending nation's supplied fortresses automatically support a friendly attacked sector within gun range. The defender does not need to be logged in. Each defending fort requires at least five MIL, one gun, and one shell. A participating fort fires at most seven guns and spends one shell for each gun fired; if it has fewer shells, it fires fewer guns. Shell spending and casualties are committed atomically with capture, BTUs, and the battle report. Guns are not consumed.

The original BSD guide's fort gun range rule is:

Technology factor = (national technology + 50) / (national technology + 200)
Gun range = floor(min(guns in fort, 7) × technology factor)

For seven guns at 52.78 technology, the factor is approximately 40.66% and the practical range is two hexes. Distance follows the map's six-direction hex geometry. A fort outside range, without enough crew, without shells, or without guns cannot fire. Automatic support does not change the fortress's separate 4× MIL defensive multiplier.

Firing happens before close combat. Artillery casualties can repel an attack or eliminate all attacking troops. ATTACK and BATTLE [N] now report supporting forts, shells spent, and attacker casualties from artillery; these losses are part of total attacker casualties, not additional to them. The sector tooltip reports artillery readiness; GARRISON also displays each owned fortress's current whole-hex gun range based on your nation's technology. The casualty coefficient and one-shell-per-gun salvo size are provisional pending verification against BSD C source. Historical versions differ: an older DEFEND order selected protected sectors, while the 1991 guide describes automatic support. Our v0.9.6 implementation uses automatic support; it does not implement an explicit DEFEND assignment command or player-fired artillery.

v0.9.7 — Integration-test compilation fix

This release makes no changes to artillery or gameplay. It corrects a missing C# namespace import in the combat integration test project, allowing the complete .NET 11 solution to build. All commands and game behavior remain as described in v0.9.6.

v0.9.8 — Player-fired fortress artillery

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

Players can now fire on a visible enemy land sector from an owned, supplied fortress. Use FIRE X1 Y1 X2 Y2 (coordinates are relative to the nation's permanent map origin) or select an owned fortress and expand Combat actions to choose Fire fortress artillery. Selecting a known foreign sector also offers Shell from friendly fortress in that section when a candidate source exists. The list is a convenience; the server checks actual range and all requirements.

GARRISON 1 1
FIRE 1 1 2 1
FIRELOG
FLOG 20
CommandMeaning
FIRE X1 Y1 X2 Y2Fire one shot from a fortress at an observed enemy land sector. Costs one shell and the applicable FIRE BTUs; no ground-troop movement or capture.
FIRELOG [N] / FLOG [N]View the latest 1–100 fortress strikes involving your nation (default 10). Enemy inventory details are not exposed to the shooter.
GARRISON [X Y]Display garrison strength, guns and shells, automatic-support range (Auto) and player-fired range (Fire).

Fortress fire requires at least 5% efficiency, five military personnel, one gun and one shell. At 60% efficiency or more, player-fired range receives an additional hex, following later Empire FIRE documentation. The original BSD 1.1.5 guide establishes the base gun range floor(min(guns,7) × (tech+50)/(tech+200)). Existing automatic defense uses the unbonused base range and its previous salvo rules. The 60%-efficiency bonus and one-shell player shot are rules from a later Empire variant, not independently verified against the original BSD C source.

Bombardment reduces target efficiency, MIL, civilian population and food. Enemy forts with surviving crew, supplies and sufficient range return one shot; both shots, damage and ammunition changes are saved in one database transaction. The firing player sees the damage percentage rather than exact enemy stocks or troop counts. The defender can see its own losses through FIRELOG. Damage coefficients are provisional and will be refined when the original BSD source is available. Bombardment never transfers ownership.

v0.9.9 — Fortress readiness and artillery BTUs

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

In legacy timing games, FIRE costs exactly 1 BTU per shot; BSD timing games additionally charge rounded wind-adjusted gun effectiveness divided by 20. The cost is enforced by the shared BtuRules table and debited within the same serializable transaction as shell consumption, damage, counterfire and strike history. An attacker's nation with zero BTUs cannot fire: the action rolls back with no partial inventory, damage or history changes.

Fortress artillery readiness also requires at least 5% efficiency, five MIL, one gun and one shell. The smoke tests explicitly cover 4% (not operational) and 5% (operational) fortress efficiency. This release fixes an outdated test fixture; the 5% runtime rule itself is unchanged. No new database migration is required.

v0.9.10 — Surviving garrisons required for capture

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

A ground attack wins an occupied enemy sector only if its attacking strength exceeds the defending strength and at least one committed military person survives automatic artillery and close combat. Winning the strength comparison alone does not capture an empty position: when the last attacking soldier dies, ownership remains with the defender, even if the defender's garrison was also eliminated.

The ATTACK command and BATTLE reports continue to record casualties and an explicit captured/not-captured result. The game does not retroactively transfer sectors captured in older versions. Fortresses retain their BSD-documented 4× defense and capitals/banks 2×; the deterministic casualty coefficients are still provisional. These occupation checks do not change artillery ranges, shell costs, route cleanup on successful capture, or BTU charges.

The release ZIP now preserves executable shell-script permissions and uses current release timestamps on source files. This avoids incremental dotnet build reusing compiled tests because older ZIP entries were dated 1980. No database migration is required.

v0.9.11 — Combat rule provenance

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

The read-only COMBATRULES command (four-letter alias COMB) distinguishes rules supported by the 1991 BSD guide from prototype values that still need verification against the original C implementation. It does not disclose enemy troop counts or change nation resources.

Historically documented: fort defenders have 4× strength; capital and bank defenders have 2×. Fortress gun range depends on up to seven guns and the national technology factor. Our current 55% casualty coefficient, direct-fire damage percentage, and one-shell-per-shot behavior are not verified BSD 1.1.5 casualty formulas. They remain unchanged in this release to preserve saved-game behavior. Details and sources are in BSD Combat Audit (HTML).

The original source archive is publicly indexed but its C files have not yet been inspected in this build. On a machine that can download it, run ./scripts/fetch-bsd-reference.sh and python3 scripts/index-bsd-combat.py to locate relevant functions without extracting or executing the archive. Numerical rules will only change after checking the complete source functions.

v0.9.12 — Historical combat source comparison

Historical version note: gameplay descriptions in this section are superseded by the current v0.9.13 combat rules above.

The combat coefficients shown by COMB are still provisional: the original BSD Empire 1.1 C source has not yet been inspected. v0.9.12 adds a read-only source comparison tool that can inspect the public historical C archive on a Linux machine. It lists possible matching functions and lines alongside our C# numbers; matching text alone is not proof of exact rules.

The tool does not alter an active game, combat damage, route settings or database. See the administrator manual for local source retrieval and verification instructions and the HTML combat evidence audit for current gaps.

v0.9.35 — Private telegrams and Playwright videos

Players may send a private telegram to a different nation in the same selected game using TELEGRAM NATION_ID MESSAGE (or its four-letter abbreviation TELE). Use COUNTRIES to find nation IDs. The message must contain 1–512 printable characters; it costs $5 from the sender's national treasury and no BTU. The receiving nation sees the sender and message with EVENTS or EVENTS 50. Messages cannot be read by unrelated nations, and invalid recipients or insufficient funds cancel the entire send.

Original BSD 1.1 EMP/player/commands/tele.c establishes this private-telegram cost and message length. This is the first telegram feature, not a complete replication of the historic bulletin mailbox, read/unread status, announcements, or public news. Unlike a sector event, a telegram does not display sector coordinates.

Database upgrade: Run ./scripts/migrate-games.sh once after updating. Migration 202611220004_PhaseTwoTelegram enlarges only the nation_events.Message field to accommodate full 512-character messages and sender identification; historical events and other game data are preserved.

Browser videos: The isolated Playwright test host can save WebM recordings for each scenario, including the two tabs in session takeover and the 390-pixel mobile viewport. Example:

./scripts/test-ui.sh

Use EMPIRE_E2E_VIDEO_ON_FAILURE=1 instead to keep only failed scenarios. Both flags together also mean failures only. Videos are under tests/Empire.PlaywrightTests/videos/ unless EMPIRE_E2E_VIDEO_DIR overrides the directory. Recordings are local test artifacts and are not bundled with release ZIPs.

v0.9.36 — MAIL and ANNOUNCE

MAIL [COUNT] (or MAIL 50) shows only your nation's private telegrams and broadcast announcements, separate from EVENTS which also contains battle, resistance and plague notices. You cannot read another nation's mailbox. ANNOUNCE MESSAGE (or ANNO) sends a copy to each other nation in the selected game (not to the sender). Each delivered copy costs $3; the total BTU charge is the integer quotient of recipient count divided by two, as in BSD 1.1 tele.c. An announcement is limited to 512 printable characters; if the sender lacks the funds or BTUs, the whole send fails without delivering partial messages. The selected game must be backed by PostgreSQL for broadcasting. Read/unread tracking and public NEWS were added subsequently in v0.9.37; this v0.9.36 announcement feature itself used only the earlier telegram migration.

Configure the optional Playwright recording variables in your shell and run ./scripts/test-ui.sh; no environment prefixes are needed in the test command.

v0.9.37 — Three-page NEWS and read/unread MAIL

BSD Empire 1.1 news.c presents three public pages: page 1 military actions, page 2 domestic events, and page 3 diplomatic/other reports. NEWS displays activity since the nation last viewed it (maximum three days) and advances the last-read time; NEWS 1, NEWS 2 and NEWS 3 explicitly request that many days; larger positive values are capped at three days as in the original C code. The pages contain selected combat, artillery, telegram metadata, plague and rebellion news; private telegram text, coordinates and tactical information are never made public. Page 3 is reserved for future diplomatic reports (there are no treaty commands yet). The full original report-verb catalog and news reputation system remain future work.

MAIL [1–50] lists recent private telegrams/announcements with NEW/READ labels. MAIL NEW [1–50] returns only unread messages. Reading a message marks it read permanently in the game database; other nations cannot see its status or contents. EVENTS remains a private event history and does not mark mail as read.

Existing databases require scripts/migrate-games.sh: migration 202611220005_PhaseTwoNews adds the public news table, the per-nation last-read timestamp, and per-message read state. Existing mail starts unread; earlier activity is not retroactively turned into public news. No NEWS or MAIL command consumes BTUs.

v0.9.38 — NEWS reader reliability

The PostgreSQL integration test now creates its third (neutral) nation before reading public news, instead of relying on a nation from an earlier test that was removed by the isolated database reset. The NEWS service reports a clear error for an unknown nation rather than a low-level EF Core Sequence contains no elements exception. News visibility, read cursors, mail privacy and all BSD combat/plague mechanics are unchanged. No additional migration is required beyond the existing v0.9.37 NEWS migration.

v0.9.39 — Safe Git source checkpoints

Before installing another ZIP, commit your reviewed local project source to Git. Use ./scripts/git-checkpoint.sh to stage expected Empire source, tests, scripts and documentation, show the staged summary and stop. Inspect git diff --cached, then run ./scripts/git-checkpoint.sh --commit to create a local commit. This helper never pushes automatically. The project-root .gitignore excludes local credentials, compiled binaries, database dumps, ZIP releases and Playwright recordings from future staging. Git ignores do not automatically untrack anything previously committed; if the helper reports such a file, inspect it and use git rm --cached before proceeding. No game rules or database migrations change in v0.9.39.

Historical treaty offers and consideration

OFFER TREATY nation-id days our-clauses their-clauses offers a treaty to another nation. Each side has independent restrictions, and at least one clause must be selected. Clause lists are comma-separated BSD treaty.h identifiers; use none when one party has no restrictions. Available terms: SEAATT (no ship attacks), SEAFIR (no shelling ships), LANATT (no sector attacks), LANFIR (no shelling land), NEWSHP (no building ships), NEWNUK (no new nuclear weapons), NEWPLN (no building aircraft), and TRTENL (no enlistment). Example: OFFER TREATY invader 7 SEAATT,LANATT LANATT.

TREATY [id] shows only the current nation's unexpired signed and pending treaties, including both parties' conditions and offer-based expiry. CONSIDER TREATY id accept|decline|postpone lets the receiving nation accept a pending treaty; either party can decline/retract or postpone. Accepted offers expire on the original offer-date deadline, not acceptance date. Treaty offers and responses create private notifications, while signed treaties appear in public diplomacy news. Use the Blazor Diplomacy menu to select clauses without typing codes. In historical BSD treaties are advisory, not absolute prohibitions. The server checks applicable signed and pending treaty terms before ATTACK, FIRE, ASSAULT, BOARD, NAVALFIRE, FLEETFIRE, BOMBARD, TORPEDO, DEPTHCHARGE, ENLIST, BUILD SHIP and BUILD PLANE. When a conflicting treaty is found, the action is blocked until explicitly retried with CONFIRM at the end of the command, or with the confirmation checkbox in its Blazor popup. Pending treaty conflicts cause private warnings but no public breach news. A successful confirmed signed-treaty violation appears in page-three public NEWS and notifies the other nation privately. Expired treaties do not apply. A rejected or failed action does not generate treaty-breach news.

This feature requires the additive PostgreSQL migration 202611240003_PhaseFiveTreaties, run with ./scripts/migrate-games.sh after tests.

Historical BSD loan offers, ledger, and repayment (v0.9.105)

OFFER LOAN nation-id amount duration-days interest-percent proposes a private loan; amount is $1–100000, duration 1–127 days, interest 1–127% over that duration. The lender must retain $100 in its treasury. No money changes hands until the borrowing nation accepts. Example: OFFER LOAN invader 600 7 10. An offer expires after the proposed duration; the lender may withdraw it.

CONSIDER LOAN loan-id ACCEPT|DECLINE|POSTPONE accepts, rejects, or postpones an offer. Only the borrower may accept. Acceptance transfers the available principal from lender to borrower in one transaction and begins a new loan term; if the lender's treasury has fallen, the available principal may be reduced while preserving $100. Proposed and signed loans are private to the participants.

LEDGER [loan-id] displays your own proposed and outstanding loans, amount currently owed, paid-to-date, maturity and rate. REPAY loan-id amount transfers a repayment from the borrower to the lender, updates interest and remaining principal atomically, and closes a fully paid loan. BSD interest accrues proportionally over the offered duration, and accrues at twice that rate after the due date. Example: REPAY 1 200. Historical COLLECT sector confiscation is available for overdue signed loans, subject to adjacency and the 120% appraisal ceiling; see the COLLECT section.

Mobile-friendly Blazor dialogs for OFFER LOAN, CONSIDER LOAN, LEDGER, REPAY and COLLECT are available under Diplomacy, including a projected maturity amount preview. The loan table is added by migration 202611240004_PhaseFiveLoans; apply it using ./scripts/migrate-games.sh after tests. The restored local launcher is ./start-local.sh from the repository root, or ./scripts/start-local.sh; both run the existing scripts/run-local.sh setup, build, migrations, and Blazor server.

Nation loan repayment calculator

Estimate simple interest from the last payment, with double interest after maturity. Use days on a common elapsed-time scale.

Estimated amount due ($)—
Accrued interest ($)—

Use the same origin for all day values. If repaying before the last payment time, interest is zero. The game uses exact UTC seconds and rounds to the nearest dollar; the ledger is authoritative.

Historical BSD overdue loan collection (COLLECT)

COLLECT loan-id x y (abbreviation COLL) claims an adjacent debtor-owned sector after a signed loan is overdue. The lender must own a sector adjacent to the selected debtor hex, and the selected sector must be observed. Coordinates are relative to the nation's original capital. For example, COLLECT 3 4 0. This is a transfer of territory, not a treasury payment.

The server computes the original BSD coll.c appraisal using dchr[].d_value * (efficiency + 100) plus the mortgage values in ichr[].i_value, including civilians, guns, shells, iron, oil, gold and radioactives (food and military have no monetary value). The appraised value may not exceed 120% of the current accrued debt. A sector worth at least the amount owed settles the loan; otherwise its appraised value is credited toward the outstanding balance. The captured sector's military is cleared, allegiance/loyalty is updated, routes are removed, and capital succession is reconciled.

COLLECT is fully transactional; unsuccessful checks leave ownership, inventory, debts, private notices and public news unchanged. Successful collections notify both parties privately and generate a sanitized public seizure headline. The Blazor Diplomacy popup provides the loan number, observed sector selector, explanatory safeguards and explicit run confirmation. No additional migration is required beyond the nation_loans migration included since v0.9.105. Local launchers ./start-local.sh and ./scripts/start-local.sh remain available.

BSD capital-loss treasury consequences

When another nation captures your recorded primary capital, BSD caploss.c assesses a treasury loss of the greater of half your national treasury or $3,000. This implementation limits that loss to available money to preserve the game's nonnegative-treasury rule. The attacker can receive part of the forfeiture: no more than the amount remaining after the loss, multiplied by the captured capital's pre-transfer efficiency percentage. A ruined capital can yield no proceeds.

The rule is applied to successful COLLECT, ground ATTACK, shipborne ASSAULT, and any eligible airborne capture. The original PARA rule prohibits landings on capital sectors, so current PARA commands cannot actually seize one. It is not assessed merely because another capital-designated sector is taken; the sector must match the defending nation's recorded primary capital coordinates. The financial change and nation-private notices are committed with the transfer itself. Existing capital succession and fixed map origins are unchanged. No new migration is required. The graphical commands and root ./start-local.sh remain supported.

Player registration and approval

On the sign-in screen choose Register a new player account. Enter a username, email and password. The account stays disabled until an administrator approves it from Player registrations at the top of Administration. Passwords are salted and hashed; existing passwords continue to work, and older hashes are upgraded automatically on successful sign-in. Other sessions may need to sign in again. You cannot sign in or join a game while pending or rejected. Your submitted email address is not verified; a decision notification is queued when the administrator acts.

National technology and production

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. Food uses the ninefold multiplier described below before accruing fractional food credit. 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.

Agribusiness production

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 use the efficiency-adjusted CIV + UW + 0.4 × MIL 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; local production stops at 999 stored food; automatic deliveries may fill ordinary sectors to 999 and warehouses to 9,999; 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.

Selecting a game

On Home, the game selector is in the top status area. Getting Started is shown only when no game is loaded; the full User guide remains available at all times. Once you join, the map and national status replace the introductory panel.

Home offers all registered games to approved players. Select a game or use JOIN ID to create your nation automatically on the first visit. Your chosen country name becomes the initial nation name. Returning to a world loads your existing nation, even when that world is full. The last selected joined game is saved in the player account registry and restored after sign-in, even on another browser or device. Browser storage is a fallback; administrator selections remain browser-local. If the saved game is unavailable, select another existing game. Economy, Reports and Leaderboard offer joined games only; viewing or refreshing those pages never creates a nation. If the nation limit is reached or no suitable starting site remains, the join fails with a visible explanation and does not assign a nation. Refresh games discovers new worlds. The administrator-only God Mode map is separate from the player map. Player fog of war and game-session rules are unchanged.

National leaderboard and POWER report

Open Leaderboard from the Home navigation or use POWER (alias POWE), POWER 10 or POWER HISTORY. The report is scoped to your selected game. Its ranking is based on the executed BSD 1.1 powe.c formula, not a technology or victory-point score. There is no BTU charge for reading a stored report.

Each owned sector contributes 3 points plus 13/30 of its efficiency percentage. Each civilian, soldier, shell, iron, gold dust, oil and light construction material contributes 1/10; each gun 1/3; each petrol 1/50; each heavy construction material 1/5. Ship cargo and crew also contribute these weights. Each ship contributes 1 plus its type's build LCM/10 and HCM/5; each aircraft contributes 5 plus its efficiency/10. Treasury adds dollars/100, including negative balances. Food, UW, gold bars, radioactives and national development scores do not contribute directly. Only positive totals rank, with exact ties ordered by nation ID.

Power and civilian population: one fully efficient sector, $1,000 treasury and no other inventory.
Power points0700 CIV1400
Exact theoretical contribution and total (rounded to two decimals)
CIVPopulation contributionTotal power
00.0056.33
10010.0066.33
20020.0076.33
30030.0086.33
40040.0096.33
50050.00106.33
60060.00116.33
70070.00126.33

The first stored snapshot in each completed-ETU interval remains fixed. Automatic economic updates capture a snapshot after the update; opening POWER or the leaderboard captures the current interval if it is not stored yet. An empty new world has no ranked entries. Missed intervals are not reconstructed. PostgreSQL retains snapshots across restarts; the interface displays the latest 30 captured snapshots. Changes within the same interval are not reflected until a new interval is captured. An inactive game may therefore have an old report.

Players see their own exact score and components, and foreign scores as 100-point ranges such as [100, 200). During play, foreign exact scores, breakdowns, stockpiles and locations are not exposed. After completion, all final POWER totals are visible to authorized readers; foreign score components and private inventories remain protected. The ranking order itself is public to assigned players. Rank-history charts use only the stored ranks. Administrators can see every ranked nation's exact score components.

Concurrent logistics commands

When PostgreSQL aborts a logistics transaction because of concurrent activity, Empire retries the entire command with fresh sector and nation data. Food, mobility and BTU charges commit together or not at all. A successful retry does not charge twice. The number of retries is bounded; if contention persists, a failed command can be submitted again after the reported failure. If connectivity is lost during a command, check its outcome before repeating it.

Sector readiness and nation events

Forest/wilderness is natural terrain, not a player designation. Existing forests remain unchanged. Airfield tooltips check the reference fighter 1 against the aircraft catalog (LCM, HCM, crew, work, treasury, efficiency and technology); other aircraft have their own requirements. In the nation events feed, acknowledge individual private non-mail events to persist their read state. Completed games remain read-only. Locate on map centers a visible event sector on the current game map; it cannot reveal hidden sectors. Open the map before using this action. Mail read state remains separate.

Interface buttons use blue for ordinary actions, gold for primary saves and confirmations, and red for destructive actions such as removing routes or declaring war. Sector colors are independent. Opening sector details explicitly keeps the inventory and resource richness sections available while reading; use Close, Escape, or click outside to dismiss. Hover-only tooltips still dismiss automatically.

Server health is an administrator-only operational view. It does not change player update schedules, playing time or economic rules.

For locally hosted development games, the administrator builds and tests Debug binaries before starting the server. Restarting the local server does not recompile the game. Production games run the Docker Release build.

Victory, final results and Hall of Fame

When a campaign ends, commands stop and the final economic update runs only through the deadline. The nation with the highest positive POWER score wins; equal scores use nation ID order. A campaign without a positive score has no ranked winner. New finalizations publish the winner in public game news. The final leaderboard shows exact total POWER scores to two decimal places, while historical live snapshots retain their original visibility restrictions.

Open Victory and final results from the game header or final leaderboard. Download final results as JSON for your records. The central registry retains the results and participating player identities independently of the game world, including after archival. The Hall of Fame shows recent accessible campaigns, your games played, wins, average ranked finish, highest score, and results grouped by campaign length. The public competitive career table counts regular and contest games only; private and training records are visible to their participants and administrators. Unranked nations count toward participation but not average finishing rank.

Approved players with a registered email receive a final-results notification when server email delivery is enabled. Results from campaigns completed before this feature are copied from their preserved final snapshots; earlier game news is not rewritten. Archive links remain available after the game leaves the map picker.

Campaign length and economic speed

New normal games can be created from Administration with a planned length of one day, two days, one week, two weeks, 30 days, 60 days, 90 days, a custom 1–365 days, or unlimited. The historical reference is 60 days at 1,400 seconds per ETU; campaign ETU seconds = 1,400 × days / 60 × 100 / speed percent. The speed adjustment is 25–300 percent. Scheduled updates occur every eight ETUs, retaining fractional seconds and twelve simulation steps per ETU. The daily playing allowance is independent. The start time is recorded during provisioning, in UTC. Existing games remain unchanged.

Examples: one day = about 23.333333 seconds/ETU; two weeks = 326.666667; 30 days = 700; 60 days = 1,400. Unlimited games retain their original manual timing options. Campaign timing cannot be changed after creation yet. At the UTC deadline, gameplay and new nation creation become read-only. The scheduler processes due turns and a final partial update only through the deadline, then freezes the game and stores the final POWER standings. The leaderboard and existing nation reports remain available. Final foreign scores retain the normal privacy bands. If the server was offline, catch-up resumes after restart; finalization may take several scheduler polls. A game already simulated past its deadline by an older version is not rewound.

Registration email policy

Use one email address for your player account. Matching is case-insensitive. Existing registration requests reserve the address even if rejected or banned; contact the administrator if you need help. All registrations require administrator approval.

Circular direct routes

Active direct routes for the same commodity may form a ring of four or more hops. Self routes and two- or three-hop loops are rejected, including when resuming a paused route. Opposite directions for different commodities remain valid. Previously saved forbidden short loops are paused with private nation event notifications; legal longer rings are not paused or deleted.

Every simulation step chooses a temporary acyclic delivery graph from the saved network. Within a ring it prefers routes away from sectors with opening exportable stock, with deterministic distance, surplus and coordinate ordering. Other routes retain their existing order. A return edge can become eligible in a later step. The JIT demand planner uses the temporary graph, so a downstream deficit is allocated once and stock cannot complete a direct-route circuit in the same step.

JIT ring edges deliver only for feeding and downstream shortages; they do not fill storage merely to circulate surplus. Weighted commodity ring edges balance inventory relative to receiving capacity rather than blindly filling the next sector. Normal route priorities, mobility floors, food reserves and storage limits remain in force. A snapshot route status is an estimate, not a guarantee of future delivery. Direct-route rings do not modify ship cargo or manual transfer rules.

Fair commodity distribution

Routes from the same source for the same commodity and priority share available surplus by relative weight. Manual weights default to 1 (equal share). Weights 2, 1 and 1 represent 50%, 25% and 25% before capacity and mobility limits. Paused routes are excluded. Unused allocation due to a full destination is redistributed among eligible destinations. Fractional allocation credit persists across updates to avoid repeatedly awarding a spare unit to the same destination.

JIT (Just-in-Time) food distribution

Right-click an owned sector, choose Edit Routes, edit a food route and select JIT (Just-in-Time) — feed first, then fill storage under Distribution method and save. This setting applies to every food route with the same source and priority, including paused routes when they resume. New food groups created in the graphical editor start in automatic mode; existing routes retain their manual weights until enabled. New routes added to an existing group inherit its displayed policy. Selecting Manual — weighted shares restores the saved manual weights. On the Economy page, Convert all food routes to JIT and confirm to switch all direct food routes in your nation in the selected game, including paused routes. This preserves stored thresholds, route priorities, mobility limits and manual weights; active JIT sources use the automatic reserve. Empty warehouses can relay food to downstream sectors over active JIT food routes. JIT is an optional modern convenience, not an original BSD rule. Non-food routes and manual route priority order are unchanged. The national direct JIT network first delivers emergency rations to directly supplied hungry sectors, then searches upstream for additional live surplus to satisfy remaining reachable one-update shortages through relay sectors. Each hop must have enough mobility and space, and intermediate suppliers retain their three-update food reserve. Each emergency delivery shares the edge shipment cap and live source mobility with subsequent buffer and surplus deliveries. Emergency rations and the necessary transit stock may cross route priorities; ordinary buffer and surplus shipments may not forward later-priority receipts at an earlier priority. Source food reserves, sector mobility reserves and historical shipment caps still apply. Individual route mobility floors apply only to non-emergency shipments. For each active direct JIT supplier, automatic deliveries other than immediate emergency rations preserve mobility for one scheduled update of adult food demand across its direct JIT destinations, rounded up to whole mobility points and added to the source sector mobility reserve (limited by the sector mobility maximum). This applies to ordinary buffer filling, surplus deliveries, other automatic commodity routes, and warehouse distribution. Emergency rations may use the automatic protection and bypass individual route minimum mobility, but never violate the sector mobility reserve or historical shipment caps. Optional JIT food shipments also hold back unmet direct emergency rations. Zero-cost highway shipments can still move unreserved surplus. The automatic protection is recalculated each simulation step; no route settings are rewritten. Insufficient production, a blocked route, or insufficient mobility regeneration can still cause starvation. Edit Routes and its export show the estimated automatic feeding protection separately from the configured mobility floor. Edit Routes shows source food, protected reserve, exportable surplus, source mobility, effective normal mobility floor and separate estimated emergency ration and normal shipment capacities before competing routes.

Set the desired food buffer to 1–30 scheduled updates (default 5). Each economic step recalculates adult consumption from civilian, military and uncompensated worker populations and the actual game update interval. The goal is rounded up to a whole unit and capped at storage capacity. Existing stock is subtracted; destinations at or above their local goal can still receive food for downstream JIT destinations. Existing JIT routes inherit five updates after migration. The entire source and priority group shares the buffer setting, including paused routes.

First, the router services national emergency adult-food shortages using direct deliveries and feasible relay paths. Second, ordinary receiving buffers and downstream demand are replenished in configured priority order. Third, if every active receiver on the step-specific national JIT graph has met its feeding requirement (the protected three-update reserve for a forwarding sector, the configured receiving buffer for a terminal sector), a separate surplus pass fills automatic receiving storage (up to 999 food in ordinary sectors, 9,999 in warehouses), including sectors with no population. Full means automatic receiving storage capacity, not the feeding buffer. Within a source and priority group, ordinary-sector surplus storage is filled before warehouse surplus storage; warehouse feeding and transit needs remain in the earlier feeding pass. Existing excess stock is retained and may be sent onward. Saved thresholds and route priorities are unchanged. A farm with surplus exports as much as the available route capacity and mobility permit, subject to the national feeding phases. After buffer replenishment, outstanding terminal feeding goals and relay reserves are assigned upstream once on the selected acyclic JIT network. Each supplier protects the assigned food above its own reserve and the estimated transportation mobility cost; the remaining surplus may fill available storage, including lower-priority destinations when higher-priority destinations are full or blocked. Zero-cost highway shipments can use unreserved food without consuming protected mobility. Reservations are calculated once per simulation step, and deferred ring edges remain subject to the existing circulation rules. Route exports show the estimated additional food and mobility reservation for the current snapshot, not a reconstruction of the last update. Forward and reverse sweeps within a priority group allow relay delivery and backfilling space freed by forwarding. Lower priority numbers run first. Except for national emergency feeding, a relay cannot forward food received from a later-priority group through an earlier-priority route until the next simulation step. Same-priority relays and later-priority outgoing routes can forward eligible food in the same step. Constrained mobility may require additional simulation steps. The feeding and surplus passes share one historical shipment allowance per edge, source mobility and route floors. Manual routes retain opening-stock behavior.

Any sector with active outgoing JIT food routes automatically keeps three scheduled updates of its combined CIV, MIL and UW adult consumption, rounded up. The source reserve does not depend on the chosen destination buffer or a manually entered food threshold. No threshold field is required when saving a JIT route; saved thresholds remain available for warehouse settings and manual-only routing. All automatic exports from active JIT suppliers protect the calculated reserve. Paused routes alone do not establish this reserve. Manual transfers may spend it. Food moves before production and consumption. Births, changes in population and future production are not included in these estimates.

Optional console syntax: ROUTE JIT ALL enables JIT on owned food routes without changing manual weights. ROUTE X Y FOOD TO_X TO_Y PRIORITY MIN_MOBILITY AUTO:5 sets the group buffer to five updates. AUTO preserves an existing buffer or uses five for a new group. A numeric share weight (1–100) selects manual mode. Run ./scripts/migrate-games.sh before starting the updated server.

Route exports distinguish affordable direct emergency rations and ordinary buffer shipments from actual deliveries. After the first completed economic update under the route delivery update migration, each direct route records its total units and mobility for that update, including zero deliveries. Older untagged values are historical shipments of unknown update. The isolated production estimate is constrained by current storage, not gross production potential. Live exports are not atomic snapshots.

Manual weighted distribution calculator

Compare up to three active routes from the same source, commodity and priority. Set capacity to zero to omit a destination.

Route 1 nominal delivery—
Route 2 nominal delivery—
Route 3 nominal delivery—
Unallocated surplus—

Capped proportional shares redistribute unused capacity. Estimates are before integer rounding, stored allocation credits, route eligibility, mobility and shipment limits. JIT uses shortages and urgency instead.

Game classifications

Empire uses a single gameplay rules engine. A world classification describes its intended audience and access model, not a different ruleset.

ClassificationPurpose
TrainingFree practice and learning.
RegularStandard campaigns, intended eventually for monthly members.
ContestScheduled competition with separate registration and a possible entry fee.
PrivateInvitation-only campaigns (planned).

Alpha and beta are separate software-testing deployments rather than game types. These classifications are database metadata only at present. No membership payment, contest fee, invitation requirement or new restriction is enforced. Existing game access and approval rules are unchanged. All gameplay resources remain earned within the game; payments are not a gameplay resource.

v0.9.101 — Diplomatic air defenses for coordinated flights

Multi-bomber BOMB, coordinated DROP, PARA, and one-way cargo formations now use the defending nation’s own DECLARE stance, consistent with single-plane flights. Allied and neutral defenders do not open ground or shipboard flak or launch fighters; only declared HOSTILITY or WAR permits defensive combat. Neutral overflights produce private sightings, while allied overflights do not. Stances are directional: the attacker’s declaration does not authorize a neutral defender to fire. No new migration is required beyond v0.9.99.

v0.9.102 — Coordinated air-defense test compatibility

The JavaScript regression checker now recognizes the existing nullable-safe C# fighterAfter is { Mobility: 40 } assertion. This resolves a false source-contract failure from the earlier hardcoded fighterAfter.Mobility == 40 pattern. The underlying PostgreSQL integration test still checks that neutral and allied air defenses spend no fighter mobility, flak shells, or interceptors. No gameplay rules, database migration, or commands are changed.

Campaign status and sector warnings

The player header also displays your nation’s Tech (technology), Education, Medical (medical research) and Happiness scores to two decimal places alongside remaining daily time and BTUs. These are national scores, not sector efficiency percentages. They refresh with the existing 30-second heartbeat and game selection; unavailable values appear as a dash. The player header shows the real-world campaign countdown, progress, speed relative to the BSD reference, next update, and approaching-deadline warnings separately from the daily playing allowance. Unlimited games have no ending countdown. Completed games link to standings. The clock is a browser display; the server enforces deadlines.

The map legend is above the map. Hover over a sector or open its Details panel to see CIV, MIL, UW (uncompensated workers), food, efficiency and mobility at the top. Yellow warnings identify missing materials for one production batch, low food, insufficient technology, education, money or workforce, depleted richness, or full output storage. Red warns about empty food stock or dangerous plague stages. Warnings expand to fit their contents; scroll the lower details. On a very short screen, the whole tooltip can scroll if necessary. Food and recovery estimates are local estimates, excluding routes, accumulated fractions, shared funds and scheduler delay. Refresh the map for fresh sector values.

Expand Nation events, Public news and Mail in the player header. Click or tap outside the panel to close it, or use its summary again; actions inside the panel do not dismiss it. Recent private events (including feeding deaths), public headlines and mail refresh every 30 seconds. The Latest event banner shows the newest unread non-mail event with its date and time in your selected time zone, only while the event is within the last 48 hours. Older events remain in event history and retain their read status. Historical starvation messages use UW rather than the older abbreviation. The mail count covers the latest 50 messages; use MAIL for older messages. Mark unread mail as read explicitly. The feed never marks NEWS as read automatically. Starvation notices report actual CIV, UW and MIL deaths aggregated per sector and update, with nation-relative sector coordinates. Public news announces that a nation suffers starvation, without exact locations or casualty counts. Locate on map selects and centers the known event sector without spending BTUs or command allowance; hidden sectors stay hidden. Earlier starvation deaths are not retroactively converted into events.

Harbor warnings use a reference fishing boat (25 LCM, 15 HCM, 11 available work, $40 and at least 60% efficiency). These are the actual ship catalog requirements, not an automatic production batch. The yellow panel lists shortages for this reference vessel even when no ship is ordered. Other ship types have different requirements; the BUILD SHIP command still checks the selected type, sea access, ownership and BTUs. No warning is not a guarantee that every ship can be built.

User Settings and accessible map colors

Open User Settings from the signed-in navigation. The default accessible palette uses an orange source and blue destination, with S and D markers as well as the existing sector designation glyph. Choose Classic for the former green source and blue destination, or High contrast. Adjust individual map, selection, route and warning colors using the color pickers. The preview updates immediately and text colors are chosen automatically for contrast. Selecting a different palette replaces individual custom colors. Restore accessible defaults resets the preferences.

Settings save per signed-in username in the current browser; they are not synchronized to other browsers or devices and are not game rules. If browser storage is unavailable, settings apply for the current page session only. Production and critical tooltip warnings expand vertically to fit their text at normal tooltip font size. The details section scrolls independently; if the statistics and warnings together exceed the available screen height, the whole tooltip can scroll as a fallback. Warnings remain labeled in words, independent of color.

Production game creation is performed by a trusted maintenance operator. Player game selection and ordinary gameplay are unchanged.

Maximum transfer and exploration amounts

Transfer and Explore show the estimated maximum amount for the selected source, destination and commodity, based on the current map snapshot, storage capacity and the game’s mobility rules. Exploration and civilian transfers leave at least one civilian behind. Look for the prominent Maximum you can move (or Maximum civilians for exploration) number beside the amount. Select Use maximum to fill the amount, or enter a smaller number. A zero means nothing can move using the current sector data; Unavailable means the endpoints or movement data are missing. The estimate changes when the commodity or endpoints change. It does not account for pending operations, BTUs or daily play time; the server validates all requirements on confirmation. Refresh the map if sector data has changed.

BSD ground mobility calculator

Estimate a manual transfer or automatic movement using the total path entry cost, commodity weight, packing and discount for that movement.

Requested movement cost—
Spendable mobility—
Affordable requested units—
Mobility after affordable movement—

BSD timing only. Enter a valid combination for the movement: ordinary land entry is (200 − efficiency)/500; wilderness 400, highway/bridge 100, mountain 12,700 replace 200. Sum entered hex costs, not source cost. Manual warehouse packing requires 60% efficiency; people are not packed. Warehouse import/export uses the applicable paying sector. No inventory, route/path validity, BTU, ownership, storage or exploration checks; use the live transfer preview before committing.

Removed games

A game removed by an administrator is no longer available in the game list or standings. Its game membership is removed, but your account and memberships in other games remain. Game removal takes place during scheduled server maintenance. Sign in again after the server returns and select another available game.

Current account and nation access

Sign in again if your account role or credentials change. Game selection and update report details require current account access; if your assigned nation changes, refresh the reports to load the new nation. Previously displayed information cannot be recalled from your browser.

Edit routes and protect mobility

Right-click any owned sector and select Edit Routes, without selecting endpoints. Incoming and outgoing direct commodity routes show the destination designation (symbol and name), priority, minimum mobility, status, and the last successful delivery quantity and mobility cost (if recorded). Edit changes priority, the individual route minimum mobility (0–127), and the source commodity threshold; that threshold applies to every outgoing route for the commodity. Lower priority numbers execute first across all direct commodities. Equal priorities retain commodity order, with equal or weighted stock allocation for destinations of the same commodity. Each direct route can spend only mobility above the greater of its own minimum and the sector reserve; another route with a lower minimum may spend more. A route minimum of zero adds no restriction; existing routes migrate to zero. Warehouse distribution still uses the sector reserve. Pause keeps a route configured but prevents delivery; Resume restores it. Remove deletes the route.

Set Minimum mobility to keep for manual actions to 0–127. Automatic direct deliveries and warehouse imports/exports share the remaining mobility of the actual paying sector, including fractional mobility. Historical direct deliveries also keep their half-current-mobility per-shipment limit. For example, 80 mobility with a 25 reserve permits up to 55 mobility of automatic spending in total before replenishment. Manual movements and exploration may use protected mobility. Zero preserves unrestricted automatic spending under the usual rules. A reserve above a sector's available mobility does not generate more mobility. The older non-BSD profile caps mobility at 100.

The sector context menu displays only routes entering or leaving the clicked sector and changes only its mobility reserve. Use the Economy page to manage nation-wide routes. The explicit console command MOBRESERVE ALL amount remains available for bulk reserve changes. New standard BSD game sectors start at 20; existing sectors migrate to 0, preserving previous gameplay until changed. The reserve affects automatic ground logistics, not ships or aircraft. Route condition labels are snapshot estimates, not guaranteed deliveries. Configuration uses no BTUs.

In Edit Routes, Export routes downloads a plain-text diagnostic report after refreshing the owned-sector view and saved routes. It includes incoming and outgoing routes for the selected sector, competing outgoing routes from direct suppliers, population, food reserves and demand, mobility, warehouse assignments, route settings and last recorded deliveries. Coordinates are nation-relative. The export is read-only and includes an explicit UTC timestamp; it is a diagnostic read, not an atomic economic update snapshot. Share it only with trusted support personnel.

Browser security

Empire restricts executable scripts and network connections to its own web origin and prevents the game from being embedded in another page. Normal gameplay, map controls and published guides remain supported. Do not disable browser security to work around a connection problem; report the browser and error message to the administrator.

Command speed limits

Gameplay commands and explicit reports have separate server traffic budgets shared by your account across games and tabs. Normally each refills at 20 per minute with up to 10 available at once (one token every three seconds). Mail/news reads and explicit feed acknowledgments have a third, separate allowance with the same default rate and burst. Joining a new nation and renaming a country use the gameplay budget. Only one command runs at a time per account. Ordinary map refreshes, navigation and automatic deliveries are not charged. A rate-limit rejection tells you the estimated seconds until another command token is available. A rejected command does not spend BTUs, mobility or resources; normal gameplay rules and the daily playing-time clock remain in effect.

Security and fair play

Empire records security metadata for sign-in, session rejection and traffic limits. Audit events do not contain passwords, private messages or raw gameplay commands. Administrators use these logs to investigate security incidents. Rejected commands do not consume gameplay resources.

Opening or restoring the game map loads its status and BTU balance without submitting a STATUS command or spending report allowance. Selecting the Status command explicitly still uses the normal report limit.

Country names and public news

When first selecting or joining a game, enter a country name (1–120 visible characters). Existing nations are reused. Select Rename country near the game picker to open a responsive country-name form directly beneath the controls in the top status header. The form scrolls into view and focuses the name field even when opened from the command console. The header scrolls normally while naming a country so it cannot cover the form on a short screen. Enter a new name and select Save country name to change the display name; territory, membership and nation ID remain unchanged. Founding and actual renames appear in public game news. The current POWER snapshot updates when the nation roster or names change; earlier ETU snapshots remain historical. An open leaderboard refreshes every 30 seconds. The rename uses the normal gameplay command traffic allowance. Completed campaigns cannot be renamed.

Local time display

Open User Settings and choose Time zone. Automatically detect browser time zone is the default; choose Always display UTC or a named time zone to override it. This time preference is saved to your account, so it follows you to another device. Automatic mode uses the time zone of the browser you are currently using. If the browser zone is unavailable, Empire displays UTC. User Settings shows only the active display time zone, not a separate detected browser zone. Dates are converted to the selected time zone, including daylight saving time at the date shown. Numeric UTC offsets are not displayed; UTC itself is labeled UTC.

The game map, next-update countdown, nation events, news and mail, economic reports, standings, treaty deadlines, loan deadlines and daily play-time reset tooltip use the chosen display zone. Hover the campaign clock for its start and end dates. All players still share the same absolute update instant and game deadlines. Historical command-console report text and administrative scheduling controls remain in UTC; changing your display zone cannot change ETUs, production, daily reset boundaries or campaign duration.

Shared game update clock

All nations in a game share the persisted server UTC update deadline. The header shows that exact instant in your selected display time zone next to a live countdown, calculated from the browser clock. Login, game selection and refresh do not reschedule an update. Different games may have different schedules. Keep device clocks synchronized; network delays and the 30-second status refresh may briefly display a previous due time while an update completes. The server remains authoritative.

Diplomacy

Choose Diplomacy in the main navigation and select a joined world. Other countries are listed by name, with your declaration and their declaration shown separately. Select a country and declare alliance, neutrality, hostility or war; war requires confirmation. Treaties and loans have separate tabs for offers, decisions and repayments. Overdue loan collection remains in the graphical command menu. Messages sends private telegrams and reads national mail; News reads the existing three-day public news report. Commands retain normal BTU, treasury, playtime, session and traffic restrictions. Opening or refreshing diplomacy uses one report allowance; following a successful change the page attempts to refresh its reports. If throttled, wait and refresh. Available with PostgreSQL games, not the in-memory demonstration.

Food consumption in sector tooltips

Owned-sector tooltips show stored food, average adult food consumed per scheduled update, the actual update interval and estimated remaining stock coverage without production or deliveries. Adult demand is (civilians + uncompensated workers + military) divided by 1,000 per ETU, scaled by the configured update interval divided by seconds per ETU. A normal BSD campaign update covers eight ETUs: 650 people need 5.2 food per update on average. Whole-unit charges vary because fractions carry forward. Estimates exclude newborn consumption, population changes and logistics, and are not a guaranteed starvation forecast. Sanctuary and sea sectors do not require adult feeding. Manual updates and catch-up process elapsed simulation time rather than a fixed number of ETUs.

JIT food reserve and survival calculator

Use the combined civilian, military and uncompensated-worker population of a feeding sector. The source reserve is always three scheduled updates.

Adult food per update—
JIT buffer goal—
Food needed to reach JIT goal—
Source protected food—
Exportable food before mobility—
Updates of food remaining—
Real hours of food remaining—

For a JIT supplier, the protected reserve is three scheduled updates of adult consumption, independent of the destination feeding buffer. This calculator shows only local demand; the game route editor also includes downstream JIT demand. Excludes newborns, population changes, production and deliveries. Sea and sanctuary do not require feeding.

Sortable data tables and map hover

Click a data table column heading to sort ascending; click again for descending. Arrows show the active direction. Numbers sort numerically. Historical before-and-after columns sort by the after value; the administrator food balance sorts by net food production. Sorting is local to each table and does not change stored game data or spend BTUs. Mouse hover must remain on a map sector for one second to show its tooltip. Keyboard focus and explicitly opened Details remain immediate.

Convert conquered civilians to UW

In an owned sector still populated by conquered civilians, use the sector menu or the graphical command palette. CONVERT X Y COUNT converts up to the requested number of conquered civilians into uncompensated workers (UW). Loyal civilians cannot be converted. At least one military person for every ten civilians is required. Actual conversion is limited by civilian count, available whole mobility (five conversions per point), and the 999-UW limit. The action costs $1.50 per converted civilian rounded down to whole dollars, 0.2 mobility per conversion, and one BTU per started hundred conversions plus the historical two-BTU base in BSD timing games. Sufficient treasury and BTUs are required. When no conquered civilians remain, their former allegiance is cleared. Remaining guerrillas are not removed. This is a game-only occupation mechanic; there is no reverse conversion command.

Civilian staffing and route defaults

Owned-sector tooltips show the estimated minimum CIV for maximum production over one scheduled update at current efficiency, participation, resource richness, national technology and education. Existing MIL and UW contribute labor. Estimates assume adequate inputs and treasury, empty product storage, no construction, no population changes and no transfers; fractional throughput is a planning estimate, not a promise of actual production. National science output is not capped like stored commodities. Non-producing sectors show N/A.

The first new CIV route from a sector with no existing civilian threshold defaults to this estimate, with a minimum of one CIV for ownership. If there is no production potential or timing data, the current civilian population is protected; capitals also retain their current population to protect BTU production. Non-producing infrastructure defaults to one CIV. The field is editable. A sector's source threshold is shared by all outgoing CIV routes and warehouse distribution, so existing explicit thresholds and routes (including paused routes) are preserved. The reserve is saved as a threshold, not recalculated automatically later. Review it when production conditions change.

National route diagnostics

Use Export All Routes on the national Routes page to download all owned sectors and direct routes, their food and mobility details, the last recorded national update totals, and structural food paths from farms. The report is a refreshed, non-atomic snapshot. Historical last deliveries do not identify the latest update. Structural connectivity does not guarantee enough food or mobility, and does not include warehouse distribution links.

A rejected circular route reports the shortest active same-commodity return path, hop count and existing route priorities. The map routing dialog highlights the conflicting edges in red using its loaded route snapshot. Loops shorter than four hops remain prohibited. Longer rings are permitted, with a temporary acyclic delivery plan recalculated each step. Route diagnostics identify return edges deferred in the current snapshot.

Explicit logout and playing time

Confirming Sign out settles the elapsed active command window and pauses playing time for the account's joined games. Signing in or viewing reports does not start a new window; the next gameplay command does. Walking away or closing the browser without signing out still allows the five-minute inactivity window to run. The daily or one-day campaign allowance is not reset by logout. If a game database is unavailable, sign-out still succeeds and the failure is logged; its clock may run to the normal inactivity limit.

Optional adjacent farm emergency feeding

When enabled for a game, after configured JIT emergency deliveries and before ordinary distribution, an agribusiness may send a hungry adjacent sector owned by the same nation enough food to cover one scheduled update of adult demand without a configured FOOD route. The farm retains its protected food (at least three updates of adult demand) and sector mobility reserve; transport costs, storage and shipment limits apply. An explicit FOOD route between those sectors, including a paused or manually weighted route, prevents this fallback. No route is saved and no buffer or surplus shipment uses the temporary connection. National and sector food-moved totals include these shipments; saved-route delivery totals do not.

The administrator can enable or disable this option for a selected game in Administration using Enable emergency feeding or Disable emergency feeding under Adjacent farm emergency feeding. Each button saves immediately; the current setting is read back from the selected game. Default: disabled for new and existing games.