Write the v2 production tree into the config files
recipes.toml: full v2 rewrite - iron/copper/quartz mining, smelting incl. the value-losing scrap sink, reprocessing (4 scrap / 4 s, voidsteel at 20% of the full pool), tiered intermediates, hulls, module prefabs, and the three drop-only shortcut recipes. modules.toml: lasers renamed to railguns (implementation unchanged), prefab materials and numbers-pass production times; combat stats stay placeholders for the arena pass. ships.toml: hull-item materials, numbers-pass base production times, and geometry-validated default_modules loadouts for every ship (waves now spawn armed). visuals.toml: item entries for the new palette (quartz, silicon, copper_coil, control_chip, capacitor_bank, hardened_steel, ceramic_plate, voidsteel, voidsteel_plate, railgun modules); retired titanium/alloy/laser items removed. world.toml: scrap_per_threat = 0.25 per the numbers pass. threat_report.py: commit an item's threat only once every eligible recipe is computable - the previous first-resolved-wins behavior let shortcut recipes underprice items (same flaw exists in ThreatCostCalculator, recorded as action item 9). Verified: all default_modules placements valid, verify_recipes and verify_layouts pass, and the report reproduces the numbers-pass tables exactly (fitted: 10.5/47/99/233.5/354.5/722.5/1491.5/1436.5). Doc tables updated for the three geometry-corrected loadouts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DyCu8vwChKMbLJQ3xosYEN
This commit is contained in:
@@ -341,11 +341,15 @@ prints per-item threat values and producer:consumer ratio tables.
|
||||
|
||||
### Numbers — first pass
|
||||
|
||||
Computed with a recursive threat calculator (now available as
|
||||
`tools/threat_report.py`, which reads the real config files — it
|
||||
verifies these numbers once the v2 tree lands in the configs);
|
||||
quantities and durations tuned so fitted ships land on the threat-cost
|
||||
ladder and the ratio curve is realized.
|
||||
These numbers are live in the config files and verified by
|
||||
`tools/threat_report.py`; quantities and durations are tuned so fitted
|
||||
ships land on the threat-cost ladder and the ratio curve is realized.
|
||||
The typical loadouts are geometry-validated against the hull grids and
|
||||
configured as each ship's `default_modules`: the L-shaped weapon
|
||||
modifiers turned out not to fit alongside the full gun complement on
|
||||
the battlecruiser and dreadnought, so their loadouts use armor and
|
||||
small-railgun fillers instead — which moved all three heavy ships
|
||||
closer to their ladder targets.
|
||||
|
||||
**Economy constants:** `scrap_per_threat = 0.25` (1 scrap per 4 threat
|
||||
destroyed — a cruiser kill drops ~59 scrap). Reprocessing: 4 scrap per
|
||||
@@ -405,9 +409,9 @@ typical loadouts double as the `default_modules` for enemy waves):
|
||||
| frigate | 2 steel_plate + 1 copper_wire | 2 | 2 | 2× railgun_s, maneuvering_thrusters | 47 (40) |
|
||||
| destroyer | 3 steel_plate + 2 copper_coil | 4 | 3 | 3× railgun_s, armor_plates, sensor_booster | 99 (80) |
|
||||
| cruiser | 2 hardened_steel + 2 control_chip | 6 | 4 | 2× railgun_m, armor_plates, maneuvering_thrusters | 234 (200) |
|
||||
| battlecruiser | 3 hardened_steel + 2 control_chip + 1 drive_unit | 8 | 5 | 3× railgun_m, weapon_primer, armor_plates | 370 (350) |
|
||||
| battleship | 3 voidsteel_plate + 1 drive_unit + 2 control_chip | 10 | 6 | railgun_l, 2× railgun_m, weapon_stabilizer, armor_plates, sensor_booster | 752 (700) |
|
||||
| dreadnought | 5 voidsteel_plate + 1 capital_core + 2 drive_unit | 12 | 8 | 3× railgun_l, weapon_primer, weapon_upgrade, 2× armor_plates | 1472 (1500) |
|
||||
| battlecruiser | 3 hardened_steel + 2 control_chip + 1 drive_unit | 8 | 5 | 3× railgun_m, armor_plates, 2× railgun_s | 355 (350) |
|
||||
| battleship | 3 voidsteel_plate + 1 drive_unit + 2 control_chip | 10 | 6 | railgun_l, 2× railgun_m, weapon_stabilizer, 2× railgun_s | 723 (700) |
|
||||
| dreadnought | 5 voidsteel_plate + 1 capital_core + 2 drive_unit | 12 | 8 | 3× railgun_l, 4× armor_plates, railgun_s | 1492 (1500) |
|
||||
| carrier | 5 voidsteel_plate + 1 capital_core + 2 drive_unit | 12 | 8 | drone_hangar, 2× railgun_m, 2× armor_plates, sensor_booster | 1436 (1500) |
|
||||
|
||||
**Checks:**
|
||||
|
||||
Reference in New Issue
Block a user