I'm trying to update my mod that reskins Bob's basic splitter, only he hasn't chosen to implement structure_patch (which would involve using the new sprites from 0.18, where they split east/west splitters into top/bottom sprite sheets).
There MUST be a way to add the "structure_patch" property, but I'm not sure how to do it.
I had been trying to use this:
Code: Select all
table.insert(data.raw["splitter"]["basic-splitter"],
{
structure_patch =
{
north = ...
east = ...
south = ...
west = ...
}
})
Code: Select all
["basic-splitter"] = {
{
structure_patch = { ...
}
},
animation_speed_coefficient = 32,
belt_animation_set = nil,
collision_box = ...
I would like to avoid simply recreating the entity; how to do this properly?