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 edges = {
"homedecor_gate_"..gate.."_top.png",
"homedecor_gate_"..gate.."_bottom.png",
"homedecor_gate_"..gate.."_left.png",
"homedecor_gate_"..gate.."_right.png",
local tiles = {
"homedecor_gate_"..gate.."_tb.png",
"homedecor_gate_"..gate.."_tb.png",
"homedecor_gate_"..gate.."_lr.png",
"homedecor_gate_"..gate.."_lr.png",
"homedecor_gate_"..gate.."_fb.png^[transformFX",
"homedecor_gate_"..gate.."_fb.png"
}
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_fb.png^[transformFX",
"homedecor_gate_barbed_wire_fb.png"
}
end
local tiles = edges
if gate ~= "picket" and gate ~= "picket_white" then
table.insert (tiles, "homedecor_gate_"..gate.."_front.png^[transformFX")
table.insert (tiles, "homedecor_gate_"..gate.."_front.png")
else
table.insert (tiles, "homedecor_gate_"..gate.."_back.png")
table.insert (tiles, "homedecor_gate_"..gate.."_front.png")
if gate == "picket" or gate == "picket_white" then
tiles = {
"homedecor_blanktile.png",
"homedecor_blanktile.png",
"homedecor_blanktile.png",
"homedecor_blanktile.png",
"homedecor_gate_"..gate.."_back.png",
"homedecor_gate_"..gate.."_front.png"
}
end
local def = {
drawtype = "nodebox",
description = S(gate_names[i].." Fence Gate"),

View File

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