For Deep Mine I'm generating a module to add mining productivity to assembler type mines:
Code: Select all
{
type = "module",
name = "deep-mine-prod-module",
icon = "__core__/graphics/empty.png",
icon_size = 1,
flags = { "hidden" },
subgroup = "module",
category = "productivity",
tier = 0,
stack_size = 1,
effect = { productivity = {bonus = 0.02}} -- productivity step size is 2% we use as many as actual force mining-bonus requires
},
Code: Select all
AtlasSystem.cpp:1204: The given sprite rectangle (left_top=0x0, right_bottom=32x32) is outside the actual sprite size (left_top=0x0, right_bottom=1x1).
Sprite name: __core__/graphics/empty.png.: __core__/graphics/empty.png
Setting the icon to any 32x32 icon, even leaving the size at 1 it loads without problem.