mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-10 20:30:21 +01:00
Microcontroller craft fallbacks for detectors (#390)
Register both luacontroller and microcontroller variations of detector craft recipes.
This commit is contained in:
parent
2b096f050d
commit
02f8d29170
|
@ -108,6 +108,15 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mesecons_detector:object_detector_off',
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "mesecons_microcontroller:microcontroller0000", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "group:mesecon_conductor_craftable", "default:steel_ingot"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"mesecons_detector:object_detector_off"},
|
nodenames = {"mesecons_detector:object_detector_off"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
|
@ -270,6 +279,15 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'mesecons_detector:node_detector_off',
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "group:mesecon_conductor_craftable", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "mesecons_microcontroller:microcontroller0000", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"mesecons_detector:node_detector_off"},
|
nodenames = {"mesecons_detector:node_detector_off"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user