- 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
46 lines
3.8 KiB
JSON
46 lines
3.8 KiB
JSON
{
|
|
"$schema": "schema/goods.schema.json",
|
|
"version": 1,
|
|
"goods": [
|
|
{ "id": "coal", "name_it": "Carbone", "name_en": "Coal", "category": "bulk", "unit": "t", "wagon": "hopper",
|
|
"basePrice": 3800, "elasticity": 0.6, "decayDaysAtStation": 60, "era": 1850,
|
|
"town": { "category": "fuel", "demandPerThousand": 0.12, "untilYear": 1960 } },
|
|
{ "id": "iron_ore", "name_it": "Minerale di ferro", "name_en": "Iron ore", "category": "bulk", "unit": "t", "wagon": "hopper",
|
|
"basePrice": 4200, "elasticity": 0.5, "decayDaysAtStation": 90, "era": 1850 },
|
|
{ "id": "stone", "name_it": "Pietra", "name_en": "Stone", "category": "bulk", "unit": "t", "wagon": "hopper",
|
|
"basePrice": 2500, "elasticity": 0.4, "decayDaysAtStation": 120, "era": 1850 },
|
|
{ "id": "crude_oil", "name_it": "Petrolio", "name_en": "Crude oil", "category": "liquid", "unit": "t", "wagon": "tank",
|
|
"basePrice": 6500, "elasticity": 0.7, "decayDaysAtStation": 60, "era": 1860 },
|
|
{ "id": "logs", "name_it": "Tronchi", "name_en": "Logs", "category": "bulk", "unit": "t", "wagon": "flat",
|
|
"basePrice": 3000, "elasticity": 0.5, "decayDaysAtStation": 45, "era": 1850 },
|
|
{ "id": "grain", "name_it": "Grano", "name_en": "Grain", "category": "bulk", "unit": "t", "wagon": "hopper",
|
|
"basePrice": 5000, "elasticity": 0.6, "decayDaysAtStation": 30, "era": 1850 },
|
|
{ "id": "livestock", "name_it": "Bestiame", "name_en": "Livestock", "category": "perishable", "unit": "capi", "wagon": "box",
|
|
"basePrice": 9000, "elasticity": 0.7, "decayDaysAtStation": 8, "era": 1850 },
|
|
{ "id": "lumber", "name_it": "Legname", "name_en": "Lumber", "category": "general", "unit": "t", "wagon": "flat",
|
|
"basePrice": 8000, "elasticity": 0.6, "decayDaysAtStation": 90, "era": 1850,
|
|
"town": { "category": "construction", "demandPerThousand": 0.10 } },
|
|
{ "id": "steel", "name_it": "Acciaio", "name_en": "Steel", "category": "general", "unit": "t", "wagon": "flat",
|
|
"basePrice": 16000, "elasticity": 0.8, "decayDaysAtStation": 120, "era": 1850 },
|
|
{ "id": "food", "name_it": "Alimentari", "name_en": "Food", "category": "perishable", "unit": "t", "wagon": "box",
|
|
"basePrice": 12000, "elasticity": 0.3, "decayDaysAtStation": 10, "era": 1850,
|
|
"town": { "category": "food", "demandPerThousand": 0.45 } },
|
|
{ "id": "fuel", "name_it": "Carburante", "name_en": "Fuel", "category": "liquid", "unit": "t", "wagon": "tank",
|
|
"basePrice": 16000, "elasticity": 0.5, "decayDaysAtStation": 90, "era": 1870,
|
|
"town": { "category": "fuel", "demandPerThousand": 0.12 } },
|
|
{ "id": "building_materials", "name_it": "Materiali edili", "name_en": "Building materials", "category": "general", "unit": "t", "wagon": "flat",
|
|
"basePrice": 6000, "elasticity": 0.7, "decayDaysAtStation": 120, "era": 1850,
|
|
"town": { "category": "construction", "demandPerThousand": 0.18 } },
|
|
{ "id": "tools", "name_it": "Attrezzi", "name_en": "Tools", "category": "general", "unit": "casse", "wagon": "box",
|
|
"basePrice": 22000, "elasticity": 0.8, "decayDaysAtStation": 120, "era": 1850,
|
|
"town": { "category": "goods", "demandPerThousand": 0.06 } },
|
|
{ "id": "goods", "name_it": "Merci varie", "name_en": "Goods", "category": "general", "unit": "casse", "wagon": "box",
|
|
"basePrice": 20000, "elasticity": 0.9, "decayDaysAtStation": 60, "era": 1850,
|
|
"town": { "category": "goods", "demandPerThousand": 0.20 } },
|
|
{ "id": "machinery", "name_it": "Macchinari", "name_en": "Machinery", "category": "general", "unit": "pz", "wagon": "flat",
|
|
"basePrice": 45000, "elasticity": 0.6, "decayDaysAtStation": 180, "era": 1850, "service": true },
|
|
{ "id": "spare_parts", "name_it": "Ricambi", "name_en": "Spare parts", "category": "general", "unit": "casse", "wagon": "box",
|
|
"basePrice": 30000, "elasticity": 0.5, "decayDaysAtStation": 180, "era": 1850, "service": true }
|
|
]
|
|
}
|