Skip to content

Commit

Permalink
xpanes: remove unused textures (#2614)
Browse files Browse the repository at this point in the history
  • Loading branch information
TumeniNodes committed Mar 7, 2020
1 parent 07a8067 commit 8b3b92d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions mods/xpanes/init.lua
Expand Up @@ -137,7 +137,11 @@ function xpanes.register_pane(name, def)
is_ground_content = false,
sunlight_propagates = true,
description = def.description,
tiles = {def.textures[3], def.textures[3], def.textures[1]},
tiles = {
def.textures[3],
def.textures[3],
def.textures[1]
},
groups = groups,
drop = "xpanes:" .. name .. "_flat",
sounds = def.sounds,
Expand All @@ -161,7 +165,7 @@ end

xpanes.register_pane("pane", {
description = S("Glass Pane"),
textures = {"default_glass.png","xpanes_pane_half.png","xpanes_edge.png"},
textures = {"default_glass.png", "", "xpanes_edge.png"},
inventory_image = "default_glass.png",
wield_image = "default_glass.png",
sounds = default.node_sound_glass_defaults(),
Expand All @@ -174,7 +178,7 @@ xpanes.register_pane("pane", {

xpanes.register_pane("obsidian_pane", {
description = S("Obsidian Glass Pane"),
textures = {"default_obsidian_glass.png","xpanes_pane_half.png","xpanes_edge_obsidian.png"},
textures = {"default_obsidian_glass.png", "", "xpanes_edge_obsidian.png"},
inventory_image = "default_obsidian_glass.png",
wield_image = "default_obsidian_glass.png",
sounds = default.node_sound_glass_defaults(),
Expand All @@ -187,7 +191,7 @@ xpanes.register_pane("obsidian_pane", {

xpanes.register_pane("bar", {
description = S("Steel Bars"),
textures = {"xpanes_bar.png","xpanes_bar.png","xpanes_bar_top.png"},
textures = {"xpanes_bar.png", "", "xpanes_bar_top.png"},
inventory_image = "xpanes_bar.png",
wield_image = "xpanes_bar.png",
groups = {cracky=2},
Expand Down
Binary file modified mods/xpanes/textures/xpanes_bar_top.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed mods/xpanes/textures/xpanes_pane_half.png
Binary file not shown.
Binary file removed mods/xpanes/textures/xpanes_space.png
Binary file not shown.

0 comments on commit 8b3b92d

Please sign in to comment.