aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/active_common.lua
Commit message (Collapse)AuthorAge
* Add debug prints, modify LZB to fix problems with look_aheadorwell962021-02-10
|
* Make is_node_loaded() checks also for mesecon interactions and ↵orwell962021-02-04
| | | | digiline_send(), move on_updated_from_nodedb to advtrains table
* Discard get_node_or_nil() for area-loaded check and use either a ↵orwell962021-02-03
| | | | | | distance-based approach or minetest.is_block_active() if available See also https://github.com/minetest/minetest/pull/10897
* Make using the default tracks optional, even in submodsBlockhead2020-07-10
| | | | | | | | | | If advtrains_train_track is disabled, don't register any tracks that use its model like the LuaATC automation rail, point speed restriction rail, station/stop rail. For LuaATC, the definition for firing an event when a train runs over the rail needs to be moved into the common defs so that other mods like linetrack can use that as an interface.
* Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4Blockhead2020-01-04
|
* Fix scheduler crash (H#133)orwell962019-11-21
| | | | for loops don't work with manipulating i
* Add "discard all" function to scheduler events and use it to clear schedules ↵orwell962019-11-06
| | | | in luaatc rails
* Add lines scheduler for reliable railway-time scheduling(which is also safer ↵orwell962019-08-26
| | | | than the atlatc scheduler) and document new atlatc functions
* Fix node database ATC rail bugorwell962018-10-17
| | | | | | | 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.
* Address H#60, H#17, M#18 and M#7orwell962018-10-17
| | | | | | | duplicate "message" to "msg" make operation panel "cracky" remove inexistent dtime_s parameter add bones:bones to the list of not_blocking_trains nodes
* Fix H#66 (Hemiptera 66) crash on missing double_conn matchorwell962018-10-17
|
* Add digiline interface and is_passive function to LuaATCorwell962018-04-25
|
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20