Revert "Restore ABMs, LMBs seem not to work"

This reverts commit 700c412649.
This commit is contained in:
HybridDog 2016-04-24 19:11:44 +02:00
parent 700c412649
commit a3dfdd1fc2
3 changed files with 1 additions and 38 deletions

View File

@ -123,18 +123,8 @@ minetest.register_craft({
{"", "moremesecons_wireless:jammer_off", ""}} {"", "moremesecons_wireless:jammer_off", ""}}
}) })
--[[
minetest.register_lbm({ minetest.register_lbm({
name = "moremesecons_jammer:add_jammer", name = "moremesecons_jammer:add_jammer",
nodenames = {"moremesecons_jammer:jammer_on"}, nodenames = {"moremesecons_jammer:jammer_on"},
action = add_jammer action = add_jammer
}) })
]]
minetest.register_abm({
nodenames = {"moremesecons_jammer:jammer_on"},
interval = 5,
chance = 1,
catch_up = false,
action = add_jammer
})

View File

@ -83,18 +83,9 @@ minetest.register_node("moremesecons_teleporter:teleporter", {
end, end,
}) })
--[[
minetest.register_lbm({ minetest.register_lbm({
name = "moremesecons_teleporter:add_teleporter", name = "moremesecons_teleporter:add_teleporter",
nodenames = {"moremesecons_teleporter:teleporter"}, nodenames = {"moremesecons_teleporter:teleporter"},
action = register action = register
}) })
]]
minetest.register_abm({
nodenames = {"moremesecons_teleporter:teleporter"},
interval=5,
chance=1,
catch_up = false,
action = register
})

View File

@ -206,7 +206,6 @@ minetest.register_craft({
} }
}) })
--[[
minetest.register_lbm({ minetest.register_lbm({
name = "moremesecons_wireless:add_jammer", name = "moremesecons_wireless:add_jammer",
nodenames = {"moremesecons_wireless:jammer_on"}, nodenames = {"moremesecons_wireless:jammer_on"},
@ -218,20 +217,3 @@ minetest.register_lbm({
nodenames = {"moremesecons_wireless:wireless"}, nodenames = {"moremesecons_wireless:wireless"},
action = register_RID action = register_RID
}) })
]]
minetest.register_abm({
nodenames = {"moremesecons_wireless:jammer_on"},
interval = 5,
chance = 1,
catch_up = false,
action = add_jammer
})
minetest.register_abm({
nodenames = {"moremesecons_wireless:wireless"},
interval = 5,
chance = 1,
catch_up = false,
action = register_RID
})