aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/operation_panel.lua
diff options
context:
space:
mode:
authorSingularis <singularis@volny.cz>2022-07-05 06:48:19 +0200
committerorwell <orwell@bleipb.de>2025-05-27 20:22:01 +0200
commitec223d6f3d5d1a7e1257c468d169a0353ec0963e (patch)
tree683c7a10e32e077b37ece37004442e8c66ebb7f8 /advtrains_luaautomation/operation_panel.lua
parent744aee2cdd319bc19e83cc9efb52a07ae6adbb06 (diff)
downloadadvtrains-ec223d6f3d5d1a7e1257c468d169a0353ec0963e.tar.gz
advtrains-ec223d6f3d5d1a7e1257c468d169a0353ec0963e.tar.bz2
advtrains-ec223d6f3d5d1a7e1257c468d169a0353ec0963e.zip
[advtrains]
- odebrán mód advtrains_luaautomation - lokalizace - zastaralá funkce getpos() nahrazena za get_pos()
Diffstat (limited to 'advtrains_luaautomation/operation_panel.lua')
-rw-r--r--advtrains_luaautomation/operation_panel.lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/advtrains_luaautomation/operation_panel.lua b/advtrains_luaautomation/operation_panel.lua
deleted file mode 100644
index bfbbda4..0000000
--- a/advtrains_luaautomation/operation_panel.lua
+++ /dev/null
@@ -1,28 +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 = "LuaATC operation panel",
- groups = {
- cracky = 1,
- save_in_at_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
- },
- digiline = {
- receptor = {},
- effector = {
- action = atlatc.active.on_digiline_receive
- },
- },
-})