forked from minetest/minetest_game
xpanes: remove unused textures (#2614)
This commit is contained in:
parent
07a8067348
commit
8b3b92dfdf
@ -137,7 +137,11 @@ function xpanes.register_pane(name, def)
|
|||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
description = def.description,
|
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,
|
groups = groups,
|
||||||
drop = "xpanes:" .. name .. "_flat",
|
drop = "xpanes:" .. name .. "_flat",
|
||||||
sounds = def.sounds,
|
sounds = def.sounds,
|
||||||
@ -161,7 +165,7 @@ end
|
|||||||
|
|
||||||
xpanes.register_pane("pane", {
|
xpanes.register_pane("pane", {
|
||||||
description = S("Glass 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",
|
inventory_image = "default_glass.png",
|
||||||
wield_image = "default_glass.png",
|
wield_image = "default_glass.png",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -174,7 +178,7 @@ xpanes.register_pane("pane", {
|
|||||||
|
|
||||||
xpanes.register_pane("obsidian_pane", {
|
xpanes.register_pane("obsidian_pane", {
|
||||||
description = S("Obsidian Glass 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",
|
inventory_image = "default_obsidian_glass.png",
|
||||||
wield_image = "default_obsidian_glass.png",
|
wield_image = "default_obsidian_glass.png",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -187,7 +191,7 @@ xpanes.register_pane("obsidian_pane", {
|
|||||||
|
|
||||||
xpanes.register_pane("bar", {
|
xpanes.register_pane("bar", {
|
||||||
description = S("Steel Bars"),
|
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",
|
inventory_image = "xpanes_bar.png",
|
||||||
wield_image = "xpanes_bar.png",
|
wield_image = "xpanes_bar.png",
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 101 B |
Binary file not shown.
Before Width: | Height: | Size: 83 B |
Binary file not shown.
Before Width: | Height: | Size: 149 B |
Loading…
Reference in New Issue
Block a user