phase out several more redundant fence and gate images
|
@ -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"),
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Before Width: | Height: | Size: 409 B |
BIN
homedecor/textures/homedecor_fence_privacy_corner_tb.png
Normal file
After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 241 B |
BIN
homedecor/textures/homedecor_gate_chainlink_tb.png
Normal file
After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 96 B |