From 68f7249b3a5db4c414e400227491da7f5df957b7 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 20 Jun 2026 00:32:26 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mbm.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PHI-CL/data/b/mbm.lua b/PHI-CL/data/b/mbm.lua index a4a6bb4..ebb3f4a 100644 --- a/PHI-CL/data/b/mbm.lua +++ b/PHI-CL/data/b/mbm.lua @@ -136,6 +136,14 @@ function main_entity(source, tier) elseif source.type == 'agricultural-tower' then item.radius = item.radius + (1 * (tier - source.min + 1)) + + if item['graphics_set'] and item['graphics_set']['animation'] and item['graphics_set']['animation'].layers then + for _, l in pairs(item['graphics_set']['animation'].layers) do + if not l.draw_as_shadow then + l.tint = mod_tint[tier] + end + end + end end item.localised_name = (tier > 1 and {'phi-cl.combine', {'?', {'entity-name.' .. source.ref_name}, {'name.' .. source.ref_name}}, tostring(tier)}) or {'?', {'entity-name.' .. source.ref_name}, {'name.' .. source.ref_name}}