From 6dc817acb0b00a77a5bf2aa2c022824b6ec1b6ce Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 22 Jan 2013 12:58:16 -0500 Subject: added wood planks for fir trees. --- crafts.lua | 4 ++-- node_defs.lua | 8 ++++++++ textures/moretrees_fir_wood.png | Bin 0 -> 775 bytes 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 textures/moretrees_fir_wood.png diff --git a/crafts.lua b/crafts.lua index 708143d..d32f86e 100644 --- a/crafts.lua +++ b/crafts.lua @@ -81,14 +81,14 @@ minetest.register_craft({ }) minetest.register_craft({ - output = "default:wood 4", + output = "moretrees:fir_planks 4", recipe = { {"moretrees:fir_trunk"} } }) minetest.register_craft({ - output = "default:wood 4", + output = "moretrees:fir_planks 4", recipe = { {"moretrees:fir_trunk_sideways"} } diff --git a/node_defs.lua b/node_defs.lua index b38e0b4..8e3b21e 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -251,6 +251,14 @@ minetest.register_node("moretrees:fir_trunk_sideways", { sounds = default.node_sound_wood_defaults() }) +minetest.register_node("moretrees:fir_planks", { + description = "Fir Planks", + tiles = { + "moretrees_fir_wood.png", + }, + groups = {wood=1,snappy=2,dig_immediate=3,flammable=2}, +}) + minetest.register_node("moretrees:fir_leaves", { drawtype = "allfaces_optional", description = "Fir Leaves", diff --git a/textures/moretrees_fir_wood.png b/textures/moretrees_fir_wood.png new file mode 100644 index 0000000..6d3e301 Binary files /dev/null and b/textures/moretrees_fir_wood.png differ -- cgit v1.2.3