aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_luaautomation/interrupt.lua
Commit message (Collapse)AuthorAge
* Merge nocrash branch into master and merging it with the unified functions ↵orwell962017-04-29
|\ | | | | | | | | | | so that restoring works how it should Also fix minor bugs and an occasional crash with couples
| * Add pcall wrapper to prevent server crashes when advtrains throws an errororwell962017-04-29
| | | | | | | | | | Instead, read save files again and restore state before the crash Rebased to latest commit
* | Unify globalstep, load and save of all components into single functionsorwell962017-04-29
|/
* Fix LuaAtc Interrupt savingorwell962017-02-05
| | | | The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts.
* LuaAutomation - Basic component implementationorwell962017-02-02
Implements the base code for LuaAutomation, an ATC rail and a punch-operated 'operation panel' as well as interface for passive components. Changes in advtrains code where neccessary. Supported passive components are light signals, switches and mesecon switches