mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2025-01-09 01:10:22 +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", ""}}
|
||||
})
|
||||
|
||||
--[[
|
||||
minetest.register_lbm({
|
||||
name = "moremesecons_jammer:add_jammer",
|
||||
nodenames = {"moremesecons_jammer:jammer_on"},
|
||||
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,
|
||||
})
|
||||
|
||||
|
||||
--[[
|
||||
minetest.register_lbm({
|
||||
name = "moremesecons_teleporter:add_teleporter",
|
||||
nodenames = {"moremesecons_teleporter:teleporter"},
|
||||
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({
|
||||
name = "moremesecons_wireless:add_jammer",
|
||||
nodenames = {"moremesecons_wireless:jammer_on"},
|
||||
@ -217,3 +218,20 @@ minetest.register_lbm({
|
||||
nodenames = {"moremesecons_wireless:wireless"},
|
||||
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