Here's the issue:
In deepcore-mining-items.lua
the function electric_mining_drill_smoke()
is defined:
function electric_mining_drill_smoke()
return
{
filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-smoke.png",
line_length = 6,
width = 24,
height = 38,
frame_count = 30,
animation_speed = 0,4,
direction_count = 1,
shift = util.by_pixel(0, 2),
hr_version =
{
filename = "__base__/graphics/entity/electric-mining-drill/hr-electric-mining-drill-smoke.png",
line_length = 6,
width = 48,
height = 72,
frame_count = 30,
animation_speed = 0,4,
direction_count = 1,
shift = util.by_pixel(0, 3),
scale = 0.5,
}
}
end
The animation speed is broken, should be 0.4. But as far as I can tell Deep Core Mining does not use this function, so should not be defining it in the first place. I would strongly recommend not to overwrite base global functions, I'd suggest declaring a local copy at minimum, and a global named uniquely to the mod at most.