mt-mods / moretrees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stupid question: how to get moretrees:raw_coconut?

superfloh247 opened this issue · comments

title says it all :-)

Coconut + drinking glass + axe. The result is coconut milk, with raw coconut returned as a replacement:

moretrees/crafts.lua

Lines 109 to 123 in 393840b

for i in ipairs(moretrees.cutting_tools) do
local tool = moretrees.cutting_tools[i]
minetest.register_craft({
type = "shapeless",
output = "moretrees:coconut_milk",
recipe = {
"moretrees:coconut",
"vessels:drinking_glass",
tool
},
replacements = {
{ "moretrees:coconut", "moretrees:raw_coconut" },
}
})
end

I was not aware of replacements =

tyvm