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