added birch leaves

This commit is contained in:
cale 2016-12-07 17:45:06 +01:00
parent c7815f97b3
commit 503bf36951
3 changed files with 33 additions and 1 deletions

View File

@ -146,6 +146,27 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:birch_wood 2",
recipe = {
{"default:log_birch"},
}
})
minetest.register_craft({
output = "default:wooden_planks_birch",
recipe = {
{"default:frame", "default:birch_wood"},
}
})
minetest.register_craft({
output = "default:wooden_planks_2_birch",
recipe = {
{"default:frame", "default:birch_wood", "default:birch_wood"},
}
})
--box
minetest.register_craft({
output = "default:box 4",

View File

@ -145,7 +145,6 @@ default.player_inventory.register_tab({
formspec = default.inv_form
})
default.craft_form = "size[8,7.5;]"
default.craft_form = default.craft_form..default.gui_colors
default.craft_form = default.craft_form..default.gui_bg

View File

@ -32,7 +32,19 @@ minetest.register_node("furnace:anvil", {
description = "Anvil",
tiles = {"missing.png"},
groups = {cracky = 2},
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-6/16, -8/16, -5/16, 6/16, -6/16, 5/16},
{-5/16, -6/16, -3/16, 5/16, 0, 3/16},
{-7/16, -2/16, -4/16, 7/16, 4/16, 4/16}
}
},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",anvil_form)