xpanes: remove unused textures (#2614)
authorTumeniNodes <tumeninodes@gmail.com>
Sat, 7 Mar 2020 19:25:43 +0000 (14:25 -0500)
committerGitHub <noreply@github.com>
Sat, 7 Mar 2020 19:25:43 +0000 (20:25 +0100)
mods/xpanes/init.lua
mods/xpanes/textures/xpanes_bar_top.png
mods/xpanes/textures/xpanes_pane_half.png [deleted file]
mods/xpanes/textures/xpanes_space.png [deleted file]

index 758fbbb7d296ff618e6a3530105922669b3eb989..7293dce34fbfc192cade8f403d0e74e172e56252 100644 (file)
@@ -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,
@@ -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(),
@@ -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(),
@@ -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},
index 7b74508f27402c1b469870a321e629efd05db576..2955d72c7e7e795a3804d6501871c60600307f68 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_pane_half.png b/mods/xpanes/textures/xpanes_pane_half.png
deleted file mode 100644 (file)
index 4e846df..0000000
Binary files a/mods/xpanes/textures/xpanes_pane_half.png and /dev/null differ
diff --git a/mods/xpanes/textures/xpanes_space.png b/mods/xpanes/textures/xpanes_space.png
deleted file mode 100644 (file)
index 331e365..0000000
Binary files a/mods/xpanes/textures/xpanes_space.png and /dev/null differ