1
0
mirror of https://codeberg.org/tenplus1/bakedclay.git synced 2024-11-07 00:40:22 +01:00

remove uncraftable dye:natural recipe

This commit is contained in:
TenPlus1 2019-07-23 18:27:03 +01:00
parent d6a2fbaaee
commit 9ec581dbf2

View File

@ -36,15 +36,16 @@ for _, clay in pairs(clay) do
})
-- craft from dye and any baked clay
minetest.register_craft({
output = "bakedclay:" .. clay[1] .. " 8",
recipe = {
{"group:bakedclay", "group:bakedclay", "group:bakedclay"},
{"group:bakedclay", "dye:" .. clay[1], "group:bakedclay"},
{"group:bakedclay", "group:bakedclay", "group:bakedclay"}
},
})
if clay[1] ~= "natural" then
minetest.register_craft({
output = "bakedclay:" .. clay[1] .. " 8",
recipe = {
{"group:bakedclay", "group:bakedclay", "group:bakedclay"},
{"group:bakedclay", "dye:" .. clay[1], "group:bakedclay"},
{"group:bakedclay", "group:bakedclay", "group:bakedclay"}
},
})
end
-- register stairsplus stairs if found
if stairsplus_mod then