The Vanilla have not so much tinted items, entities and icons of it.
In this mod (link) I've tried to use a lot of tinting (two).
For example, I've take only one inserter [and deep copy of blue inserter in data.lua], set it in grayscale and recolor with tint:
Code: Select all
local inserter = deepcopy(data.raw.inserter["fast-inserter"])
inserter.name = "linear-inserter-in"
inserter.pickup_position = {0, -1.8}
inserter.insert_position = {0, -1.2}
inserter.hand_base_picture.filename = "__LinearInserters__/graphics/entity/inserter-hand-base.png"
inserter.hand_base_picture.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.hand_base_picture.hr_version.filename = "__LinearInserters__/graphics/entity/hr-inserter-hand-base.png"
inserter.hand_base_picture.hr_version.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.hand_closed_picture.filename = "__LinearInserters__/graphics/entity/inserter-hand-closed.png"
inserter.hand_closed_picture.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.hand_closed_picture.hr_version.filename = "__LinearInserters__/graphics/entity/hr-inserter-hand-closed.png"
inserter.hand_closed_picture.hr_version.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.hand_open_picture.filename = "__LinearInserters__/graphics/entity/inserter-hand-open.png"
inserter.hand_open_picture.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.hand_open_picture.hr_version.filename = "__LinearInserters__/graphics/entity/hr-inserter-hand-open.png"
inserter.hand_open_picture.hr_version.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.platform_picture.sheet.filename = "__LinearInserters__/graphics/entity/inserter-platform.png"
inserter.platform_picture.sheet.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
inserter.platform_picture.sheet.hr_version.filename = "__LinearInserters__/graphics/entity/hr-inserter-platform.png"
inserter.platform_picture.sheet.hr_version.tint = {r = 0.8, g = 0.8, b = 1, a = 1}
Also you can recolor icons of items (and add one to another) just with
Code: Select all
icons = {
{icon = "__LinearInserters__/graphics/icons/inserter.png", tint = {r = 0.8, g = 0.8, b = 1, a = 1}},
{icon = "__LinearInserters__/graphics/icons/arrow-l.png", tint = {r = 1, g = 0.8, b = 1, a = 1}}
},
Code: Select all
data.raw["rail-planner"].rail.icon = "__base__/graphics/icons/rail.png"
Code: Select all
data.raw["rail-planner"].rail.icons = {
{icon = "__NewRailsMod__/graphics/icons/rails-layer-1.png", tint = {r = 0.8, g = 0.8, b = 1, a = 1}},
{icon = "__NewRailsMod__/graphics/icons/rails-layer-2.png", tint = {r = 1, g = 0.8, b = 1, a = 1}}
}