Code: Select all
for k, v in pairs(data.raw["electric-pole"]) do
v["small-electric-pole"].map_color = {r=0, g=1, b=0}
end
Code: Select all
for k, v in pairs(data.raw["electric-pole"]) do
v.map_color = {r=0, g=1, b=0}
end
in the end I don't want all poles to be a different color, I eventually want to change only a few poles that meet specific criteria. I have to be able to change the color of the poles before I get that far...