forked from mtcontrib/bakedclay
remove uncraftable dye:natural recipe
This commit is contained in:
parent
d6a2fbaaee
commit
9ec581dbf2
19
init.lua
19
init.lua
@ -36,15 +36,16 @@ for _, clay in pairs(clay) do
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- craft from dye and any baked clay
|
-- craft from dye and any baked clay
|
||||||
|
if clay[1] ~= "natural" then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "bakedclay:" .. clay[1] .. " 8",
|
output = "bakedclay:" .. clay[1] .. " 8",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"group:bakedclay", "group:bakedclay", "group:bakedclay"},
|
{"group:bakedclay", "group:bakedclay", "group:bakedclay"},
|
||||||
{"group:bakedclay", "dye:" .. clay[1], "group:bakedclay"},
|
{"group:bakedclay", "dye:" .. clay[1], "group:bakedclay"},
|
||||||
{"group:bakedclay", "group:bakedclay", "group:bakedclay"}
|
{"group:bakedclay", "group:bakedclay", "group:bakedclay"}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- register stairsplus stairs if found
|
-- register stairsplus stairs if found
|
||||||
if stairsplus_mod then
|
if stairsplus_mod then
|
||||||
|
Loading…
Reference in New Issue
Block a user