-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdata-updates.lua
More file actions
18 lines (15 loc) · 885 Bytes
/
Copy pathdata-updates.lua
File metadata and controls
18 lines (15 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local core_graphics = "__ThickerLines__/core/graphics"
local sprites = data.raw["utility-sprites"]["default"]
if (settings.startup["thicker-lines-copper"].value) then
sprites["copper_wire"].filename = core_graphics .. "/copper-wire.png"
sprites["copper_wire_highlight"].filename = core_graphics .. "/wire-highlight.png"
end
if (settings.startup["thicker-lines-circuit"].value) then
sprites["green_wire"].filename = core_graphics .. "/green-wire.png"
sprites["red_wire"].filename = core_graphics .. "/red-wire.png"
sprites["green_wire_highlight"].filename = core_graphics .. "/wire-highlight.png"
sprites["red_wire_highlight"].filename = core_graphics .. "/wire-highlight.png"
end
if (settings.startup["thicker-lines-shadow"].value) then
sprites["wire_shadow"].filename = core_graphics .. "/wire-shadow.png"
end