add crafting recipes
This commit is contained in:
parent
bc496e221e
commit
47201c422a
15
simple.lua
15
simple.lua
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user