F6: tutorial guidato della prima partita

Tutorial facoltativo che accompagna il giocatore dalla mappa alla prima
linea in servizio e poi a Mercato globale, Finanze e La tua scalata. È
un'esperienza del solo client: osserva ciò che il client già riceve
(entità della compagnia in ClientWorld, esiti riusciti dei comandi,
pannello aperto, camera, velocità, anteprime del tracciato), non invia
comandi e non decide regole; Core, Protocol, Server e salvataggi non
cambiano (ADR 0023).

- Copione in assets/tutorial/tutorial.json (19 passi, chiavi di testo
  per T(), elemento da evidenziare con ripiego, condizione osservabile),
  esportato con il gioco; testi italiani e inglesi in strings.csv.
- Logica pura senza Godot in scripts/Tutorial/Logic: copione con
  validazione, fatti, condizioni counter/panel/all/any, macchina a stati,
  avanzamento salvato; compilata anche dal progetto dei test (8 test).
- Riquadro non modale in basso a sinistra della mappa, contorno ambra
  animato, Avanti / Salta passo / Chiudi tutorial, F1 per nasconderlo o
  riaprirlo; nel menu la casella «Mostra il tutorial» (attiva alla prima
  partita) e l'opzione «Tutorial».
- Avanzamento per partita in user://settings.cfg, ripreso dopo il
  caricamento; il pilota automatico non crea il tutorial.

Refs #45.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-08 14:21:12 +01:00
1 parent 7eec322202
commit ebe4308e75
21 files changed
+1524 -8

No files matched your search

