"Baking" layered recipe icons (Python)
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
"Baking" layered recipe icons (Python)
-
Last edited by Deadlock989 on Fri Jan 12, 2024 6:47 pm, edited 17 times in total.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: "Baking" layered recipe and item icons (Python)
-
Last edited by Deadlock989 on Fri Jan 12, 2024 6:47 pm, edited 1 time in total.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: "Baking" layered recipe and item icons (Python)
-
Last edited by Deadlock989 on Fri Jan 12, 2024 6:47 pm, edited 1 time in total.
Re: "Baking" layered recipe and item icons (Python)
In my own experience I have noticed that not all recipes have icons. If the mod owner has not defined on the game will work out an icon based on the main_product.
@theRustyKnife has made this helper library mod .. https://mods.factorio.com/mod/rusty-locale .. which has taken over a lot of the hard work. If you look at the home page for the mod, there are methods to get the correct localised_name and icons for a prototype.
@theRustyKnife has made this helper library mod .. https://mods.factorio.com/mod/rusty-locale .. which has taken over a lot of the hard work. If you look at the home page for the mod, there are methods to get the correct localised_name and icons for a prototype.
Re: "Baking" layered recipe and item icons (Python)
As for layered icons its ODD that the game does not merge all the layers together when it forms the atlas images, after that point the icons are not going to change.
I wonder if we could poke WUBE into do some optimization and instead of relying on the graphics cards to layer all the icons as they are displayed on the map, pre-bake them during the process that builds the atlas.
PS Maybe they have already done this optimization, but have not talked about it.
I wonder if we could poke WUBE into do some optimization and instead of relying on the graphics cards to layer all the icons as they are displayed on the map, pre-bake them during the process that builds the atlas.
PS Maybe they have already done this optimization, but have not talked about it.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: "Baking" layered recipe and item icons (Python)
-
Last edited by Deadlock989 on Fri Jan 12, 2024 6:49 pm, edited 1 time in total.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: "Baking" layered recipe and item icons (Python)
-
Last edited by Deadlock989 on Fri Jan 12, 2024 6:48 pm, edited 1 time in total.
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm