Files
Rail_Enterprise/data/tiers.json
T
Claude 7cb98fa206 F1: economia headless, dati validati, generatore di mappa e salvataggi
- 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
2026-10-01 22:38:17 +00:00

23 lines
1.9 KiB
JSON

{
"$schema": "schema/tiers.schema.json",
"version": 1,
"ratingScale": [ "AAA", "AA", "A", "BBB", "BB", "B", "CCC", "CC", "C", "D" ],
"tiers": [
{ "level": 1, "name_it": "Compagnia locale", "name_en": "Local company",
"requirements": { "netWorth": 0, "connectedTownsOver": { "count": 0, "population": 0 }, "creditRating": "D" },
"unlocks": { "maxLoanFactor": 1.0, "crews": 2, "trading": false, "buyIndustry": false, "ipo": false, "hostileTakeover": false, "concessions": false } },
{ "level": 2, "name_it": "Compagnia regionale", "name_en": "Regional company",
"requirements": { "netWorth": 100000000, "connectedTownsOver": { "count": 3, "population": 1000 }, "creditRating": "BB" },
"unlocks": { "maxLoanFactor": 2.0, "crews": 4, "trading": true, "buyIndustry": false, "ipo": false, "hostileTakeover": false, "concessions": false } },
{ "level": 3, "name_it": "Compagnia nazionale", "name_en": "National company",
"requirements": { "netWorth": 500000000, "connectedTownsOver": { "count": 8, "population": 2000 }, "creditRating": "BBB" },
"unlocks": { "maxLoanFactor": 4.0, "crews": 8, "trading": true, "buyIndustry": true, "ipo": false, "hostileTakeover": false, "concessions": true } },
{ "level": 4, "name_it": "Grande compagnia", "name_en": "Major company",
"requirements": { "netWorth": 2000000000, "connectedTownsOver": { "count": 15, "population": 3000 }, "creditRating": "A" },
"unlocks": { "maxLoanFactor": 8.0, "crews": 12, "trading": true, "buyIndustry": true, "ipo": true, "hostileTakeover": false, "concessions": true } },
{ "level": 5, "name_it": "Impero ferroviario", "name_en": "Railway empire",
"requirements": { "netWorth": 8000000000, "connectedTownsOver": { "count": 25, "population": 5000 }, "creditRating": "AA" },
"unlocks": { "maxLoanFactor": 16.0, "crews": 20, "trading": true, "buyIndustry": true, "ipo": true, "hostileTakeover": true, "concessions": true } }
]
}