mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-01-08 17:20:24 +01:00
can craft dye from mulch, bonemeal, fertiliser
This commit is contained in:
parent
48718b60f7
commit
93f7eb44d6
@ -32,5 +32,6 @@ Changelog:
|
|||||||
- 1.0 - add_deco() now adds to existing item list while set_deco() replaces item list (thanks h-v-smacker)
|
- 1.0 - add_deco() now adds to existing item list while set_deco() replaces item list (thanks h-v-smacker)
|
||||||
- 1.1 - Added {can_bonemeal=1} group for special nodes
|
- 1.1 - Added {can_bonemeal=1} group for special nodes
|
||||||
- 1.2 - Added support for minetest 5.0 cactus seedling, blueberry bush sapling and emergent jungle tree saplings, additional flowers and pine bush sapling.
|
- 1.2 - Added support for minetest 5.0 cactus seedling, blueberry bush sapling and emergent jungle tree saplings, additional flowers and pine bush sapling.
|
||||||
|
- 1.3 - Ability to craft dye from mulch, bonemeal and fertiliser (thanks orbea)
|
||||||
|
|
||||||
Lucky Blocks: 6
|
Lucky Blocks: 6
|
||||||
|
17
mods.lua
17
mods.lua
@ -141,3 +141,20 @@ if minetest.get_modpath("caverealms") then
|
|||||||
{"caverealms:mushroom_sapling", add_shroom, "soil"}
|
{"caverealms:mushroom_sapling", add_shroom, "soil"}
|
||||||
})
|
})
|
||||||
end
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user