Packages regenerated with package_hull.py (PACKAGE_OK, hull.scad byte-equal); the new rows sit on hull cells no interior gear draws from. Zenith's row and the quarters design follow in the catalog commit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
StationKinds.InstalledDesigns is the one list of what a station installs, read by FacilityRoomFaults and the generator. The quarters are seated after every other draw so the lot they make moves none. The conjure is named in the code and the batch (follow-up conjuring-site-deletions).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Old items-stream reading 0.55950844, 0.87309176, 0.7170387, 0.8490041; new 0.7170387, 0.8490041, 0.68440413, 0.59800005. The generator's own four values are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Tight Outpost's four interior cells were exactly its dock, heater, crate and capacitor; the quarters take a fifth.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
LoadoutGenerator seats the design after the heater, through the one choice of product for installed gear; StationWants.Drawn adds the table of every running habitation unit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The consumer-good skip of the sink half is deleted; the test that pinned the skip becomes ModuleTableIsASink.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Union arm 54, EquippableItem key 15. AdvanceInstalled runs Facility and Habitation behaviours.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The demo entrance is dealt no card, so the entrance rules were vacuous. The holder of the entrance gets its home there and an influence of 3: every kind a faction fields still stands outside the entrance (dies under the first deck dealt to entrance slots first, seed 19), and an ordered entrance holds exactly its orders (dies under dealt extras seated after the orders).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The boundary circle (Radius x ZoneBoundaryRadius) is a fixed function of the zone's radius, drawn before any content, so spacing must fit inside it: a root takes the station only while moving every root outward by its spacing keeps the outermost root within the boundary; where no root fits beyond its ring group the station orbits a root at its family extent, the least spacing that fits. Unbounded, spacing put a root outside the boundary in 47 of 6400 zones (up to 3.2x the pack radius; 0 at base). OverflowSeatTests sweep nine seeds that exercised the bound: no root beyond the boundary, isolation holds for every spaced root, and an overflow station orbits a root with no massive child wherever the zone has one (reverting to the old first-root-with-children rule fails it).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Ruling root-stations-tested-by-own-turrets. The orphan-source test skips a station on a root's ring with no source orbit; the two flank tests give each turret to the station nearest it round the ring, so every station's turrets are still checked to flank it and clear each other. No bodyless orbit is added.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
linux-x64 (Yggdrasil), old -> new: 2 bd7c5a3e -> 79808bd6, 3 a4fc1f09 -> 515554c9, 4 a8028205 -> 814b146c.
windows-x64 (Starfire), old -> new: 2 c18990e5 -> 2072e67a, 3 8da34a1f -> 4beb6475, 4 2469eacc -> ff37d9ec.
Seeds 1, 5 and 6 are unchanged on both. Cause: a zone with two or more massive roots and an overflow station scales its roots outward, which moves every body of those zones.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Ruling overflow-station-clears-root-first. The seat is a root with no massive child, else a bodyless node, else a root with children (most massive first, least spacing within a kind); outside the entrance a root with massive children takes the station beyond its massive children's ring group. The station's own orbit raises the root's support to Beta x its distance and its reach floor to Beta squared x it, so in a zone of two or more massive roots all roots move outward from the zone centre by the factor that keeps that floor within Reach x the nearest massive root's distance (root-window-floor).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
linux-x64 57303576 -> 1d1f9901 (measured on Yggdrasil), windows-x64 344fec28 -> 5afdd8f9 (Starfire). Cause: the deal replaced the zone-stream count draw, so every later draw in the zone Zenith stands in moved.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Old reading at seed 1: loaded hauler dot toward the refinery 0.9879 (emptied 0.9810). New reading at seed 1: 0.0042, since the Lagrange sides moved when the count draw left the stream and the stations now sit 415 from a 139217-mass body whose pull beats 3 s of steering. Seed 2 reads 0.9999 loaded and 0.9952 emptied against the unchanged bound of 0.5.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Old reading: cheapest authored price at Zenith 2500, so V/buy 282.149/2500 = 0.11286. New reading: 8000, V/buy 0.035269. The deal removed the zone's count draw, which moved Zenith's stock draw. The band stays 1/sqrt(10) to sqrt(10) around the new anchor; repair reads 45703 on both sides, unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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>