Old reading 0 stations (the zone's roll was dropped where no rail could seat it); new reading 8, the deal's count for the boosted-presence fixture. The shortfall path is every zone's now, so the test asserts the count equals the deal's and that the deal is not empty.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adding Ring (key 4) changed the stationkinddata schema id; catalog resave apply restamps all 11 records so the shipped catalog is current (CatalogResaveTests, ElementIdUpgradeTests).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StationKinds.Choose (the per-station site hash) becomes PoolOf, the fieldable kinds with Choose's logged fallback and no hash. StationDeck.Deal owns which stations every zone holds: a zone's slots come from the run seed and its presence, a thin territory gets slots until a faction can stand every kind it fields outside the entrance, hands are dealt per region and faction by decks of one card per kind, and Ring places a hand frontier first. ZoneGenerator seats every dealt card (the rail shortfall path is every zone's; an ordered entrance seats its orders alone) and reads nearest faction, presence and structure faction from StationDeck. StationKindTests re-pointed from Choose to PoolOf and the deal.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StationDeck deals a faction's stations per region; BuildProvinces sets it on generation and on save.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Key 4, int, default 0; a placement knob for StationDeck, authored by the StationRings batch. Records before key 4 read 0.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
EconomyRegion.Run boots the region, parks the hauler and advances every zone with Zone.AdvanceTo at each RegionClock.Span. Per seed: stations by faction and kind with their depth, facility Stall shares, held units of outputs, units made per recipe, H-region-idle and H-region-missing-link (the link set is StationKinds.FieldableKindsOf).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Galaxy.Entrance.Contents is now the arena (it was a Zone built beside the galaxy). region: true calls RunStart.Materialize after staging. Sortie and drain readings are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The drain's off-screen step is the game's: Spans advances the copy by RegionClock.Span through RegionClock.AdvanceFacilities and reads each Facility behaviour's Stall, and Copy goes through EntitySerializer.Copy. Follow-up drain-spans-on-region-clock.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
RegionClock.Step is a run's one driver (ActionGameManager no longer calls Zone.Update); Zone.AdvanceTo runs the off-screen facilities by the span a zone missed and places its orbits at the new time. RegionClock.Enter is the one writer of VisitedZones and GalaxyZone.LastSeen (SavedZone Key 7). PackedContents is a Zone's construction input, cleared by RunStart.Live. The sector map reads RegionClock.Seen. Galaxy's save constructor copies the pack it builds a Zone from, so a Continue in the same process reads the save as written.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes follow-up save-shares-live-objects. EntitySerializer.Copy is the one copy; every zone of a run is live, so Capture requires Contents and the PackedContents fallback is gone.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
linux-x64 42729ca4 -> 57303576 measured on Yggdrasil, windows-x64 e0f230c3 -> 344fec28 measured on Starfire, at the rebased head.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Allocation divides the silo among the distinct outputs of the recipe facilities and the goods of the station's haul orders. StationWants.Landing
names where a good lands and how much (non-silo bays unbounded for a drawn good, silo bays up to Room for an ordered one); a sale stops at it and
a hauler docks only when a delivery has room. CanStart and EntityHold.Room call Room: the second copy of the rule is gone.
Tests kill the surviving mutants: a start needs a whole cycle of room, two facilities of one kind share their products, general gear never takes
a Facility row, an ordered good holds its own share and a good both drawn and ordered lands in both bay kinds.
The drain harness names saturation: with --supply the wanted ores are brought again every 600 s and a station whose products fill with no outflow
ends Room-stalled and is reported as H-drain-saturated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A hull with two Facility rows serving a kind with one facility left the second to the docking bay (Entity.UnoccupiedSpace and ItemFits counted
empty hardpoint cells as free for general gear); the rows are the hull's stated facility capacity (ruling station-facilities-on-typed-mounts),
and StationFacilityFitTests.NoInteriorGearSitsOnAFacilityRow pins it. The drain tests change with the cut: the shipped refinery drains into its
silo, and the Room stall fault is pinned by a silo jammed full. Zenith's refinery intake pin names the non-silo bays.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StationFacilityRoomTests names the Arsenal Depot as having no free Facility row for the silo now that the processing kind lists it.
Regenerated through package_hull.py (PACKAGE_OK, hull.scad byte-equal); only the rows differ from the committed package (compare.py).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The two one-facility rewrites in the Facilities batch are gone: a kind's Facilities is its recipe facility plus the silo when the silo lists
the kind (trade-hub, processing), written only where it differs. The silo's name and description are general. The Seized Refinery manifest
gains Fa.2 (2x2 at 6,9) and aetheria.seized-refinery is regenerated through package_hull.py (PACKAGE_OK, hull.scad byte-equal, reach 6.69).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StationWants owns where every good lands and how much of a product a station may hold. Bays no longer lands a drawn good in a silo
(deleted: drawn -> every bay) and EntityHold.TryPut no longer stores into any bay (deleted: the any-bay loop); both go through
OutputBays/Bays. Allocation (floor(silo cells / products) x MaxStack) and CanStart are derived on every call; IProductionHold.Room
lets Production.Advance skip a recipe whose product is full and report Stall.Room only when every input-ready recipe lacks room.
A station without a silo is unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Heat per steady launch (strong over mild, bound 1.51 from shipped 2.284 and a 1.0 mutant) on both hulls, and launches hidden in a 600-launch fight on the
Djinni, which runs out (456 against 297, bound 1.24); the Longinus never runs out on a conducting hull.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A conducting hull never dies of heat, so a hold-down fires the whole window (draws 4-5x the heat-death stocks). Neither Pursuit hold nor the Arcs
holds carry the draw, so they are stocked full; the test now asks stocked to the draw, or the hold takes no more of that ammunition.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
demo-start-hull-longinus's default fit is the authored fit (economy-is-never-faked: a random loadout draw is interim). The generated
draw rolled Cell Blasters, ammunition-fed on an Energy mount, on seeds 2 3 69 97 and they ended AmmoOut in 12 s; Light Laser is the mining gun.
DemoTerminus.Starter stages it at StarterQuality; DemoPressureTests.EnterZone stages the same. The generator-replay test becomes the
authored-starter test; the AmmoOut sortie test flies a test-local Cell Blaster scenario through EconomyLoop.Sortie's new scenario parameter.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On a conducting hull the cell bleeds and mild and strong both hide all 60 launches (mild 60 did not outlast strong 60 at 300).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ProjectorRange 997 -> 1001; the test's +-1 band and the waiting place at 80% of it are unchanged in shape.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Loadouts.Materialize (scenario fits, presets, boss loadouts) never set HullConductivity, so an authored hull was insulated on every edge;
only LoadoutGenerator.EquipHardpoints set it. MapEntity now sets every hull cell conducting and the generator's loop is deleted. A saved
ship's edges (EntitySerializer.Unpack) and the inventory toggles overwrite it as before.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Galaxy keeps the progressCallback generation reports to (Galaxy.Progress) and no longer says Done! itself.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Galaxy.VisitedZones (saved as SavedGame.VisitedZones, key 19; a save without it reads its packs as visits) is written when PopulateLevel enters a zone and read by SectorRenderer, so unvisited zones show 'Has not been visited' as before. RunStart.Begin owns the new-run order (arena, enter, stage, materialize only if staged) and ActionGameManager calls it; AFailedStartMaterializesNothing runs it. Materialize's comment names the generated stock and loadouts as scaffolding deleted by follow-up conjuring-site-deletions; RegionStep and RequireDesigns comments corrected.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
RegionStep joins the item steps; BuildArena gives staging its Zone before the rest exist. Tests: every zone live, generation order moves no zone, idempotence, Continue builds every zone, a failed start materializes nothing.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Seeds 2, 3, 69 and 97 stop on a starting stock long before a hold fills, so only seed 1 had a measured sortie.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>