Add obsidian_pane (#2035)
authorTumeniNodes <tumeninodes@gmail.com>
Wed, 31 Jan 2018 19:49:54 +0000 (14:49 -0500)
committerSmallJoker <mk939@ymail.com>
Wed, 31 Jan 2018 19:53:49 +0000 (20:53 +0100)
mods/xpanes/init.lua
mods/xpanes/textures/xpanes_bar_top.png
mods/xpanes/textures/xpanes_edge.png [new file with mode: 0644]
mods/xpanes/textures/xpanes_edge_obsidian.png [new file with mode: 0644]
mods/xpanes/textures/xpanes_space.png
mods/xpanes/textures/xpanes_white.png [deleted file]

index 755667de8446009633d67e42a638fbde25f5fa4c..c0a91c7b51013877a63c10cc32bbcac1e101e6bf 100644 (file)
@@ -149,7 +149,7 @@ end
 
 xpanes.register_pane("pane", {
        description = "Glass Pane",
-       textures = {"default_glass.png","xpanes_pane_half.png","xpanes_white.png"},
+       textures = {"default_glass.png","xpanes_pane_half.png","xpanes_edge.png"},
        inventory_image = "default_glass.png",
        wield_image = "default_glass.png",
        sounds = default.node_sound_glass_defaults(),
@@ -160,6 +160,19 @@ xpanes.register_pane("pane", {
        }
 })
 
+xpanes.register_pane("obsidian_pane", {
+       description = "Obsidian Glass Pane",
+       textures = {"default_obsidian_glass.png","xpanes_pane_half.png","xpanes_edge_obsidian.png"},
+       inventory_image = "default_obsidian_glass.png",
+       wield_image = "default_obsidian_glass.png",
+       sounds = default.node_sound_glass_defaults(),
+       groups = {snappy=2, cracky=3},
+       recipe = {
+               {"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"},
+               {"default:obsidian_glass", "default:obsidian_glass", "default:obsidian_glass"}
+       }
+})
+
 xpanes.register_pane("bar", {
        description = "Iron Bar",
        textures = {"xpanes_bar.png","xpanes_bar.png","xpanes_bar_top.png"},
index 887518aa2aa038594626d0583cb5ecf70de269b8..7b74508f27402c1b469870a321e629efd05db576 100644 (file)
Binary files a/mods/xpanes/textures/xpanes_bar_top.png and b/mods/xpanes/textures/xpanes_bar_top.png differ
diff --git a/mods/xpanes/textures/xpanes_edge.png b/mods/xpanes/textures/xpanes_edge.png
new file mode 100644 (file)
index 0000000..92f78a1
Binary files /dev/null and b/mods/xpanes/textures/xpanes_edge.png differ
diff --git a/mods/xpanes/textures/xpanes_edge_obsidian.png b/mods/xpanes/textures/xpanes_edge_obsidian.png
new file mode 100644 (file)
index 0000000..abdd14e
Binary files /dev/null and b/mods/xpanes/textures/xpanes_edge_obsidian.png differ
index 016cb35233581a0747af97b6236ef72d4ad39ca6..331e3658924ac158dc60ea6e82edd9c226648625 100644 (file)
Binary files a/mods/xpanes/textures/xpanes_space.png and b/mods/xpanes/textures/xpanes_space.png differ
diff --git a/mods/xpanes/textures/xpanes_white.png b/mods/xpanes/textures/xpanes_white.png
deleted file mode 100644 (file)
index a2f4b63..0000000
Binary files a/mods/xpanes/textures/xpanes_white.png and /dev/null differ