phase out several more redundant fence and gate images

This commit is contained in:
Vanessa Ezekowitz 2015-05-04 01:26:37 -04:00
parent 176f1db354
commit dee9e2587f
21 changed files with 21 additions and 17 deletions

View File

@ -337,33 +337,37 @@ for i in ipairs(gates_list) do
local gate=gates_list[i] local gate=gates_list[i]
local edges = { local tiles = {
"homedecor_gate_"..gate.."_top.png", "homedecor_gate_"..gate.."_tb.png",
"homedecor_gate_"..gate.."_bottom.png", "homedecor_gate_"..gate.."_tb.png",
"homedecor_gate_"..gate.."_left.png", "homedecor_gate_"..gate.."_lr.png",
"homedecor_gate_"..gate.."_right.png", "homedecor_gate_"..gate.."_lr.png",
"homedecor_gate_"..gate.."_fb.png^[transformFX",
"homedecor_gate_"..gate.."_fb.png"
} }
if gate == "barbed_wire" then if gate == "barbed_wire" then
edges = { tiles = {
"homedecor_gate_barbed_wire_edges.png", "homedecor_gate_barbed_wire_edges.png",
"homedecor_gate_barbed_wire_edges.png", "homedecor_gate_barbed_wire_edges.png",
"homedecor_gate_barbed_wire_edges.png", "homedecor_gate_barbed_wire_edges.png",
"homedecor_gate_barbed_wire_edges.png", "homedecor_gate_barbed_wire_edges.png",
"homedecor_gate_barbed_wire_fb.png^[transformFX",
"homedecor_gate_barbed_wire_fb.png"
} }
end end
local tiles = edges if gate == "picket" or gate == "picket_white" then
if gate ~= "picket" and gate ~= "picket_white" then tiles = {
table.insert (tiles, "homedecor_gate_"..gate.."_front.png^[transformFX") "homedecor_blanktile.png",
table.insert (tiles, "homedecor_gate_"..gate.."_front.png") "homedecor_blanktile.png",
else "homedecor_blanktile.png",
table.insert (tiles, "homedecor_gate_"..gate.."_back.png") "homedecor_blanktile.png",
table.insert (tiles, "homedecor_gate_"..gate.."_front.png") "homedecor_gate_"..gate.."_back.png",
"homedecor_gate_"..gate.."_front.png"
}
end end
local def = { local def = {
drawtype = "nodebox", drawtype = "nodebox",
description = S(gate_names[i].." Fence Gate"), description = S(gate_names[i].." Fence Gate"),

View File

@ -189,8 +189,8 @@ homedecor.register("fence_privacy", {
homedecor.register("fence_privacy_corner", { homedecor.register("fence_privacy_corner", {
description = S("Wooden Privacy Fence Corner"), description = S("Wooden Privacy Fence Corner"),
tiles = { tiles = {
"homedecor_fence_privacy_corner_top.png", "homedecor_fence_privacy_corner_tb.png",
"homedecor_fence_privacy_corner_bottom.png", "homedecor_fence_privacy_corner_tb.png^[transformFY",
"homedecor_fence_privacy_corner_right.png", "homedecor_fence_privacy_corner_right.png",
"homedecor_fence_privacy_backside2.png", "homedecor_fence_privacy_backside2.png",
"homedecor_fence_privacy_backside.png", "homedecor_fence_privacy_backside.png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

View File

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

View File

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View File

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B