- Base deterministica: Money, id tipizzati, DMath, XxHash64, calendario - 12 file dati con schemi, validatore di schema interno, validazione semantica e hash dei dati; viaferrea-tools validate-data - Generatore di mappa (rilievo, mare, priority-flood, fiumi, laghi, copertura, giacimenti, città, hub, industrie) e viaferrea-tools genmap - Economia: città, industrie, hub, mercato con componente mondiale, prezzi locali, tariffe, lavoro in sede e a piedi, trasporto locale, registro a partita doppia, prestiti, rating, difficoltà - Salvataggi Brotli con rimappatura per id e hash di stato giornaliero - viaferrea-tools simulate con KPI CSV; 45 test verdi; ADR 0002-0006 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
91 lines
8.7 KiB
JSON
91 lines
8.7 KiB
JSON
{
|
|
"$schema": "schema/industries.schema.json",
|
|
"version": 1,
|
|
"industries": [
|
|
{ "id": "coal_mine", "name_it": "Miniera di carbone", "name_en": "Coal mine", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "coal", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [150, 300, 500, 800, 1200], "workersPerLevel": [30, 60, 120, 200, 300], "staffPerLevel": [1, 3, 6, 10, 16],
|
|
"storageDays": 30, "wearIntensity": 1.3, "footprint": "medium",
|
|
"placement": { "needs": "deposit", "resource": "coal", "minTownDistanceKm": 2 },
|
|
"depletable": true, "era": 1850, "upgradeCost": 1500000, "spawnWeight": 1.0 },
|
|
{ "id": "iron_mine", "name_it": "Miniera di ferro", "name_en": "Iron mine", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "iron_ore", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [150, 300, 500, 800, 1200], "workersPerLevel": [30, 60, 120, 200, 300], "staffPerLevel": [1, 3, 6, 10, 16],
|
|
"storageDays": 30, "wearIntensity": 1.3, "footprint": "medium",
|
|
"placement": { "needs": "deposit", "resource": "iron", "minTownDistanceKm": 2 },
|
|
"depletable": true, "era": 1850, "upgradeCost": 1500000, "spawnWeight": 1.0 },
|
|
{ "id": "quarry", "name_it": "Cava di pietra", "name_en": "Stone quarry", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "stone", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [200, 400, 650, 1000, 1500], "workersPerLevel": [20, 40, 80, 130, 200], "staffPerLevel": [1, 2, 4, 7, 10],
|
|
"storageDays": 40, "wearIntensity": 1.0, "footprint": "medium",
|
|
"placement": { "needs": "deposit", "resource": "stone", "minTownDistanceKm": 1.5 },
|
|
"depletable": true, "era": 1850, "upgradeCost": 1000000, "spawnWeight": 0.8 },
|
|
{ "id": "oil_well", "name_it": "Pozzo di petrolio", "name_en": "Oil well", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "crude_oil", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [120, 240, 400, 650, 1000], "workersPerLevel": [15, 30, 60, 100, 150], "staffPerLevel": [2, 4, 8, 12, 18],
|
|
"storageDays": 30, "wearIntensity": 1.1, "footprint": "small",
|
|
"placement": { "needs": "deposit", "resource": "oil", "minTownDistanceKm": 2 },
|
|
"depletable": true, "era": 1860, "upgradeCost": 2000000, "spawnWeight": 0.6 },
|
|
{ "id": "logging_camp", "name_it": "Taglialegna", "name_en": "Logging camp", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "logs", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [150, 300, 500, 750, 1100], "workersPerLevel": [20, 40, 80, 120, 180], "staffPerLevel": [0, 1, 2, 4, 6],
|
|
"storageDays": 30, "wearIntensity": 0.8, "footprint": "medium",
|
|
"placement": { "needs": "forest", "minTownDistanceKm": 2 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 800000, "spawnWeight": 1.0 },
|
|
{ "id": "farm", "name_it": "Fattoria", "name_en": "Farm", "kind": "primary",
|
|
"recipe": { "inputs": [], "outputs": [ { "good": "grain", "perCycle": 2 }, { "good": "livestock", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [160, 320, 520, 800, 1200], "workersPerLevel": [15, 30, 60, 100, 150], "staffPerLevel": [0, 1, 2, 3, 5],
|
|
"storageDays": 20, "wearIntensity": 0.6, "footprint": "large",
|
|
"placement": { "needs": "plain", "minTownDistanceKm": 2, "maxTownDistanceKm": 10 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 600000, "spawnWeight": 1.4 },
|
|
{ "id": "sawmill", "name_it": "Segheria", "name_en": "Sawmill", "kind": "processing",
|
|
"recipe": { "inputs": [ { "good": "logs", "perCycle": 2 } ], "outputs": [ { "good": "lumber", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [100, 200, 340, 520, 780], "workersPerLevel": [20, 40, 80, 130, 190], "staffPerLevel": [1, 2, 5, 8, 12],
|
|
"storageDays": 30, "wearIntensity": 1.0, "footprint": "medium",
|
|
"placement": { "needs": "any", "minTownDistanceKm": 2, "maxTownDistanceKm": 12, "maxInputDistanceKm": 12 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 1200000, "spawnWeight": 0.9 },
|
|
{ "id": "steel_mill", "name_it": "Acciaieria", "name_en": "Steel mill", "kind": "processing",
|
|
"recipe": { "inputs": [ { "good": "iron_ore", "perCycle": 2 }, { "good": "coal", "perCycle": 1 } ], "outputs": [ { "good": "steel", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [120, 240, 400, 600, 900], "workersPerLevel": [40, 80, 160, 240, 320], "staffPerLevel": [2, 6, 12, 20, 30],
|
|
"storageDays": 30, "wearIntensity": 1.2, "footprint": "large",
|
|
"placement": { "needs": "any", "minTownDistanceKm": 2, "maxTownDistanceKm": 12, "maxInputDistanceKm": 12 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 3000000, "spawnWeight": 0.7 },
|
|
{ "id": "food_plant", "name_it": "Industria alimentare", "name_en": "Food plant", "kind": "processing",
|
|
"recipe": { "inputs": [ { "good": "grain", "perCycle": 2 }, { "good": "livestock", "perCycle": 1 } ], "outputs": [ { "good": "food", "perCycle": 2 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [150, 300, 500, 760, 1100], "workersPerLevel": [30, 60, 110, 170, 240], "staffPerLevel": [1, 3, 6, 10, 15],
|
|
"storageDays": 15, "wearIntensity": 0.9, "footprint": "medium",
|
|
"placement": { "needs": "any", "minTownDistanceKm": 2, "maxTownDistanceKm": 12, "maxInputDistanceKm": 12 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 1500000, "spawnWeight": 1.0 },
|
|
{ "id": "refinery", "name_it": "Raffineria", "name_en": "Refinery", "kind": "processing",
|
|
"recipe": { "inputs": [ { "good": "crude_oil", "perCycle": 2 } ], "outputs": [ { "good": "fuel", "perCycle": 1 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [100, 200, 340, 520, 800], "workersPerLevel": [30, 60, 110, 170, 240], "staffPerLevel": [3, 6, 12, 20, 30],
|
|
"storageDays": 30, "wearIntensity": 1.4, "footprint": "large",
|
|
"placement": { "needs": "any", "minTownDistanceKm": 3, "maxTownDistanceKm": 12, "maxInputDistanceKm": 12 },
|
|
"depletable": false, "era": 1870, "upgradeCost": 3500000, "spawnWeight": 0.5 },
|
|
{ "id": "brickworks", "name_it": "Fornace di laterizi", "name_en": "Brickworks", "kind": "processing",
|
|
"recipe": { "inputs": [ { "good": "stone", "perCycle": 2 }, { "good": "coal", "perCycle": 1 } ], "outputs": [ { "good": "building_materials", "perCycle": 2 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [140, 280, 460, 700, 1000], "workersPerLevel": [25, 50, 90, 140, 200], "staffPerLevel": [1, 2, 4, 7, 10],
|
|
"storageDays": 40, "wearIntensity": 1.1, "footprint": "medium",
|
|
"placement": { "needs": "any", "minTownDistanceKm": 2, "maxTownDistanceKm": 12, "maxInputDistanceKm": 12 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 1000000, "spawnWeight": 0.8 },
|
|
{ "id": "tool_factory", "name_it": "Fabbrica di attrezzi", "name_en": "Tool factory", "kind": "manufacturing",
|
|
"recipe": { "inputs": [ { "good": "steel", "perCycle": 2 }, { "good": "coal", "perCycle": 1 } ], "outputs": [ { "good": "tools", "perCycle": 2 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [60, 120, 200, 300, 450], "workersPerLevel": [30, 60, 110, 170, 240], "staffPerLevel": [3, 6, 12, 18, 26],
|
|
"storageDays": 30, "wearIntensity": 1.0, "footprint": "medium",
|
|
"placement": { "needs": "town", "maxTownDistanceKm": 2.5 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 2000000, "spawnWeight": 0.6 },
|
|
{ "id": "goods_factory", "name_it": "Manifattura", "name_en": "Goods factory", "kind": "manufacturing",
|
|
"recipe": { "inputs": [ { "good": "lumber", "perCycle": 2 }, { "good": "steel", "perCycle": 1 } ], "outputs": [ { "good": "goods", "perCycle": 3 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [120, 240, 400, 600, 900], "workersPerLevel": [40, 80, 150, 230, 320], "staffPerLevel": [3, 6, 12, 18, 26],
|
|
"storageDays": 30, "wearIntensity": 0.9, "footprint": "medium",
|
|
"placement": { "needs": "town", "maxTownDistanceKm": 2.5 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 1800000, "spawnWeight": 0.8 },
|
|
{ "id": "machine_factory", "name_it": "Fabbrica di macchinari", "name_en": "Machine factory", "kind": "manufacturing",
|
|
"recipe": { "inputs": [ { "good": "steel", "perCycle": 2 }, { "good": "tools", "perCycle": 1 } ], "outputs": [ { "good": "machinery", "perCycle": 1 }, { "good": "spare_parts", "perCycle": 2 } ] },
|
|
"cycleDays": 1, "capacityPerLevel": [40, 80, 140, 210, 320], "workersPerLevel": [40, 80, 150, 230, 320], "staffPerLevel": [6, 12, 24, 36, 50],
|
|
"storageDays": 60, "wearIntensity": 1.0, "footprint": "large",
|
|
"placement": { "needs": "town", "maxTownDistanceKm": 2.5, "minTownPopulation": 4000 },
|
|
"depletable": false, "era": 1850, "upgradeCost": 4000000, "spawnWeight": 0.4 }
|
|
]
|
|
}
|