Add conversation recipes for Lua- and Microcontroller (#354)

This commit is contained in:
DS 2017-09-11 21:26:37 +02:00 committed by sfan5
parent 42cd973921
commit 3ef8ae01e7

View File

@ -144,6 +144,18 @@ end
end
end
if minetest.get_modpath("mesecons_luacontroller") then
minetest.register_craft({
type = "shapeless",
output = "mesecons_microcontroller:microcontroller0000",
recipe = {"mesecons_luacontroller:luacontroller0000"},
})
minetest.register_craft({
type = "shapeless",
output = "mesecons_luacontroller:luacontroller0000",
recipe = {"mesecons_microcontroller:microcontroller0000"},
})
else
minetest.register_craft({
output = 'craft "mesecons_microcontroller:microcontroller0000" 2',
recipe = {
@ -152,6 +164,7 @@ minetest.register_craft({
{'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable', ''},
}
})
end
yc.reset = function(pos)
yc.action(pos, {a=false, b=false, c=false, d=false})