mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-12 05:10:29 +02:00
can craft dye from mulch, bonemeal, fertiliser
This commit is contained in:
17
mods.lua
17
mods.lua
@ -141,3 +141,20 @@ if minetest.get_modpath("caverealms") then
|
||||
{"caverealms:mushroom_sapling", add_shroom, "soil"}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
if minetest.get_modpath("dye") then
|
||||
|
||||
local bonemeal_dyes = {
|
||||
bonemeal = "white", fertiliser = "green", mulch = "brown"}
|
||||
|
||||
for mat, dye in pairs(bonemeal_dyes) do
|
||||
|
||||
minetest.register_craft({
|
||||
output = "dye:" .. dye .. " 4",
|
||||
recipe = {
|
||||
{"bonemeal:" .. mat}
|
||||
},
|
||||
})
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user