Changing the sprite to a colored png file works as expected, in the world and in the chart.
Changing the sprite to a white png file, then setting .tint works in the world, but results in a plain white overlay in the chart.
Example:
Code: Select all
data.raw["utility-sprites"].default.logistic_radius_visualization.filename = "__palettecleanser__/graphics/visualization-roboport-radius.png"
data.raw["utility-sprites"].default.logistic_radius_visualization.tint = {r = 0.5, g = 0, b = 0.5, a = 0.5}
Please consider enforcing sprite tint in the chart so players would be able to customize overlay colors via mod settings.
Thanks!