From: TumeniNodes Date: Wed, 31 Jan 2018 19:49:54 +0000 (-0500) Subject: Add obsidian_pane (#2035) X-Git-Tag: 5.0.0~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=496a1a24d223076e186555dbb7e747adb4394e40;p=oweals%2Fminetest_game.git Add obsidian_pane (#2035) --- diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index 755667de..c0a91c7b 100644 --- a/mods/xpanes/init.lua +++ b/mods/xpanes/init.lua @@ -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"}, diff --git a/mods/xpanes/textures/xpanes_bar_top.png b/mods/xpanes/textures/xpanes_bar_top.png index 887518aa..7b74508f 100644 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 index 00000000..92f78a19 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 index 00000000..abdd14e3 Binary files /dev/null and b/mods/xpanes/textures/xpanes_edge_obsidian.png differ diff --git a/mods/xpanes/textures/xpanes_space.png b/mods/xpanes/textures/xpanes_space.png index 016cb352..331e3658 100644 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 index a2f4b636..00000000 Binary files a/mods/xpanes/textures/xpanes_white.png and /dev/null differ