I just thinking how create all stacked icons for Krastorio 2, they are many, so I suppose that via code is possible create a function that simulate stacked object returing an icons table with icon shifted a bit copied three time over the same icon.
But I discover that public API interface call:
deadlock.add_stack(item_name, graphic_path, target_tech, icon_size, item_type, mipmap_levels)
use directly the icon_path, so is impossible pass an icons.
Is there a possibility of use icons in next updates?
I think that because graphic_path should be a string, if instead is a table, should be easy modify the standard function with an type check without change the old function behaviour.