This commit is contained in:
2023-05-08 15:26:22 +09:00
parent bc50600fc4
commit e830a1d441
8 changed files with 39 additions and 21 deletions

View File

@@ -17,6 +17,15 @@ local function EE(source, tier)
item.energy_source.emissions_per_minute = item.energy_source.emissions_per_minute * (2 ^ (tier - source.min + 1))
end
if item.fluid_boxes ~= nil then
for k, _ in pairs(item.fluid_boxes) do
if item.fluid_boxes[k].production_type ~= nil then
item.fluid_boxes[k].base_area = item.fluid_boxes[k].base_area * 2
item.fluid_boxes[k].height = 2
end
end
end
item.energy_usage = tonumber(string.match(item.energy_usage, '%d+')) * (2 ^ (tier - source.min + 1)) .. 'kW'
-- item.animation.layers[1].filename = graphics_location .. source .. '-e.png'
-- item.animation.layers[1].hr_version.filename = graphics_location .. source ..'-eh.png'

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-MB",
"version": "1.0.10",
"version": "1.0.11",
"factorio_version": "1.1",
"date": "2023-05-07",
"date": "2023-05-08",
"title": "Phidias Megabase",
"author": "PHIDIAS0303",
"contributers": "",