From d0aa09dd8d4d2298e52a123126afdba7d0134da3 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 8 Jun 2013 17:33:51 +0200 Subject: [PATCH] New fence texture --- mods/default/nodes.lua | 5 +++-- mods/default/textures/default_fence.png | Bin 482 -> 0 bytes mods/default/textures/default_fence_overlay.png | Bin 0 -> 285 bytes 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 mods/default/textures/default_fence.png create mode 100644 mods/default/textures/default_fence_overlay.png diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index c0981590..aff25b6d 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -456,12 +456,13 @@ minetest.register_node("default:glass", { sounds = default.node_sound_glass_defaults(), }) +local fence_texture = "default_fence_overlay.png^default_wood.png^default_fence_overlay.png^[makealpha:255,126,126" minetest.register_node("default:fence_wood", { description = "Wooden Fence", drawtype = "fencelike", tiles = {"default_wood.png"}, - inventory_image = "default_fence.png", - wield_image = "default_fence.png", + inventory_image = fence_texture, + wield_image = fence_texture, paramtype = "light", is_ground_content = false, selection_box = { diff --git a/mods/default/textures/default_fence.png b/mods/default/textures/default_fence.png deleted file mode 100644 index ca6ed59a4c88ec580f82a95c4461802e71317eae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 482 zcmV<80UiE{P)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RW1s?%42*8A&2LJ#8bV)=(R5;7c z(aA3ZaTLJuUr!?RV5_Avw1^2cWeim%`oYl zIC#msy?m0FuW$$RA@eI4;``iSlYhjFOm93b<7qBn-g83Fx$(Lzn)CIgH)u2g+L=o z&1C`!zl)^S#L|$&N~jfKGn(7Moa$n4s*CgG0TW1RHLL|1SRIyF4SQ^Xey3or%gKI1 z=3-^g1ak2p#<)s0+D&#$wgn0^K8#og>5xP!;5Gqk9y_2^?vi;%eO@+)CDOr0j&zyZ zOo%%pL8;urA%w8zQCjOzJx(;KjF7jISZ5VcZ#mZ7Uw}1_-3!*-KQeyLV+UAsJH&sO YPcF0GfipaLEC2ui07*qoM6N<$f@W6EbN~PV diff --git a/mods/default/textures/default_fence_overlay.png b/mods/default/textures/default_fence_overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..780e736894110480bc829e06b69d7306ae39edc4 GIT binary patch literal 285 zcmV+&0pk9NP)=Eo5Jlgz6dtM^!DWu(Q^{j=(PSnwzCcU|n?k~pY>*2V*^1(^yZ?U>8wTTza=cj{ zK*sTe*%u*v+wJzj`Fw4`EzSW5vx=0+Wa&+7aUKAhv>XB`YFsX#%e6wmO?sQU+F&;PE5~ENsQUFxDDF|C`C80hLECan1T#TnRr!@sb jW^;q=oA}JhzyHQReZYDGgC>Ma00000NkvXXu0mjfvk!5c literal 0 HcmV?d00001