[Twinsen][0.16.21] I broke a fluid box (division by 0?)
Posted: Mon Feb 12, 2018 10:51 am
While experimenting around with an assemblers fluidbox it broke in a weird way. (thread)
I guess height=0 is causing division by 0 somewhere?
I've attached the mod and a demonstration savegame (place a pipe to make it happen) in case needed.
Code: Select all
local f = data.raw["assembling-machine"]["assembling-machine-3"].fluid_boxes
f[1]. pipe_connections = {
{ type="input-output", position = {0, -2} },
{ type="input-output", position = {0, 2} },
}
f[1]. base_area = 1
f[1]. height = 0
f[1]. base_level = 0
I've attached the mod and a demonstration savegame (place a pipe to make it happen) in case needed.