mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user