From: HybridDog Date: Sat, 8 Jun 2013 15:33:51 +0000 (+0200) Subject: New fence texture X-Git-Tag: 0.4.10~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0aa09dd8d4d2298e52a123126afdba7d0134da3;p=oweals%2Fminetest_game.git New fence texture --- 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 ca6ed59a..00000000 Binary files a/mods/default/textures/default_fence.png and /dev/null differ diff --git a/mods/default/textures/default_fence_overlay.png b/mods/default/textures/default_fence_overlay.png new file mode 100644 index 00000000..780e7368 Binary files /dev/null and b/mods/default/textures/default_fence_overlay.png differ