From 72d76e7b0c3a4a15aa1743acf0a7a669df1f5599 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 20 Jun 2026 01:51:19 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mbm.lua | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/PHI-CL/data/b/mbm.lua b/PHI-CL/data/b/mbm.lua index cd5d4a2..6bef04c 100644 --- a/PHI-CL/data/b/mbm.lua +++ b/PHI-CL/data/b/mbm.lua @@ -158,16 +158,26 @@ function main_entity(source, tier) if (source.name == 'mining-drill' or source.name == 'big-mining-drill') then for _, e in pairs({'graphics_set', 'wet_mining_graphics_set'}) do - if item[e] and item[e].animation then - for _, d in pairs(item[e].animation) do - if d.layers then - for _, l in pairs(d.layers) do - if not l.draw_as_shadow then - l.tint = mod_tint[tier] + if item[e] then + if item[e]['animation'] then + for _, d in pairs(item[e]['animation']) do + if d.layers then + for _, l in pairs(d.layers) do + if not l.draw_as_shadow then + l.tint = mod_tint[tier] + 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