@@ -677,3 +677,52 @@ una leva non oltre {0} (rimborsando {1}),,leverage no higher than {0} (by repayi
Per il gradino {0} serve un punteggio di {1}: {2}.,,To reach {0} you need a score of {1}: {2}.
In bancarotta non si possono chiedere prestiti,,Loans cannot be requested while bankrupt
Fido disponibile {0} su {1}. Tasso di un nuovo prestito: {2} fisso (base {3} + rating {4} {5}) per {6} anni.,,Available credit {0} of {1}. Rate of a new loan: {2} fixed (base {3} + rating {4} {5}) for {6} years.
Avanti,,Next
Salta passo,,Skip step
Chiudi tutorial,,Close tutorial
Tutorial,,Tutorial
Riduci o espandi il riquadro del tutorial,,Collapse or expand the tutorial box
Passo {0} di {1},,Step {0} of {1}
Fine,,Finish
Fatto,,Done
Il tutorial si riapre con F1 o dal menu,,Reopen the tutorial with F1 or from the menu
Mostra il tutorial,,Show the tutorial
Guida passo per passo alla prima linea: si chiude quando vuoi e si riapre con F1,,Step-by-step guide to your first line: close it whenever you like and reopen it with F1
Partita locale con il tutorial dal primo passo,,Local game with the tutorial from the first step
Benvenuto in Rail Enterprise,,Welcome to Rail Enterprise
"Guidi una compagnia ferroviaria: costruisci binari e stazioni, trasporti merci e pendolari e fai crescere il patrimonio fino a dominare il mercato. Questo tutorial ti accompagna nella prima linea; puoi saltare un passo o chiuderlo quando vuoi.",,"You run a railway company: build track and stations, carry goods and commuters and grow your net worth until you dominate the market. This tutorial walks you through your first line; you can skip a step or close it whenever you like."
Muovi la mappa,,Move the map
Trascina con il tasto destro (o usa WASD e le frecce) per spostarti e gira la rotella per lo zoom. Cerca una città e un'industria vicine: saranno le due stazioni della prima linea.,,Drag with the right mouse button (or use WASD and the arrow keys) to move and turn the wheel to zoom. Look for a town and an industry close to each other: they will be the two stations of your first line.
Il tempo,,Time
"In alto scegli la velocità del gioco: II mette in pausa, 1× – 8× accelerano. Anche la barra spaziatrice mette in pausa e riprende. Cambia la velocità per proseguire.",,"At the top you choose the game speed: II pauses, 1× – 8× speed it up. The space bar also pauses and resumes. Change the speed to continue."
Costruisci due stazioni,,Build two stations
Apri lo strumento Stazione e fai clic sulla mappa vicino a un'industria e poi vicino a una città. Il cerchio è il bacino di utenza: le merci e i passeggeri arrivano solo da lì.,,Open the Station tool and click the map near an industry and then near a town. The circle is the catchment area: goods and passengers only come from inside it.
Costruisci un deposito,,Build a depot
"Con lo strumento Deposito posa un deposito vicino a una delle stazioni. Nel deposito si comprano i veicoli, si compongono i treni e si fanno le manutenzioni.",,"With the Depot tool place a depot near one of the stations. In the depot you buy vehicles, compose trains and carry out maintenance."
Lo strumento Binari,,The Track tool
Apri lo strumento Binari: scegli la classe del binario e se ammettere ponti e gallerie.,,Open the Track tool: choose the track class and whether to allow bridges and tunnels.
Guarda il profilo e le opere,,Look at the profile and the structures
"Fai clic sulla prima stazione e muovi il mouse verso la seconda: il profilo mostra il terreno e la quota del binario. Sotto compaiono rilevati, trincee, ponti e gallerie con lunghezza, pendenza, costo e giorni di cantiere. Se attraversi un fiume vedrai il ponte.",,"Click the first station and move the mouse towards the second: the profile shows the terrain and the height of the track. Below it you see embankments, cuttings, bridges and tunnels with length, gradient, cost and days of work. If you cross a river you will see the bridge."
Costruisci il binario,,Build the track
"Aggiungi punti con altri clic per evitare salite ripide, poi premi Costruisci (o Invio). Il costo viene addebitato subito e il cantiere parte.",,"Add points with more clicks to avoid steep climbs, then press Build (or Enter). The cost is charged at once and construction starts."
Collega il deposito,,Connect the depot
"Il deposito deve essere raccordato alla linea: traccia un breve binario dal deposito alla stazione più vicina. Se è già collegato, premi Salta passo.",,"The depot must be connected to the line: lay a short track from the depot to the nearest station. If it is already connected, press Skip step."
Attendi i cantieri,,Wait for construction
I cantieri richiedono giorni di gioco: accelera il tempo e osserva il tratteggio dei lavori che diventa binario.,,Construction takes game days: speed up time and watch the dashed works turn into track.
Compra una locomotiva,,Buy a locomotive
"Apri Treni, scegli il deposito e una locomotiva dal catalogo, poi premi Compra veicoli.",,"Open Trains, choose the depot and a locomotive from the catalogue, then press Buy vehicles."
Compra i carri,,Buy the wagons
Ora compra qualche carro per la merce dell'industria (o carrozze per i pendolari): ogni carro accetta solo alcune merci.,,Now buy a few wagons for the industry's goods (or coaches for commuters): each wagon only accepts certain goods.
Componi il treno,,Compose the train
"Seleziona nell'elenco del deposito la locomotiva e i carri, nell'ordine in cui li vuoi, dai un nome al treno e premi Componi.",,"In the depot list select the locomotive and the wagons in the order you want, name the train and press Compose."
Crea una linea,,Create a line
Apri Linee e fai clic sulle due stazioni in ordine: sono le fermate. Scegli nome e colore e premi Crea linea.,,Open Lines and click the two stations in order: they are the stops. Choose a name and a colour and press Create line.
Assegna il treno alla linea,,Assign the train to the line
"Torna in Treni, seleziona il treno, scegli la linea e premi Assegna: il treno esce dal deposito e comincia il servizio.",,"Go back to Trains, select the train, choose the line and press Assign: the train leaves the depot and starts service."
Il Mercato globale,,The Global market
"Apri il Mercato: prezzi, offerta e domanda di ogni bene, la previsione e dove conviene vendere. Ti dice quali linee rendono di più.",,"Open the Market: prices, supply and demand of every good, the forecast and where it pays to sell. It tells you which lines earn the most."
Le Finanze,,Finances
"Apri le Finanze: conto economico per voce, rating e prestiti. Un prestito ben speso costruisce linee; troppi debiti abbassano il rating e alzano il tasso.",,"Open Finances: income statement by item, rating and loans. A well-spent loan builds lines; too much debt lowers the rating and raises the rate."
"Apri la Scalata (o fai clic sul livello in alto): i livelli della compagnia, che cosa sbloccano e che cosa manca per salire.",,"Open the Climb (or click the tier at the top): the company tiers, what they unlock and what is missing to move up."
Qualche consiglio,,A few tips
Collega industrie che producono a chi consuma la loro merce e porta i lavoratori dalle città alle industrie. Tieni d'occhio le Officine: un treno trascurato si guasta. Controlla cassa e rating prima di indebitarti. Buon viaggio! Puoi riaprire il tutorial con F1.,,Connect producing industries to those that consume their goods and bring workers from towns to industries. Keep an eye on the Workshops: a neglected train breaks down. Check cash and rating before borrowing. Have a good journey! You can reopen the tutorial with F1.
1 keys it en
677 Per il gradino {0} serve un punteggio di {1}: {2}. To reach {0} you need a score of {1}: {2}.
678 In bancarotta non si possono chiedere prestiti Loans cannot be requested while bankrupt
679 Fido disponibile {0} su {1}. Tasso di un nuovo prestito: {2} fisso (base {3} + rating {4} {5}) per {6} anni. Available credit {0} of {1}. Rate of a new loan: {2} fixed (base {3} + rating {4} {5}) for {6} years.
680 Avanti Next
681 Salta passo Skip step
682 Chiudi tutorial Close tutorial
683 Tutorial Tutorial
684 Riduci o espandi il riquadro del tutorial Collapse or expand the tutorial box
685 Passo {0} di {1} Step {0} of {1}
686 Fine Finish
687 Fatto Done
688 Il tutorial si riapre con F1 o dal menu Reopen the tutorial with F1 or from the menu
689 Mostra il tutorial Show the tutorial
690 Guida passo per passo alla prima linea: si chiude quando vuoi e si riapre con F1 Step-by-step guide to your first line: close it whenever you like and reopen it with F1
691 Partita locale con il tutorial dal primo passo Local game with the tutorial from the first step
692 Benvenuto in Rail Enterprise Welcome to Rail Enterprise
693 Guidi una compagnia ferroviaria: costruisci binari e stazioni, trasporti merci e pendolari e fai crescere il patrimonio fino a dominare il mercato. Questo tutorial ti accompagna nella prima linea; puoi saltare un passo o chiuderlo quando vuoi. You run a railway company: build track and stations, carry goods and commuters and grow your net worth until you dominate the market. This tutorial walks you through your first line; you can skip a step or close it whenever you like.
694 Muovi la mappa Move the map
695 Trascina con il tasto destro (o usa WASD e le frecce) per spostarti e gira la rotella per lo zoom. Cerca una città e un'industria vicine: saranno le due stazioni della prima linea. Drag with the right mouse button (or use WASD and the arrow keys) to move and turn the wheel to zoom. Look for a town and an industry close to each other: they will be the two stations of your first line.
696 Il tempo Time
697 In alto scegli la velocità del gioco: II mette in pausa, 1× – 8× accelerano. Anche la barra spaziatrice mette in pausa e riprende. Cambia la velocità per proseguire. At the top you choose the game speed: II pauses, 1× – 8× speed it up. The space bar also pauses and resumes. Change the speed to continue.
698 Costruisci due stazioni Build two stations
699 Apri lo strumento Stazione e fai clic sulla mappa vicino a un'industria e poi vicino a una città. Il cerchio è il bacino di utenza: le merci e i passeggeri arrivano solo da lì. Open the Station tool and click the map near an industry and then near a town. The circle is the catchment area: goods and passengers only come from inside it.
700 Costruisci un deposito Build a depot
701 Con lo strumento Deposito posa un deposito vicino a una delle stazioni. Nel deposito si comprano i veicoli, si compongono i treni e si fanno le manutenzioni. With the Depot tool place a depot near one of the stations. In the depot you buy vehicles, compose trains and carry out maintenance.
702 Lo strumento Binari The Track tool
703 Apri lo strumento Binari: scegli la classe del binario e se ammettere ponti e gallerie. Open the Track tool: choose the track class and whether to allow bridges and tunnels.
704 Guarda il profilo e le opere Look at the profile and the structures
705 Fai clic sulla prima stazione e muovi il mouse verso la seconda: il profilo mostra il terreno e la quota del binario. Sotto compaiono rilevati, trincee, ponti e gallerie con lunghezza, pendenza, costo e giorni di cantiere. Se attraversi un fiume vedrai il ponte. Click the first station and move the mouse towards the second: the profile shows the terrain and the height of the track. Below it you see embankments, cuttings, bridges and tunnels with length, gradient, cost and days of work. If you cross a river you will see the bridge.
706 Costruisci il binario Build the track
707 Aggiungi punti con altri clic per evitare salite ripide, poi premi Costruisci (o Invio). Il costo viene addebitato subito e il cantiere parte. Add points with more clicks to avoid steep climbs, then press Build (or Enter). The cost is charged at once and construction starts.
708 Collega il deposito Connect the depot
709 Il deposito deve essere raccordato alla linea: traccia un breve binario dal deposito alla stazione più vicina. Se è già collegato, premi Salta passo. The depot must be connected to the line: lay a short track from the depot to the nearest station. If it is already connected, press Skip step.
710 Attendi i cantieri Wait for construction
711 I cantieri richiedono giorni di gioco: accelera il tempo e osserva il tratteggio dei lavori che diventa binario. Construction takes game days: speed up time and watch the dashed works turn into track.
712 Compra una locomotiva Buy a locomotive
713 Apri Treni, scegli il deposito e una locomotiva dal catalogo, poi premi Compra veicoli. Open Trains, choose the depot and a locomotive from the catalogue, then press Buy vehicles.
714 Compra i carri Buy the wagons
715 Ora compra qualche carro per la merce dell'industria (o carrozze per i pendolari): ogni carro accetta solo alcune merci. Now buy a few wagons for the industry's goods (or coaches for commuters): each wagon only accepts certain goods.
716 Componi il treno Compose the train
717 Seleziona nell'elenco del deposito la locomotiva e i carri, nell'ordine in cui li vuoi, dai un nome al treno e premi Componi. In the depot list select the locomotive and the wagons in the order you want, name the train and press Compose.
718 Crea una linea Create a line
719 Apri Linee e fai clic sulle due stazioni in ordine: sono le fermate. Scegli nome e colore e premi Crea linea. Open Lines and click the two stations in order: they are the stops. Choose a name and a colour and press Create line.
720 Assegna il treno alla linea Assign the train to the line
721 Torna in Treni, seleziona il treno, scegli la linea e premi Assegna: il treno esce dal deposito e comincia il servizio. Go back to Trains, select the train, choose the line and press Assign: the train leaves the depot and starts service.
722 Il Mercato globale The Global market
723 Apri il Mercato: prezzi, offerta e domanda di ogni bene, la previsione e dove conviene vendere. Ti dice quali linee rendono di più. Open the Market: prices, supply and demand of every good, the forecast and where it pays to sell. It tells you which lines earn the most.
724 Le Finanze Finances
725 Apri le Finanze: conto economico per voce, rating e prestiti. Un prestito ben speso costruisce linee; troppi debiti abbassano il rating e alzano il tasso. Open Finances: income statement by item, rating and loans. A well-spent loan builds lines; too much debt lowers the rating and raises the rate.
726 Apri la Scalata (o fai clic sul livello in alto): i livelli della compagnia, che cosa sbloccano e che cosa manca per salire. Open the Climb (or click the tier at the top): the company tiers, what they unlock and what is missing to move up.
727 Qualche consiglio A few tips
728 Collega industrie che producono a chi consuma la loro merce e porta i lavoratori dalle città alle industrie. Tieni d'occhio le Officine: un treno trascurato si guasta. Controlla cassa e rating prima di indebitarti. Buon viaggio! Puoi riaprire il tutorial con F1. Connect producing industries to those that consume their goods and bring workers from towns to industries. Keep an eye on the Workshops: a neglected train breaks down. Check cash and rating before borrowing. Have a good journey! You can reopen the tutorial with F1.