diff options
author | orwell96 <orwell@bleipb.de> | 2018-04-25 17:14:03 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-04-25 17:14:03 +0200 |
commit | 1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720 (patch) | |
tree | c4119c0cee9d2aaa0d6daf462391ea519e8345d1 /advtrains_luaautomation/atc_rail.lua | |
parent | 8b576357ef1d2346e9af112e115ac92a5f4d222d (diff) | |
download | advtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.tar.gz advtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.tar.bz2 advtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.zip |
Add digiline interface and is_passive function to LuaATC
Diffstat (limited to 'advtrains_luaautomation/atc_rail.lua')
-rw-r--r-- | advtrains_luaautomation/atc_rail.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/advtrains_luaautomation/atc_rail.lua b/advtrains_luaautomation/atc_rail.lua index 3313401..88c9ee9 100644 --- a/advtrains_luaautomation/atc_rail.lua +++ b/advtrains_luaautomation/atc_rail.lua @@ -119,9 +119,15 @@ advtrains.register_tracks("default", { }, luaautomation = { fire_event=r.fire_event - } + }, + digiline = { + receptor = {}, + effector = { + action = atlatc.active.on_digiline_receive + }, + }, } - end + end, }, advtrains.trackpresets.t_30deg_straightonly) |