moretrees/crafts.lua

97 lines
1.8 KiB
Lua
Raw Normal View History

for i in ipairs(simple_trees) do
minetest.register_craft({
output = "moretrees:"..simple_trees[i].."_trunk_sideways 2",
recipe = {
{"moretrees:"..simple_trees[i].."_trunk", "moretrees:"..simple_trees[i].."_trunk"}
}
})
minetest.register_craft({
output = "moretrees:"..simple_trees[i].."_trunk 2",
recipe = {
{"moretrees:"..simple_trees[i].."_trunk_sideways"},
{"moretrees:"..simple_trees[i].."_trunk_sideways"}
}
})
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..simple_trees[i].."_planks 4",
recipe = {
"moretrees:"..simple_trees[i].."_trunk"
}
})
minetest.register_craft({
type = "shapeless",
output = "moretrees:"..simple_trees[i].."_planks 4",
recipe = {
"moretrees:"..simple_trees[i].."_trunk_sideways"
}
})
end
----
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"}
}
})
----
2013-01-10 03:35:50 +01:00
minetest.register_craft({
output = "moretrees:fir_trunk_sideways 2",
2013-01-10 03:35:50 +01:00
recipe = {
{"moretrees:fir_trunk", "fir:trunk"},
2013-01-10 03:35:50 +01:00
}
})
minetest.register_craft({
output = "moretrees:fir_trunk 2",
2013-01-10 03:35:50 +01:00
recipe = {
{"moretrees:fir_trunk_sideways"},
{"moretrees:fir_trunk_sideways"}
2013-01-10 03:35:50 +01:00
}
})
minetest.register_craft({
output = "default:wood 4",
2013-01-10 03:35:50 +01:00
recipe = {
{"moretrees:fir_trunk"}
2013-01-10 03:35:50 +01:00
}
})
minetest.register_craft({
output = "default:wood 4",
2013-01-10 03:35:50 +01:00
recipe = {
{"moretrees:fir_trunk_sideways"}
2013-01-10 03:35:50 +01:00
}
})