aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/operation_panel.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-04-25 17:14:03 +0200
committerorwell96 <orwell@bleipb.de>2018-04-25 17:14:03 +0200
commit1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720 (patch)
treec4119c0cee9d2aaa0d6daf462391ea519e8345d1 /advtrains_luaautomation/operation_panel.lua
parent8b576357ef1d2346e9af112e115ac92a5f4d222d (diff)
downloadadvtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.tar.gz
advtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.tar.bz2
advtrains-1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720.zip
Add digiline interface and is_passive function to LuaATC
Diffstat (limited to 'advtrains_luaautomation/operation_panel.lua')
-rw-r--r--advtrains_luaautomation/operation_panel.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/advtrains_luaautomation/operation_panel.lua b/advtrains_luaautomation/operation_panel.lua
index 1d585f7..eb7201c 100644
--- a/advtrains_luaautomation/operation_panel.lua
+++ b/advtrains_luaautomation/operation_panel.lua
@@ -18,6 +18,11 @@ minetest.register_node("advtrains_luaautomation:oppanel", {
on_punch = on_punch,
luaautomation = {
fire_event=atlatc.active.run_in_env
- }
-
+ },
+ digiline = {
+ receptor = {},
+ effector = {
+ action = atlatc.active.on_digiline_receive
+ },
+ },
})