add crafting recipes

master
Vanessa Dannenberg 2019-05-02 23:33:45 -04:00
parent bc496e221e
commit 47201c422a
1 changed files with 15 additions and 0 deletions

View File

@ -113,6 +113,21 @@ for _, pole in ipairs(poles_tab) do
check_and_place(itemstack, placer, pointed_thing, matnode, lightnode, lightparam2)
end
})
minetest.register_craft({
output = "simple_streetlights:spawner_"..matname.."_"..lightname,
type = "shapeless",
recipe = {
matnode,
matnode,
matnode,
matnode,
matnode,
matnode,
lightnode
}
})
end
end
end