F6: ere e obsolescenza dei veicoli
La tecnologia avanzava solo come filtro d'acquisto: nessuna notizia del cambio d'era, nessun modello «superato», due formule diverse per valore di libro e rivendita e nessun modo di sostituire i veicoli di un treno. Ora rinnovare la flotta è una scelta con costi e benefici visibili. - vehicles.json: successore per modello (validato: stessa categoria, introdotto dopo) e parametri di obsolescenza; Obsolescence, senza stato, ricava produzione, superato, successore consigliato, curva del valore (gradino all'arrivo del successore, poi ammortamento più rapido) e fattore di manutenzione: una sola fonte per patrimonio, SellVehicle, rinnovo e quadri. - Rinnovo come intervento «renewal» di maintenance.json prenotato con ScheduleService: in officina i veicoli superati si vendono e il successore prende il loro posto. Nessun comando nuovo. - EraSystem: il 1° gennaio la notizia dell'era e delle novità dell'anno lette dai dati, annotata nella Cronaca, una volta sola anche attraverso un salvataggio. - Nessuno stato nuovo, quindi il salvataggio resta alla versione 7. - IA: modelli dei progetti aggiornati quando escono di produzione e rinnovo mensile con una regola in ai.json. - Protocollo: DetailKind.Fleet (10) e FleetReport (136); client: catalogo senza i fuori produzione e con i superati segnati, rivendita, Vendi e Rinnova nel pannello Treni, sezione «Rinnovo della flotta» in Officine. - ADR 0020, STATE, ARCHITECTURE e PROTOCOL aggiornati; ErasTests (11). Accettazione F4 e F5 invariate. Refs #41. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8b3a9bdb9c
commit
f7c286bf1d
39 files changed
+1648
-53
No files matched your search
+6
-5
@@ -1,17 +1,18 @@
|
||||
{
|
||||
"$schema": "schema/vehicles.schema.json",
|
||||
"version": 1,
|
||||
"obsolescence": { "immediateValueLoss": 0.15, "depreciationSpeed": 2.0, "maintenanceCostFactor": 1.5 },
|
||||
"vehicles": [
|
||||
{ "id": "loco_steam_1850", "kind": "locomotive", "name_it": "Ardita 2-6-0", "name_en": "Ardita 2-6-0",
|
||||
"eraFrom": 1850, "eraTo": 1905, "powerKw": 300, "tractiveEffortKn": 70, "maxSpeedKmh": 60, "massT": 38, "lengthM": 16,
|
||||
"eraFrom": 1850, "eraTo": 1905, "successor": "loco_steam_1878", "powerKw": 300, "tractiveEffortKn": 70, "maxSpeedKmh": 60, "massT": 38, "lengthM": 16,
|
||||
"price": 1800000, "runningCostPerYear": 240000, "lifeYears": 25, "traction": "steam",
|
||||
"components": { "engine": 1.0, "wheelsets": 0.8, "brakes": 1.0, "electrics": 0.6 } },
|
||||
{ "id": "loco_steam_1878", "kind": "locomotive", "name_it": "Vittoria 2-8-0", "name_en": "Vittoria 2-8-0",
|
||||
"eraFrom": 1878, "eraTo": 1935, "powerKw": 650, "tractiveEffortKn": 110, "maxSpeedKmh": 70, "massT": 62, "lengthM": 18,
|
||||
"eraFrom": 1878, "eraTo": 1935, "successor": "loco_steam_1902", "powerKw": 650, "tractiveEffortKn": 110, "maxSpeedKmh": 70, "massT": 62, "lengthM": 18,
|
||||
"price": 3200000, "runningCostPerYear": 380000, "lifeYears": 30, "traction": "steam",
|
||||
"components": { "engine": 1.0, "wheelsets": 0.9, "brakes": 1.0, "electrics": 0.6 } },
|
||||
{ "id": "loco_steam_1902", "kind": "locomotive", "name_it": "Freccia 4-6-2", "name_en": "Freccia 4-6-2",
|
||||
"eraFrom": 1902, "eraTo": 1945, "powerKw": 1150, "tractiveEffortKn": 95, "maxSpeedKmh": 110, "massT": 88, "lengthM": 21,
|
||||
"eraFrom": 1902, "eraTo": 1945, "successor": "loco_diesel_1925", "powerKw": 1150, "tractiveEffortKn": 95, "maxSpeedKmh": 110, "massT": 88, "lengthM": 21,
|
||||
"price": 5600000, "runningCostPerYear": 560000, "lifeYears": 30, "traction": "steam",
|
||||
"components": { "engine": 1.1, "wheelsets": 1.0, "brakes": 1.0, "electrics": 0.6 } },
|
||||
{ "id": "loco_diesel_1925", "kind": "locomotive", "name_it": "Aquila D1", "name_en": "Aquila D1",
|
||||
@@ -19,7 +20,7 @@
|
||||
"price": 7500000, "runningCostPerYear": 420000, "lifeYears": 30, "traction": "diesel",
|
||||
"components": { "engine": 0.9, "wheelsets": 0.8, "brakes": 0.9, "electrics": 0.9 } },
|
||||
{ "id": "loco_electric_1950", "kind": "locomotive", "name_it": "Saetta E50", "name_en": "Saetta E50",
|
||||
"eraFrom": 1950, "eraTo": 2010, "powerKw": 3200, "tractiveEffortKn": 260, "maxSpeedKmh": 160, "massT": 84, "lengthM": 18,
|
||||
"eraFrom": 1950, "eraTo": 2010, "successor": "loco_highspeed_1990", "powerKw": 3200, "tractiveEffortKn": 260, "maxSpeedKmh": 160, "massT": 84, "lengthM": 18,
|
||||
"price": 14000000, "runningCostPerYear": 520000, "lifeYears": 35, "traction": "electric",
|
||||
"components": { "engine": 0.7, "wheelsets": 0.9, "brakes": 0.9, "electrics": 1.2 } },
|
||||
{ "id": "loco_highspeed_1990", "kind": "locomotive", "name_it": "Lampo AV", "name_en": "Lampo HS",
|
||||
@@ -43,7 +44,7 @@
|
||||
"capacity": 16, "wagonType": "box", "goods": [ "food", "goods", "tools", "spare_parts", "livestock", "grain" ],
|
||||
"components": { "axles": 1.0, "brakes": 1.0, "body": 1.0 } },
|
||||
{ "id": "coach_worker", "kind": "coach", "name_it": "Carrozza operai", "name_en": "Workers' coach",
|
||||
"eraFrom": 1850, "maxSpeedKmh": 100, "massT": 18, "lengthM": 14, "price": 220000, "runningCostPerYear": 20000, "lifeYears": 40,
|
||||
"eraFrom": 1850, "successor": "coach_modern", "maxSpeedKmh": 100, "massT": 18, "lengthM": 14, "price": 220000, "runningCostPerYear": 20000, "lifeYears": 40,
|
||||
"paxCapacity": 60, "class": "worker",
|
||||
"components": { "axles": 1.0, "brakes": 1.0, "body": 1.0 } },
|
||||
{ "id": "coach_staff", "kind": "coach", "name_it": "Carrozza tecnici", "name_en": "Staff coach",
|
||||
|
||||
Reference in new issue
Block a user