- 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
40 lines
2.1 KiB
JSON
40 lines
2.1 KiB
JSON
{
|
|
"$schema": "schema/eras.schema.json",
|
|
"version": 1,
|
|
"eras": [
|
|
{ "id": "steam", "name_it": "Era del vapore", "name_en": "Steam era", "from": 1850 },
|
|
{ "id": "diesel", "name_it": "Era diesel", "name_en": "Diesel era", "from": 1925 },
|
|
{ "id": "electric", "name_it": "Era elettrica", "name_en": "Electric era", "from": 1950 },
|
|
{ "id": "highspeed", "name_it": "Alta velocità", "name_en": "High speed", "from": 1990 }
|
|
],
|
|
"tractions": [
|
|
{ "id": "steam", "name_it": "Vapore", "from": 1850, "needsElectrification": false },
|
|
{ "id": "diesel", "name_it": "Diesel", "from": 1925, "needsElectrification": false },
|
|
{ "id": "electric", "name_it": "Elettrica", "from": 1950, "needsElectrification": true },
|
|
{ "id": "highspeed", "name_it": "Alta velocità", "from": 1990, "needsElectrification": true }
|
|
],
|
|
"bridgeTypes": [
|
|
{ "id": "wood", "name_it": "Legno", "from": 1850, "maxSpanM": 60, "costMultiplier": 1.0, "lifeYears": 40 },
|
|
{ "id": "iron", "name_it": "Ferro", "from": 1870, "maxSpanM": 150, "costMultiplier": 1.25, "lifeYears": 50 },
|
|
{ "id": "steel", "name_it": "Acciaio", "from": 1900, "maxSpanM": 400, "costMultiplier": 1.5, "lifeYears": 60 },
|
|
{ "id": "concrete", "name_it": "Cemento armato", "from": 1950, "maxSpanM": 800, "costMultiplier": 1.4, "lifeYears": 70 }
|
|
],
|
|
"tunnelLimits": [
|
|
{ "from": 1850, "maxLengthM": 1000 },
|
|
{ "from": 1900, "maxLengthM": 5000 },
|
|
{ "from": 1950, "maxLengthM": 15000 }
|
|
],
|
|
"trackClasses": [
|
|
{ "id": "c60", "name_it": "Ordinario 60 km/h", "speedKmh": 60, "from": 1850 },
|
|
{ "id": "c100", "name_it": "Rinforzato 100 km/h", "speedKmh": 100, "from": 1875 },
|
|
{ "id": "c160", "name_it": "Direttissimo 160 km/h", "speedKmh": 160, "from": 1935 },
|
|
{ "id": "c250", "name_it": "Alta velocità 250 km/h", "speedKmh": 250, "from": 1990 }
|
|
],
|
|
"signals": [
|
|
{ "id": "semaphore", "name_it": "Semaforo ad ala", "from": 1850, "price": 80000 },
|
|
{ "id": "light", "name_it": "Segnale luminoso", "from": 1930, "price": 150000 },
|
|
{ "id": "cab", "name_it": "Segnalamento in cabina", "from": 1990, "price": 400000 }
|
|
],
|
|
"electrificationFrom": 1950
|
|
}
|