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:
16
crafts.lua
16
crafts.lua
@ -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",
|
||||
|
Reference in New Issue
Block a user