forked from mtcontrib/bakedclay
add unifieddye check for light grey recipe
This commit is contained in:
parent
3af99b27c9
commit
b7b3b98003
3
init.lua
3
init.lua
@ -108,11 +108,14 @@ minetest.register_craft( {
|
|||||||
recipe = {"dye:black", "dye:black", "dye:white"}
|
recipe = {"dye:black", "dye:black", "dye:white"}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- only add light grey recipe if unifieddye mod isnt present (conflict)
|
||||||
|
if not minetest.get_modpath("unifieddyes") then
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "dye:grey 3",
|
output = "dye:grey 3",
|
||||||
recipe = {"dye:black", "dye:white", "dye:white"}
|
recipe = {"dye:black", "dye:white", "dye:white"}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
|
Loading…
Reference in New Issue
Block a user