However, it seems that the shadows don't move with them.
Code: Select all
local inserter_connector_definitions = circuit_connector_definitions.create_vector(
universal_connector_template,
{
{ variation = 0, main_offset = util.by_pixel(5, -3), shadow_offset = util.by_pixel(9, 1), show_shadow = true, render_layer = 'higher-object-under', },
{ variation = 6, main_offset = util.by_pixel(0, -2), shadow_offset = util.by_pixel(4, 3), show_shadow = true, render_layer = 'higher-object-under', },
{ variation = 4, main_offset = util.by_pixel(-4, -5), shadow_offset = util.by_pixel(0, -1), show_shadow = true, render_layer = 'higher-object-under , },
{ variation = 2, main_offset = util.by_pixel(1, -10), shadow_offset = util.by_pixel(5, -6), show_shadow = true, render_layer = 'higher-object-under', },
}
)
