mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2025-01-09 17:30:24 +01:00
Restore ABMs, LMBs seem not to work
This commit is contained in:
parent
f6b3ddb487
commit
700c412649
@ -123,8 +123,18 @@ 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
|
||||||
|
})
|
||||||
|
@ -83,9 +83,18 @@ 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
|
||||||
|
})
|
||||||
|
@ -206,6 +206,7 @@ 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"},
|
||||||
@ -217,3 +218,20 @@ 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
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user