Code: Select all
data.raw["simple-entity"]["stone-rock"].map_color = {r = 255, g = 255, b = 0}
This seems to work for electric poles or ore-resources but they are already visible on the map, I just hoped it would work for any entity. Is there a way to trigger map color for entities that do not have it to start with?