In PHI-CL 3.0.146, laser-turret-2/3, tesla-turret-2/3, and railgun-turret-2/3 do not fire even when powered.
I think the cause is in the energy_source scaling logic in data/b/main.lua.
buffer_capacity, input_flow_limit, and output_flow_limit are under item.energy_source, but the current code checks item[v].
Because of this, the upgraded turrets have increased attack energy consumption, but their energy_source.buffer_capacity is not scaled. As a result, they cannot store enough energy for one shot.
Suggested fix:
and item[v] then
to
and item.energy_source[v] then
I confirmed this by creating a small dependency patch mod that adjusts energy_source.buffer_capacity, input_flow_limit, and output_flow_limit. After applying the patch, the affected turrets fired correctly.