1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-25 02:00:23 +01:00
moretrees/crafts.lua
Vanessa Ezekowitz 966c5fc4b0 added leafdecay, fixed broken birch sideways trunk recipe, made all cones +
apple fall when they have nothing to hang onto.
2013-02-11 00:09:53 -05:00

158 lines
3.0 KiB
Lua

for i in ipairs(moretrees.simple_trees) do
minetest.register_craft({
output = "moretrees:"..moretrees.simple_trees[i].."_trunk_sideways 2",
recipe = {
{"moretrees:"..moretrees.simple_trees[i].."_trunk", "moretrees:"..moretrees.simple_trees[i].."_trunk"}
}
})
minetest.register_craft({
output = "moretrees:"..moretrees.simple_trees[i].."_trunk 2",
recipe = {
{"moretrees:"..moretrees.simple_trees[i].."_trunk_sideways"},
{"moretrees:"..moretrees.simple_trees[i].."_trunk_sideways"}
}
})
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..moretrees.simple_trees[i].."_planks 4",
recipe = {
"moretrees:"..moretrees.simple_trees[i].."_trunk"
}
})
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..moretrees.simple_trees[i].."_planks 4",
recipe = {
"moretrees:"..moretrees.simple_trees[i].."_trunk_sideways"
}
})
end
---- jungletrees
minetest.register_craft({
output = "moretrees:jungletree_trunk_sideways 2",
recipe = {
{"default:jungletree", "default:jungletree"},
}
})
minetest.register_craft({
output = "default:jungletree 2",
recipe = {
{"moretrees:jungletree_trunk_sideways"},
{"moretrees:jungletree_trunk_sideways"}
}
})
minetest.register_craft({
output = "moretrees:jungletree_planks 4",
recipe = {
{"default:jungletree"}
}
})
minetest.register_craft({
output = "moretrees:jungletree_planks 4",
recipe = {
{"moretrees:jungletree_trunk_sideways"}
}
})
---- firs
minetest.register_craft({
output = "moretrees:fir_trunk_sideways 2",
recipe = {
{"moretrees:fir_trunk", "moretrees:fir_trunk"},
}
})
minetest.register_craft({
output = "moretrees:fir_trunk 2",
recipe = {
{"moretrees:fir_trunk_sideways"},
{"moretrees:fir_trunk_sideways"}
}
})
minetest.register_craft({
output = "moretrees:fir_planks 4",
recipe = {
{"moretrees:fir_trunk"}
}
})
minetest.register_craft({
output = "moretrees:fir_planks 4",
recipe = {
{"moretrees:fir_trunk_sideways"}
}
})
---- spruces
minetest.register_craft({
output = "moretrees:spruce_trunk_sideways 2",
recipe = {
{"moretrees:spruce_trunk", "moretrees:spruce_trunk"},
}
})
minetest.register_craft({
output = "moretrees:spruce_trunk 2",
recipe = {
{"moretrees:spruce_trunk_sideways"},
{"moretrees:spruce_trunk_sideways"}
}
})
minetest.register_craft({
output = "moretrees:spruce_planks 4",
recipe = {
{"moretrees:spruce_trunk"}
}
})
minetest.register_craft({
output = "moretrees:spruce_planks 4",
recipe = {
{"moretrees:spruce_trunk_sideways"}
}
})
---- birches
minetest.register_craft({
output = "moretrees:birch_trunk_sideways 2",
recipe = {
{"moretrees:birch_trunk", "moretrees:birch_trunk"},
}
})
minetest.register_craft({
output = "moretrees:birch_trunk 2",
recipe = {
{"moretrees:birch_trunk_sideways"},
{"moretrees:birch_trunk_sideways"}
}
})
minetest.register_craft({
output = "moretrees:birch_planks 4",
recipe = {
{"moretrees:birch_trunk"}
}
})
minetest.register_craft({
output = "moretrees:birch_planks 4",
recipe = {
{"moretrees:birch_trunk_sideways"}
}
})