From 4894600bb0dd71c8714381dc760526b217f74348 Mon Sep 17 00:00:00 2001 From: kilbith Date: Tue, 1 Sep 2015 13:10:26 +0200 Subject: [PATCH] Better plant pot texture and make it plantlike for simplicity --- nodes.lua | 10 ++++++---- textures/xdecor_plant_pot.png | Bin 0 -> 198 bytes textures/xdecor_plant_pot_bottom.png | Bin 245 -> 0 bytes textures/xdecor_plant_pot_sides.png | Bin 258 -> 0 bytes textures/xdecor_plant_pot_top.png | Bin 313 -> 0 bytes 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 textures/xdecor_plant_pot.png delete mode 100644 textures/xdecor_plant_pot_bottom.png delete mode 100644 textures/xdecor_plant_pot_sides.png delete mode 100644 textures/xdecor_plant_pot_top.png diff --git a/nodes.lua b/nodes.lua index 1982170..35ddc6e 100644 --- a/nodes.lua +++ b/nodes.lua @@ -407,7 +407,7 @@ local flowers = {"dandelion_white", "dandelion_yellow", "geranium", for _, f in pairs(flowers) do xdecor.register("potted_"..f, { - description = "Potted Flowers ("..f..")", + description = string.gsub("Potted Flowers ("..f..")", "_", " "), walkable = false, groups = {dig_immediate=3, flammable=3, plant=1, flower=1}, tiles = {"xdecor_"..f.."_pot.png"}, @@ -441,10 +441,12 @@ xdecor.register("painting", { xdecor.register("plant_pot", { description = "Plant Pot", + drawtype = "plantlike", + inventory_image = "xdecor_plant_pot.png", + wield_image = "xdecor_plant_pot.png", groups = {snappy=3}, - tiles = {"xdecor_plant_pot_top.png", "xdecor_plant_pot_bottom.png", - "xdecor_plant_pot_sides.png"}, - sounds = default.node_sound_stone_defaults(), + tiles = {"xdecor_plant_pot.png"}, + sounds = default.node_sound_stone_defaults() }) xdecor.register("metal_cabinet", { diff --git a/textures/xdecor_plant_pot.png b/textures/xdecor_plant_pot.png new file mode 100644 index 0000000000000000000000000000000000000000..71a731d04841a015b9456381014011b91c7d9e21 GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPE^3h)VW1=1yYs-beCQ(dhsggCY* zNA6uUaS~9Ju_VYZn8D%MjWi%9$5^UwlR3R`njxgN@xNA$b3YJ literal 0 HcmV?d00001 diff --git a/textures/xdecor_plant_pot_bottom.png b/textures/xdecor_plant_pot_bottom.png deleted file mode 100644 index 51e85124c4caa55ae4ddff4b78154e46cde8d75b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFv5AX?bP196J(2&p8QZSJe(GwH0 zloGR*m55N4i&d9*QIygY<_}bn^;VKmyWcAZ)Y9qc;uyklJvksKC?SDilEV=V4UH2E zSXwR_r@s?OND6o`W7@Q7ktYr;P?#x}BW2~>;8+;FV&mpaA7$ppTN1>@pPz72ID8{} z>SoOe6SE#|J#}@!aPemPePZ5z&wQAVL%)o1^4_44$rjF6*2UngGpJP2~Up diff --git a/textures/xdecor_plant_pot_sides.png b/textures/xdecor_plant_pot_sides.png deleted file mode 100644 index 4850e7cadd4633d8e7d0bff1722424cbdbc23889..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!Yk*IP>l$DC8BQiGW?KC=`ind) zw+1=y3U#YDRxi?5-4^V;(A~1v#-Q3rJxg0DPe-ZK&bUlpB|%*-Ra3sfQm@ifYq5vr zVh^kHd;j_Y4Xp5VaSV~T9C|)b=#T=B>qT~v?p!97weRXzvPsVVRsAe>hQd0-R^Fc< zk66DcEIkq7WF#P{_xxg%^|?b@3;YVVb8d)q{QK>g4^Pg9I}QI9Hm5xbICf|upT~Wb z{|n-~!#zwA^kiPKPMgBDZkmNg#L4}=YXnm5*KMd_h!SO67aJ^40(1j|r>mdKI;Vst E05mCEmjD0& diff --git a/textures/xdecor_plant_pot_top.png b/textures/xdecor_plant_pot_top.png deleted file mode 100644 index 69589348b8a5f20305c6c949e7da59d3ddd80756..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 313 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbK}V1Q4Es{ju>6C*>Dsb;;gMvb9b zm4Rxvm9D0|um~TAq9nhxD37j^SgVrd);l9lSS>P6BpjxuCzBNJ>shU{VZPN(x=<)Is90^O-M;B0y>w$)78&q Iol`;+0Dfm`#Q*>R