Code: Select all
local chest = util.table.deepcopy(data.raw["linked-container"]["linked-chest"])
chest.name = "linked-chest-3"
chest.minable.result = "linked-chest-3"
chest.inventory_size = 48
chest.hidden = false
chest.icon = "__base__/graphics/icons/storage-chest.png"
chest.drawing_box = {{-1.5, -0.5}, {1.5, 0.5}}
chest.selection_box = {{-1.5, -0.5}, {1.5, 0.5}}
chest.collision_box = {{-1.4, -0.4}, {1.4, 0.4}}
chest.pictures =
{
north =
{
{
filename = path.."linked-chest.png",
priority = "extra-high",
width = 192,
height = 80,
scale = 0.5
},
},
south =
{
{
filename = path.."linked-chest.png",
priority = "extra-high",
width = 192,
height = 80,
scale = 0.5
},
},
east =
{
{
filename = path.."linked-chest-h.png",
priority = "extra-high",
width = 64,
height = 208,
scale = 0.5
},
},
west =
{
{
filename = path.."linked-chest-h.png",
priority = "extra-high",
width = 64,
height = 208,
scale = 0.5
},
},
}