Skip to content
Permalink
Browse files

Add obsidian_pane (#2035)

  • Loading branch information...
TumeniNodes authored and SmallJoker committed Jan 31, 2018
1 parent 5f121b5 commit 119c55d8f11b73bc4d453a102ba8e49096f433c9
@@ -104,7 +104,7 @@ function xpanes.register_pane(name, def)
groups = flatgroups,
drop = "xpanes:" .. name .. "_flat",
sounds = def.sounds,
use_texture_alpha = def.use_texture_alpha or false,
use_texture_alpha = def.use_texture_alpha or false,
node_box = {
type = "fixed",
fixed = {{-1/2, -1/2, -1/32, 1/2, 1/2, 1/32}},
@@ -129,7 +129,7 @@ function xpanes.register_pane(name, def)
groups = groups,
drop = "xpanes:" .. name .. "_flat",
sounds = def.sounds,
use_texture_alpha = def.use_texture_alpha or false,
use_texture_alpha = def.use_texture_alpha or false,
node_box = {
type = "connected",
fixed = {{-1/32, -1/2, -1/32, 1/32, 1/2, 1/32}},
@@ -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"},
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 119c55d

Please sign in to comment.
You can’t perform that action at this time.