From 55998420057bdbf36cba8a49970b77de23a00fd4 Mon Sep 17 00:00:00 2001 From: Wuzzy <Wuzzy@disroot.org> Date: Fri, 30 Jun 2023 19:14:20 +0200 Subject: [PATCH] Add wood frame side texture --- src/nodes.lua | 3 ++- textures/xdecor_wood_frame_top.png | Bin 0 -> 136 bytes 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 textures/xdecor_wood_frame_top.png diff --git a/src/nodes.lua b/src/nodes.lua index 2c4b4fe..fc880cc 100644 --- a/src/nodes.lua +++ b/src/nodes.lua @@ -9,7 +9,7 @@ local function register_pane(name, desc, def) tiles = {"xdecor_" .. name .. ".png"}, drawtype = "airlike", paramtype = "light", - textures = {"xdecor_" .. name .. ".png", "" ,"xdecor_" .. name .. ".png"}, + textures = def.textures or {"xdecor_" .. name .. ".png", "" ,"xdecor_" .. name .. ".png"}, inventory_image = "xdecor_" .. name .. ".png", wield_image = "xdecor_" .. name .. ".png", groups = def.groups, @@ -50,6 +50,7 @@ register_pane("rusty_bar", S("Rusty Iron Bars"), { register_pane("wood_frame", S("Wood Frame"), { sounds = default.node_sound_wood_defaults(), + textures = {"xdecor_wood_frame.png", "", "xdecor_wood_frame_top.png"}, groups = {choppy = 2, pane = 1, flammable = 2}, recipe = { {"group:wood", "group:stick", "group:wood"}, diff --git a/textures/xdecor_wood_frame_top.png b/textures/xdecor_wood_frame_top.png new file mode 100644 index 0000000000000000000000000000000000000000..752e14895841bf665a8afacfbe362ebd0e6ae92d GIT binary patch literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9JOMr-uHlw4akg^)MiP#i!i`V% z-2sZ5d%8G=R4^tdL~h6uWj?K>uyE_Hz~;tO!;Y<7N20!Poro$7VAk3#q_Qo5TaP>J hd54bnm8n~W7;@aCm!1B5z7=Q$gQu&X%Q~loCII!wC}{uy literal 0 HcmV?d00001