Commit graph

4,559 commits

Author SHA1 Message Date
soul
2d94e1c709 Rewire package_hull, compare, gen_manifest and job.ps1 over ship-authoring open 2026-11-28 05:04:50 +01:00
soul
5665a3736e Rewire the add-on over ship-authoring open and push 2026-11-28 05:04:09 +01:00
soul
71a886dad2 Delete smoke_hull_source's case-variant Manufacturer probe 2026-11-28 05:02:46 +01:00
soul
aa373ae232 Delete package_hull's msgpack top_speed reader and cultlib override 2026-11-28 05:02:45 +01:00
soul
ead94db64c Delete ShipSchemaPinTests' Python slot pins 2026-11-28 05:02:34 +01:00
soul
83978d7ba6 Delete test_ship_cc's record tests 2026-11-28 05:01:41 +01:00
soul
f0ada351b2 Delete ship_cc.py's envelope writers and raw readers 2026-11-28 05:01:29 +01:00
soul
13504341c0 Commit the Arsenal Depot's packager manifest, with Fa.1; gen_manifest refuses a station
tools/blender/manifests/arsenal-depot holds package.json and hull.scad; a test holds the kind, rows
and hull.scad equal to the shipped package. gen_manifest.py exits with a message on a station.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:36:25 +01:00
soul
6f850a4b2a Facility icon in the Settings asset, GetIcon fails by name; HardpointType values pinned
ItemIcons gets an entry for Facility (the Tool sprite, no new art) in place of the empty one, and
GameSettings.GetIcon names the type when an entry is missing instead of throwing IndexOutOfRange.
Tests pin each HardpointType to its stored number and one non-null icon per type in the asset.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:36:24 +01:00
soul
04b054810f Change note: station facility mounts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:25 +01:00
soul
16293d95a0 Arsenal Depot takes a Facility row; the station room census
ship-authoring push gives the depot one 2x2 Facility row, Fa.1 at (4,2), clear of every other row.
StationFacilityRoomTests judges the booted catalog: every offered station hull takes the facilities of
every kind it serves (with a positive control that names a rowless Zenith) and keeps room for the
Medium Docking Bay and a heater with every hardpoint's cells taken.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:24 +01:00
soul
82486837e6 Catalog: six facility designs, every kind's Facilities, every recipe's Facility, Zenith's Fa.1
economy author Facilities (apply) gives the six station kinds recipes run on a 2x2 facility design
(Extraction Rig, Volatiles Skimmer, Algae Vats, Refinery, Fabrication Line, Munitions Line) with a
NotOffered branded product each, lists it on the kind and names it on each recipe. station-kinds
facilities "Zenith" 9,7:##/## gives Zenith its Facility row. catalog resave leaves nothing stale. The
economy report keeps its 139 faults and adds no L-facility fault. Two tests that counted products now
count the offered ones, since a NotOffered facility product is on no market.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:24 +01:00
soul
0190411917 Economy batch Facilities and the recipe helpers that read it
Facilities authors one facility design per station kind a recipe names (a 2x2 GearData on a Facility
mount holding FacilityData, sold by a NotOffered product), sets each kind's Facilities and every
recipe's Facility, writing only what differs. Facilities.Of is the one lookup: Munitions,
MunitionsFeed, MunitionsBills and OresAndProvinces set a recipe's Facility through it, and Munitions
keeps the Facilities the catalog already holds when it rewrites munitions-works.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:23 +01:00
soul
9c60e46ea4 station-kinds facilities: the one writer of a shipped hull's Facility rows
AetherDb station-kinds facilities "<hull>" <x>,<y>:<footprint>... [apply] replaces a station hull's
Facility rows with exactly the rows given (Fa.1, Fa.2...), keeps every other row, refuses a hull that
is not a station, a malformed row, a cell outside the interior and an overlap, and prints the designs
that take each row before and after. Footprint and ParseFootprint are shared with ship-authoring push.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:22 +01:00
soul
c3499e6b34 L-facility, the station room census, and the random fill leaves Facility rows alone
EconomyChecks gains L-facility: a recipe names a recipe facility some kind lists and its own kind
lists it; a kind's Facilities hold recipe facilities; a FacilityData sits only on Facility gear.
StationKinds.FacilityRoomFaults judges that every offered station hull has the Facility rows to take
the facilities of every kind it serves. LoadoutGenerator.EquipHardpoints skips Facility rows (a
kind's Facilities fill them, a later cut); IsHeater is internal for the room test. The economy
fixture gains the facility design MillWorks and a Facility row on each station hull.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:21 +01:00
soul
d932484721 Facility vocabulary: HardpointType.Facility, FacilityData, RecipeData.Facility, StationKindData.Facilities
HardpointType.Facility is appended after ControlModule (value 13) with ship_cc's names in step: an
internal station mount, no anchor, filled only by a kind's Facilities. FacilityData is an inert
BehaviorData (union arm 53). RecipeData.Facility (Key 10) and StationKindData.Facilities (Key 3) read
unset and empty from older records. HullKindFault refuses a Facility row on a Ship or Turret hull.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 04:33:21 +01:00
soul
6518f260a2 ship-authoring push: refuse a blank hull name, judge any named or stored kind, builders read no verdict so price and stats need no catalog
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 02:38:23 +01:00
soul
7516aacb06 ship-authoring: hull, station kind and products in open/push; stats, price, kind and product become builders over the push core
DeleteProduct and the commands' direct writes are gone; hullType is checked, never written.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 02:23:56 +01:00
soul
767c053986 Re-pin the two-AI digest: the Arsenal Depot is the zone's station hull now
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:15 +01:00
soul
f2340d7786 DemoLoop reads the one station by hull type: the Pirates demo station is now the Arsenal Depot, not Zenith
Pirates' mining stand-in lands on the depot hull; the test named the hull Zenith.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:14 +01:00
soul
115919d7f8 StationKindTests worlds hold only the station hulls a test adds: station packages go off the market
The Arsenal Depot's offer makes every depot stand-in live, so the shipped composed catalog no longer has dead stand-ins; the worlds that assert dead stand-ins take package stations off the market like Zenith.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:13 +01:00
soul
6c88753179 ship-authoring kind commits through the push core's Land
A thin builder: loads through the cache, derives the hull with its kind, judges by HullKindFault and lands with the push's compare-exchange, so a stale write is refused. Not a direct cache writer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:12 +01:00
soul
86628d45ac StationPackageTests: the depot is an offered station of its kind, every depot stand-in is live, every station package generates its kind
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:11 +01:00
soul
6d43ea0f29 Add the Zhestokost Arsenal Depot, the first station package
A lidded cast-iron Dutch oven (bench Stations, Arsenal Depot) through package_hull.py: like Zenith, kind depot, maker Zhestokost, offered. Reactor 4x4 and four 1x4 radiators on radiator-mesh anchors, an interior that takes a Medium Docking Bay and the heater. 116 cells on a 14x12 raster, Reach 7.07 (Zenith 7.21), so no station rail moves. Its offer makes every depot stand-in live.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:10 +01:00
soul
4a2cc09786 ship-authoring product: a hull stored with no roles takes a product with none
Zenith decodes with a null Roles list, so a station made --like it failed product with a null source. The kind and product tests cover it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:09 +01:00
soul
92b2df7b12 Station packages: ship-authoring kind writes a station hull's Kind; create --like takes a station; a station assembles as EntityInstance
kind <ship.cc> <kind-id> is the one writer of a package station's Kind, judged by StationKinds.HullKindFault over the shipped catalog before the file is opened writable; validate (and push's verdict) judge a station package's kind with the same rule. HullLike clears Kind. ShipModShips.Assemble makes a ShipInstance and tractor only for HullType.Ship; any other hull gets a plain EntityInstance. The packager manifest gains optional kind, written by ship-authoring kind after stats.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:49:08 +01:00
soul
7bc6226c02 Anchor Beacon renderers take Steel parkerized, the lit hull material of every station prefab, in place of the minimap Planetoid sprite material
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:38:01 +01:00
soul
b30105ec16 Anchor Beacon is zone-only: inactive in the Wormhole prefab, activated by ZoneRenderer.AddWormhole
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 01:36:35 +01:00
soul
d485f6ddd7 Map: the purse, the chain-priced ballistic ladder and the balance numbers after design-bills
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:11 +01:00
soul
5e69fffe28 Bands from the rulings: ladder 10-30x for Weapon/* and Gear/* only, H-afford 10-20 sorties to the dearest design, reported against the measured sorties
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:10 +01:00
soul
b4d5fe27f3 Pin MunitionsBills to the shipped catalog: apply on a copy and compare prices, role counts and part inputs; header comments no longer say a rerun writes nothing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:09 +01:00
soul
2bde090720 DemoLoopIncomeToCost reads the cheapest piece's authored Price (ruling demo-loop-reads-authored-price): one re-anchor, bounds at 1/sqrt(10) to sqrt(10) of the shipped reading
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:09 +01:00
soul
e85e62f412 Pins that follow the bills: compound commodity count 63 to 67, Point Defense Gun and Flak Gun at their chain-derived prices
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:08 +01:00
soul
4ef9a3eaf6 Starting purse 4000: the derived price of the cheapest ballistic design above the starter, rounded up to a thousand
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:07 +01:00
soul
7a2d9c30d4 Prices covers every design with a recipe: L-price and the harness follow; one ladder width; economy author applied (nine designs repriced from their chains)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:06 +01:00
soul
1136870e51 MunitionsBills: tier role variants and four tier parts for the ballistic designs; the munitions design recipes move from Munitions; economy author MunitionsBills applied
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 00:06:06 +01:00
soul
9b29992baa Push: Land pinned against a concurrent write, empty request and corrupt model end as outcomes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:58:24 +01:00
soul
4c19f6f4e5 ShipAuthoringPush tests: no-change, dry run, apply, stale, element matching, refusals, verdict, carried members
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:58:23 +01:00
soul
c807c5ed29 AetherDb ship-authoring open and push: one request vocabulary, dry run by default, per-record compare-exchange
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:58:21 +01:00
soul
74469bdaa1 CatalogResaveTests: a fixture written under the old schema, one probe type with the appended member
Two same-named probe types in one assembly collide in every registry that scans it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:05:04 +01:00
soul
2fc878d5bd Aetheria.cc: catalog resave apply on master's catalog (63 compound records under the new schema id, MaxStack 10)
Every other record equals master's byte for byte through the current schemas (480 records compared).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:03:02 +01:00
soul
e6e049a97e AetherDb catalog resave [apply]: re-save every record under an older schema id through the current schema; dry run by default, idempotent
Closes follow_up aetherdb-catalog-resave for the restamp: a schema change no longer needs a hand restamp of Aetheria.cc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:02:00 +01:00
soul
fb7c955bb8 Soul s1 fixes: one compound sale path, tests for TrySellPart, Consolidate, pickup, Split and sale rounding, honest sell label
TrySell refuses a compound (it would pay a whole stack for one unit); TrySellPart is the one path and is pinned across two
bays, for an absent stack and for the floor. The Sell label for a compound reads up to the whole-stack price.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:59 +01:00
soul
2a15c2f95c Compound stack sale moves only what the station holds (ruling no-market-absorption)
TrySellPart sells the units the station's bays take and pays for those alone; the rest stays in the seller's hold and the
trade menu says how many sold. Simple goods keep their absorb path until the station-outflow cut. CommodityRecordsTests pins
CompoundCommodityData's one key, MaxStack at 12.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:55 +01:00
soul
613ef9a185 StationServices: say ore stack, not mined stack (ore is any design a field kind yields)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:54 +01:00
soul
17ccacdd95 CompoundStackTests: lot stacking, split, give, sale, pre-cut save, restore and consolidate; Reachable drops a retired input
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:54 +01:00
soul
60bd14337d Give and ItemUsage count a stack's units, not a compound unit as a crafted item
A compound commodity is a CraftedItemInstance, so a give order for a compound stack was clamped to one unit and an item use
removed the whole stack. Both now read ICommodityStack.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:53 +01:00
soul
b04828abd4 Restore consolidates stack fragments; Reachable drops a retired input from a Produced lot
EquippedCargoBay.Consolidate pours stacks into earlier stacks they StacksWith, called once per bay after SpillOversize
(finding old-fragments-never-merge). ProvenanceLedger.Reachable no longer names a RetiredExtracted input that
RunSave.Commit drops (finding input-keeps-retired-lot).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:52 +01:00
soul
a30f3be50d Compound commodities stack: ICommodityStack owns interchangeability, one bay rule serves every stack
ICommodityStack (StacksWith, Split) on SimpleCommodity and CompoundCommodity; CompoundCommodity.Quantity at Key(13),
CompoundCommodityData.MaxStack at Key(12), ItemManager.MaxStack. The bay's typed SimpleCommodity and CraftedItemInstance
entries are private behind the ItemInstance dispatchers, Remove and TryTransferItem take ItemInstance with a quantity,
EquippedCargoBay.Count serves CountItemsInCargo and the trade menu. Restore, pickup, prices, give and sale follow
(sale absorbs for any stack: question compound-stack-sale-absorbs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:51 +01:00
soul
f0119a3599 Map: body facts for compound stacks and commodity stacking; Extracted.Body no longer named
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 23:01:51 +01:00