]> git.lizzy.rs Git - xdecor.git/commitdiff
Add chainlink
authorjp <jeanpatrick.guerrero@gmail.com>
Sun, 16 Aug 2015 10:30:54 +0000 (12:30 +0200)
committerjp <jeanpatrick.guerrero@gmail.com>
Sun, 16 Aug 2015 10:30:54 +0000 (12:30 +0200)
nodes.lua
textures/xdecor_chainlink.png [new file with mode: 0644]

index 7f07d2498254783f7194c50e565206e5fa0d2f08..892a9e4470438376a89f835719d81ea730197c80 100644 (file)
--- a/nodes.lua
+++ b/nodes.lua
@@ -135,6 +135,23 @@ if minetest.get_modpath("bucket") then
        })
 end
 
+xpanes.register_pane("chainlink", {
+       description = "Chain Link",
+       tiles = {"xdecor_chainlink.png"},
+       drawtype = "airlike",
+       paramtype = "light",
+       textures = {"xdecor_chainlink.png", "xdecor_chainlink.png", 
+                       "xpanes_space.png"},
+       inventory_image = "xdecor_chainlink.png",
+       wield_image = "xdecor_chainlink.png",
+       groups = {snappy=3, pane=1},
+       recipe = {
+               {"default:steel_ingot", "", "default:steel_ingot"},
+               {"", "default:steel_ingot", ""},
+               {"default:steel_ingot", "", "default:steel_ingot"}
+       }
+})
+
 xdecor.register("chair", {
        description = "Chair",
        tiles = {"xdecor_wood.png"},
diff --git a/textures/xdecor_chainlink.png b/textures/xdecor_chainlink.png
new file mode 100644 (file)
index 0000000..bd8f7cf
Binary files /dev/null and b/textures/xdecor_chainlink.png differ