mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
@@ -158,15 +158,13 @@ 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] then
|
if item[e] and item[e]['animation'] then
|
||||||
if item[e]['animation'] then
|
for _, d in pairs(item[e]['animation']) do
|
||||||
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
|
l.apply_runtime_tint = true
|
||||||
l.apply_runtime_tint = true
|
l.tint = mod_tint[tier]
|
||||||
l.tint = mod_tint[tier]
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user