]> git.lizzy.rs Git - xdecor.git/commitdiff
Use overlays on shelfs textures
authorkilbith <jeanpatrick.guerrero@gmail.com>
Mon, 31 Aug 2015 23:03:07 +0000 (01:03 +0200)
committerkilbith <jeanpatrick.guerrero@gmail.com>
Mon, 31 Aug 2015 23:03:07 +0000 (01:03 +0200)
nodes.lua
textures/xdecor_empty_shelf.png
textures/xdecor_multishelf.png

index f097139041a6f0981cd1900d15d17464168f4843..57bf843b7a17a0191c0de24f938c7d05145cff5b 100644 (file)
--- a/nodes.lua
+++ b/nodes.lua
@@ -267,7 +267,7 @@ xdecor.register("empty_shelf", {
        description = "Empty Shelf",
        inventory = {size=24},
        infotext = "Empty Shelf",
-       tiles = {"default_wood.png", "xdecor_empty_shelf.png"},
+       tiles = {"default_wood.png", "default_wood.png^xdecor_empty_shelf.png"},
        groups = {choppy=3, flammable=3},
        sounds = default.node_sound_wood_defaults()
 })
@@ -473,7 +473,7 @@ xdecor.register("multishelf", {
        description = "Multi Shelf",
        inventory = {size=24},
        infotext = "Multi Shelf",
-       tiles = {"default_wood.png", "xdecor_multishelf.png"},
+       tiles = {"default_wood.png", "default_wood.png^xdecor_multishelf.png"},
        groups = {choppy=3, flammable=3},
        sounds = default.node_sound_wood_defaults()
 })
index 15f966139746dda3c6542044cded0994e6c84710..650d0a602f111f9128b1c3153a33cf73c51e82b4 100644 (file)
Binary files a/textures/xdecor_empty_shelf.png and b/textures/xdecor_empty_shelf.png differ
index 47817f1da1be86e73961900e5923f1a9a2f1e774..ee287492e34fe976e67bdf7f935e8bf5f540e937 100644 (file)
Binary files a/textures/xdecor_multishelf.png and b/textures/xdecor_multishelf.png differ