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:
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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user