aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_luaautomation/init.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
* | Unify globalstep, load and save of all components into single functionsorwell962017-04-29
|/
* Assert some variable types obtained from lua automationorwell962017-03-30
|
* Add passive component namingorwell962017-02-28
|
* Commit 1.6.2orwell962017-02-04
| | | | | | | | - Add some more stuff to API for LuaATC rails - Warn on strange events even if debug info is disabled - save atlatc on shutdown too - fix detector rails in unloaded chunks - do not fail silently in simple ATC rails
* Revert change to node pos hashes, and rewrite trackdb to use individual ↵orwell962017-02-03
| | | | | | | | coordinates The precision of integers was not sufficient for saving pos node hashes in most cases, leading to strange bugs. This fixes broken ATC rails, broken LuaAutomation stuff and trackdb on Windows. Probably also fixes trains randomly stopping.
* LuaAutomation: Add interrupt to the ingame API and implement initialization ↵orwell962017-02-02
| | | | code handling and env management
* 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