How to use item.icons?
Posted: Wed Nov 24, 2021 4:29 am
Was wondering if someone could give me a quick rundown on how to properly use the icons property on items?
Basically, I'm looping through all items, and for each one that has a fuel_category of "chemical", I'm creating a new recipe and item that takes this item as an input. But I'm going to need different icons for them all so they are distinguishable from each other as they'll have different fuel_value(s) themselves based on the input item. I was thinking of just simply using the compilatron-chest.png icon for the base icon, then layer the fuel icon on top of it (though ideally I'd want to shrink it some) and want it to work with mod added fuels.
It's either that or I just use 1 output item with just the one fuel_value from multiple recipes and just scale the input quantity of the fuel item based on its fuel_value, but that seems boring and restrictive. :/
Basically, I'm looping through all items, and for each one that has a fuel_category of "chemical", I'm creating a new recipe and item that takes this item as an input. But I'm going to need different icons for them all so they are distinguishable from each other as they'll have different fuel_value(s) themselves based on the input item. I was thinking of just simply using the compilatron-chest.png icon for the base icon, then layer the fuel icon on top of it (though ideally I'd want to shrink it some) and want it to work with mod added fuels.
It's either that or I just use 1 output item with just the one fuel_value from multiple recipes and just scale the input quantity of the fuel item based on its fuel_value, but that seems boring and restrictive. :/