summaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
AgeCommit message (Collapse)Author
2018-10-17Fix node database ATC rail bugorwell96
After successfully registering newly-placed ATC rails in the nodedb, the rail's after_place_node() callback (local apn_func()) immediately cleared it again by passing a "node" object that was actually a player object and thus had no "name" or "param2" to ndb.update(), which it handled how it should not in this situation. Since those ndb.update calls were unnecessary anyways, I removed them completely.
2018-04-25Add digiline interface and is_passive function to LuaATCorwell96
2017-12-18Rewrite rail connection system...orwell96
...to support an arbitrary number of connections for rails, which leads to these new features: - switches now get recognized by the trackworker correctly - ability to add real rail crosses During this, I also rewrote the rail registering system and the conway function (important part of path prediction) Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own (possibly breaks advcarts)
2017-10-25Add missing documentation for set_lineorwell96
2017-10-25Implement multi-occupation in detector.on_node table to finally fix collisionsorwell96
2017-10-23Set wagon line numberGabriel PĂ©rez-Cerezo
2017-09-20Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy