This commit is contained in:
2024-10-30 23:48:24 +09:00
parent 8c7de4fe4b
commit 98018c685d
2 changed files with 6 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "3.0.3", "version": "3.0.4",
"factorio_version": "2.0", "factorio_version": "2.0",
"date": "2024-10-30", "date": "2024-10-31",
"title": "Phidias Collection", "title": "Phidias Collection",
"author": "PHIDIAS0303", "author": "PHIDIAS0303",
"contributers": "", "contributers": "",

View File

@@ -157,8 +157,8 @@ function main.EEE(source, tier)
end end
elseif source.type == 'radar' then elseif source.type == 'radar' then
item.max_distance_of_sector_revealed = item.max_distance_of_sector_revealed + (2 * tier) item.max_distance_of_sector_revealed = item.max_distance_of_sector_revealed + (2 * (tier - source.min + 1))
item.max_distance_of_nearby_sector_revealed = item.max_distance_of_nearby_sector_revealed + (2 * tier) item.max_distance_of_nearby_sector_revealed = item.max_distance_of_nearby_sector_revealed + (2 * (tier - source.min + 1))
elseif source.type == 'thruster' then elseif source.type == 'thruster' then
for _, v in pairs({'min_performance', 'max_performance'}) do for _, v in pairs({'min_performance', 'max_performance'}) do
@@ -171,8 +171,7 @@ function main.EEE(source, tier)
item.consumption = tostring(tonumber(string.match(item.consumption, '[%d%.]+')) * tier) .. string.match(item.consumption, '%a+') item.consumption = tostring(tonumber(string.match(item.consumption, '[%d%.]+')) * tier) .. string.match(item.consumption, '%a+')
elseif source.type == 'agricultural-tower' then elseif source.type == 'agricultural-tower' then
item.max_distance_of_sector_revealed = item.max_distance_of_sector_revealed + (2 * tier) item.radius = item.radius + (1 * (tier - source.min + 1))
item.max_distance_of_nearby_sector_revealed = item.max_distance_of_nearby_sector_revealed + (2 * tier)
end end
tint_handle(item, tier, {'picture', 'pictures', 'frames', 'working_visualisations', 'animation', 'horizontal_animation', 'vertical_animation', 'structure', 'integration_patch', 'graphics_set'}) tint_handle(item, tier, {'picture', 'pictures', 'frames', 'working_visualisations', 'animation', 'horizontal_animation', 'vertical_animation', 'structure', 'integration_patch', 'graphics_set'})