This commit is contained in:
2026-06-20 01:51:19 +09:00
parent 45bc7f7045
commit 72d76e7b0c
+12 -2
View File
@@ -158,8 +158,9 @@ function main_entity(source, tier)
if (source.name == 'mining-drill' or source.name == 'big-mining-drill') then if (source.name == 'mining-drill' or source.name == 'big-mining-drill') then
for _, e in pairs({'graphics_set', 'wet_mining_graphics_set'}) do for _, e in pairs({'graphics_set', 'wet_mining_graphics_set'}) do
if item[e] and item[e].animation then if item[e] then
for _, d in pairs(item[e].animation) do if item[e]['animation'] then
for _, d in pairs(item[e]['animation']) do
if d.layers then if d.layers then
for _, l in pairs(d.layers) do for _, l in pairs(d.layers) do
if not l.draw_as_shadow then if not l.draw_as_shadow then
@@ -169,6 +170,15 @@ function main_entity(source, tier)
end end
end end
end end
if item[e]['working_visualisations'] then
for _, d in pairs(item[e]['working_visualisations']) do
if d.animation and not d.animation.draw_as_shadow then
d.animation.tint = mod_tint[tier]
end
end
end
end
end end
if item['integration_patch'] then if item['integration_patch'] then