Hi everyone,
Traintastic includes a Lua scripting engine to let you customize and automate parts of your layout. The possibilities are wide open — from simple helpers to full operating sessions.
I’d like to hear your ideas: what would you like to automate with Lua scripting?
Some examples to get the conversation started:
- Run a train on a schedule (depart, wait at stations, arrive on time)
- Create random events (e.g. delays, track maintenance, surprise shunting tasks)
- Trigger sounds or announcements when a train passes a certain point
- Generate cargo and manage its transport between industries
- Simulate passenger services with station stops and timetables
What are your “dream scripts”?
They can be small helpers or big automation projects — everything from a single line of logic to a full dispatcher system.
Even if you don’t plan to write Lua scripts yourself, sharing what you’d like to automate helps shape the Lua scripting engine and example scripts we provide.