1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2025-07-01 07:30:43 +02:00

tune for voxel garden (#40)

* tune for voxel garden based off https://github.com/mt-mods/moretrees/pull/38

* add internal api setting rather than same if statement all over the place, per j-r suggestion
This commit is contained in:
wsor4035
2024-05-27 10:25:10 -04:00
committed by GitHub
parent f49b1c42c9
commit 1b6914bc26
3 changed files with 46 additions and 35 deletions

View File

@ -3,13 +3,15 @@ local S = minetest.get_translator("moretrees")
for i in ipairs(moretrees.treelist) do
local treename = moretrees.treelist[i][1]
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..treename.."_planks 4",
recipe = {
"moretrees:"..treename.."_trunk"
}
})
if moretrees.enable_planks then
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..treename.."_planks 4",
recipe = {
"moretrees:"..treename.."_trunk"
}
})
end
minetest.register_craft({
type = "fuel",