diff options
Diffstat (limited to 'advtrains/advtrains_luaautomation/operation_panel.lua')
-rw-r--r-- | advtrains/advtrains_luaautomation/operation_panel.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/advtrains/advtrains_luaautomation/operation_panel.lua b/advtrains/advtrains_luaautomation/operation_panel.lua deleted file mode 100644 index 1d585f7..0000000 --- a/advtrains/advtrains_luaautomation/operation_panel.lua +++ /dev/null @@ -1,23 +0,0 @@ - -local function on_punch(pos, player) - atlatc.interrupt.add(0, pos, {type="punch", punch=true}) -end - - -minetest.register_node("advtrains_luaautomation:oppanel", { - drawtype = "normal", - tiles={"atlatc_oppanel.png"}, - description = "LuaAutomation operation panel", - groups = { - choppy = 1, - save_in_nodedb=1, - }, - after_place_node = atlatc.active.after_place_node, - after_dig_node = atlatc.active.after_dig_node, - on_receive_fields = atlatc.active.on_receive_fields, - on_punch = on_punch, - luaautomation = { - fire_event=atlatc.active.run_in_env - } - -}) |