mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-01-01 04:31:40 +09:00
Update data.lua
This commit is contained in:
@@ -19,12 +19,19 @@ local function EE(source, tier)
|
||||
|
||||
if item.fluid_boxes ~= nil then
|
||||
for k, _ in pairs(item.fluid_boxes) do
|
||||
if item.fluid_boxes[k] ~= false and item.fluid_boxes[k] ~= true then
|
||||
if item.fluid_boxes[k].production_type ~= nil then
|
||||
if item.fluid_boxes[k].base_area == nil then
|
||||
item.fluid_boxes[k].base_area = 20
|
||||
else
|
||||
item.fluid_boxes[k].base_area = item.fluid_boxes[k].base_area * 2
|
||||
end
|
||||
|
||||
item.fluid_boxes[k].height = 2
|
||||
end
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user