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:
2026-07-03 17:05:19 +02:00
parent b9e70ba83a
commit d889b79658
8 changed files with 487 additions and 400 deletions

View File

@@ -116,11 +116,11 @@ outline = "#201010"
fill = "#c47a3a"
outline = "#3a1a0a"
[items.titanium_ore]
fill = "#9aa3ad"
outline = "#2a2e33"
[items.quartz]
fill = "#e0d4f0"
outline = "#40345a"
# --- ingots ---
# --- smelted basics ---
[items.iron_ingot]
fill = "#b0b0b8"
@@ -130,9 +130,9 @@ outline = "#202028"
fill = "#d48a4a"
outline = "#402010"
[items.titanium_ingot]
fill = "#c8d2dc"
outline = "#3a4048"
[items.silicon]
fill = "#33415e"
outline = "#0e1420"
# --- salvage loop ---
@@ -140,9 +140,9 @@ outline = "#3a4048"
fill = "#7a7268"
outline = "#201a14"
[items.advanced_alloy]
fill = "#a06acc"
outline = "#201030"
[items.voidsteel]
fill = "#4a3a6a"
outline = "#151020"
# --- basic components ---
@@ -154,9 +154,9 @@ outline = "#3a2008"
fill = "#8a92a0"
outline = "#22262c"
[items.circuit_board]
fill = "#2ea35a"
outline = "#0a2a14"
[items.copper_coil]
fill = "#d07030"
outline = "#381808"
[items.building_block]
fill = "#c8b070"
@@ -164,26 +164,30 @@ outline = "#302810"
# --- advanced components ---
[items.mechanical_parts]
fill = "#6f7a66"
outline = "#1c2018"
[items.control_chip]
fill = "#2ea35a"
outline = "#0a2a14"
[items.targeting_unit]
fill = "#3a9e8c"
outline = "#0c2824"
[items.capacitor_bank]
fill = "#d0a030"
outline = "#302408"
[items.hardened_steel]
fill = "#6a7280"
outline = "#181c22"
[items.ceramic_plate]
fill = "#e0d8c8"
outline = "#3a3428"
[items.drive_unit]
fill = "#4a6ad0"
outline = "#101a38"
[items.titanium_frame]
fill = "#b8c4d4"
outline = "#343c48"
# --- capital components ---
[items.reinforced_plating]
fill = "#8a6ad0"
[items.voidsteel_plate]
fill = "#7a5aaa"
outline = "#1c1038"
[items.capital_core]
@@ -192,15 +196,15 @@ outline = "#280c30"
# --- module items ---
[items.laser_cannon_s_module]
[items.railgun_s_module]
fill = "#691313"
outline = "#f3ff4f"
[items.laser_cannon_m_module]
[items.railgun_m_module]
fill = "#892020"
outline = "#f3ff4f"
[items.laser_cannon_l_module]
[items.railgun_l_module]
fill = "#a92d2d"
outline = "#f3ff4f"