Here's some of my code:
Code: Select all
data:extend(
{
{
type = "storage-tank",
name = "storage-tank-2",
icon = "__base__/graphics/icons/storage-tank.png",
flags = {"placeable-player", "player-creation"},
minable = {hardness = 0.2, mining_time = 3, result = "storage-tank-2"},
max_health = 1000,
corpse = "medium-remnants",
collision_box = {{-2.6, -2.6}, {2.6, 2.6}},
selection_box = {{-3.0, -3.0}, {3.0, 3.0}},
fluid_box =
{
base_area = 250,
pipe_covers = pipecoverspictures(),
pipe_connections =
{
{ position = {-1, -4} },
{ position = {4, 1} },
{ position = {1, 4} },
{ position = {-4, -1} },
},
},
picture =
{
sheet = "__SandeTch__/graphics/entity/storage-tank-2.png",
priority = "extra-high",
frames = 2,
width = 280,
height = 230,
shift = {1.3750, 0.218750}
},
},
}
)