I guess the vanilla tank doesn't need pipe_picture defined in its fluid box because it's all baked into the base sprite. But I expected that a fluid box is a fluid box is a fluid box.
The storage tank fluid_box definition:
Code: Select all
fluid_box = {
base_area = 20,
pipe_connections = {
{ position = {0,-1} },
{ position = {1,0} },
{ position = {0,1} },
{ position = {-1,0} },
},
pipe_covers = pipecoverspictures(),
pipe_picture = {
north = get_layer("machines/flare-stack-pipe-pictures", nil, nil, false, nil, nil, 46, 6, 41, 18, 128, 128, {0,1}),
east = get_layer("machines/flare-stack-pipe-pictures", nil, nil, false, nil, nil, 2, 50, 94, 36, 128, 128, {-1,0}),
south = get_layer("machines/flare-stack-pipe-pictures", nil, nil, false, nil, nil, 50, 26, 39, 70, 128, 128, {0,-1}),
west = get_layer("machines/flare-stack-pipe-pictures", nil, nil, false, nil, nil, 2, 50, 32, 36, 128, 128, {1,0}),
},
secondary_draw_orders = { north = -1 }
},