This commit is contained in:
2023-05-08 23:59:35 +09:00
parent 8f6573fa67
commit 77f5175353
2 changed files with 6 additions and 1 deletions

View File

@@ -12,3 +12,8 @@ data.raw['ammo-turret']['gun-turret-3'].fast_replaceable_group = data.raw['ammo-
data.raw['fluid-turret']['flamethrower-turret'].fast_replaceable_group = 'flamethrower-turret'
data.raw['fluid-turret']['flamethrower-turret-2'].fast_replaceable_group = data.raw['fluid-turret']['flamethrower-turret'].fast_replaceable_group
data.raw['fluid-turret']['flamethrower-turret-3'].fast_replaceable_group = data.raw['fluid-turret']['flamethrower-turret-2'].fast_replaceable_group
-- radar
data.raw['radar']['radar'].fast_replaceable_group = 'radar'
data.raw['radar']['radar-2'].fast_replaceable_group = data.raw['radar']['radar'].fast_replaceable_group
data.raw['radar']['radar-3'].fast_replaceable_group = data.raw['radar']['radar-2'].fast_replaceable_group

View File

@@ -66,7 +66,7 @@ local function EE(source, tier)
elseif source.type == 'radar' then
item.max_distance_of_sector_revealed = item.max_distance_of_sector_revealed + (2 * tier)
item.max_distance_of_nearby_sector_revealed = item.max_distance_of_nearby_sector_revealed + (2 * tier)
item.energy_usage = item.energy_usage * (1 + (0.5 * tier))
item.energy_usage = 300 * (1 + (0.5 * tier)) .. 'kW'
end
-- item.animation.layers[1].filename = graphics_location .. source .. '-e.png'