From 1feae7a1ea35fd8f4f3495d1bf65f8180bb0f720 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Wed, 25 Apr 2018 17:14:03 +0200 Subject: Add digiline interface and is_passive function to LuaATC --- advtrains_luaautomation/operation_panel.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'advtrains_luaautomation/operation_panel.lua') 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 + }, + }, }) -- cgit v1.2.3