This commit is contained in:
2026-06-20 00:34:43 +09:00
parent 68f7249b3a
commit b845c0e98b
+4 -3
View File
@@ -51,6 +51,7 @@ function main_entity(source, tier)
end
item.call_for_help_radius = (item.call_for_help_radius and (item.call_for_help_radius + (2 * (tier - source.min + 1)))) or nil
end
if source.type == 'electric-turret' then
item.glow_light_intensity = 1
@@ -63,10 +64,10 @@ function main_entity(source, tier)
item.attack_parameters.ammo_type.energy_consumption = (item.attack_parameters.ammo_type.energy_consumption and (tonumber(string.match(item.attack_parameters.ammo_type.energy_consumption, '[%d%.]+')) * (2 ^ (tier - source.min + 1)) .. string.match(item.attack_parameters.ammo_type.energy_consumption, '%a+'))) or nil
end
end
elseif source.type == 'fluid-turret' then
item.prepare_range = item.prepare_range + (2 * (tier - source.min + 1))
end
if source.type == 'fluid-turret' then
item.prepare_range = item.prepare_range + (2 * (tier - source.min + 1))
end
if (source.type == 'lab') then