https://mods.factorio.com/mod/fluid-memory-storage
Some people have reported crashes when you connect a pipe to the unit however it works fine for most players.
Here is the prototype data
Code: Select all
{
name = 'fluid-memory-unit',
type = 'storage-tank',
icon = '__fluid-memory-storage__/graphics/icon/fluid-memory-unit.png',
icon_size = 64,
fluid_box = {
base_area = 10000,
pipe_covers = pipecoverspictures(),
pipe_connections = {
{position = {0, 2}},
{position = {0, -2}},
{position = {2, 0}},
{position = {-2, 0}}
}
},
two_direction_only = true,
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
window_bounding_box = {{-1, -1}, {1, 1}},
flags = {'placeable-player', 'placeable-neutral', 'hidden', 'not-selectable-in-game', 'not-blueprintable', 'not-deconstructable', 'not-flammable', 'not-upgradable'},
pictures = {
picture = nothing,
fluid_background = nothing,
window_background = nothing,
flow_sprite = nothing,
gas_flow = nothing
},
flow_length_in_ticks = 5000,
collision_mask = {},
selectable_in_game = false,
remove_decoratives = 'false'
}