Moved some recipes into trees
This commit is contained in:
parent
58836c04c0
commit
76a34edbf2
@ -48,33 +48,6 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:sign_wall",
|
||||
recipe = {
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
{"", "group:stick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:chest",
|
||||
recipe = {
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
{"group:plank", "", "group:plank"},
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:chest_locked",
|
||||
recipe = {
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
{"group:plank", "default:cobble", "group:plank"},
|
||||
{"group:plank", "group:plank", "group:plank"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:sandstone",
|
||||
recipe = {
|
||||
@ -182,37 +155,12 @@ minetest.register_craft({
|
||||
burntime = 15,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:stick",
|
||||
burntime = 1,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:ladder",
|
||||
burntime = 15,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "group:plank",
|
||||
burntime = 2,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "group:planks",
|
||||
burntime = 7,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "group:log",
|
||||
burntime = 7,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:torch",
|
||||
@ -237,12 +185,6 @@ minetest.register_craft({
|
||||
burntime = 40,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:sapling",
|
||||
burntime = 5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "default:apple",
|
||||
|
@ -48,19 +48,6 @@ function realtest.register_tree(name, TreeDef)
|
||||
group = {plank=1},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = tree.name.."_planks",
|
||||
recipe = {
|
||||
{tree.name.."_plank",tree.name.."_plank"},
|
||||
{tree.name.."_plank",tree.name.."_plank"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = tree.name.."_plank 4",
|
||||
recipe = {{tree.name.."_planks"}}
|
||||
})
|
||||
|
||||
minetest.register_node(tree.name.."_log", {
|
||||
description = tree.description.." Log",
|
||||
tiles = tree.textures[1],
|
||||
@ -144,6 +131,76 @@ function realtest.register_tree(name, TreeDef)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:sign_wall",
|
||||
recipe = {
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
{"", tree.name.."_stick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:chest",
|
||||
recipe = {
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
{tree.name.."_plank", "", tree.name.."_plank"},
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:chest_locked",
|
||||
recipe = {
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
{tree.name.."_plank", "default:cobble", tree.name.."_plank"},
|
||||
{tree.name.."_plank", tree.name.."_plank", tree.name.."_plank"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = tree.name.."_planks",
|
||||
recipe = {
|
||||
{tree.name.."_plank",tree.name.."_plank"},
|
||||
{tree.name.."_plank",tree.name.."_plank"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = tree.name.."_plank 4",
|
||||
recipe = {{tree.name.."_planks"}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = tree.name.."_plank",
|
||||
burntime = 2,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = tree.name.."_planks",
|
||||
burntime = 7,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = tree.name.."_log",
|
||||
burntime = 7,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = tree.name.."_stick",
|
||||
burntime = 1,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = tree.name.."_sapling",
|
||||
burntime = 5,
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {tree.name.."_sapling"},
|
||||
neighbors = tree.grounds,
|
||||
|
Loading…
x
Reference in New Issue
Block a user