I would like to use the fancy built-in sections when developing custom tooltips for compound entities. I know that I can attach the color and icons, the thing I'm specifically requesting is the ability to have sections with a header and dividers so that they are visually distinct from the rest of the entity tooltip. Perhaps this could be implemented as CustomTooltipSection, and each custom tooltip can specify which section it should be a part of if any.
The specific use case for this is compound entities where the actual power consumption section is hidden, but I still want the player to know what kind of power is being consumed and how much. I know I can't show the current power consumption because I can't write tooltips at runtime, but it would be nice to show an expected usage.
CustomTooltipField sections
- protocol_1903
- Filter Inserter

- Posts: 420
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
CustomTooltipField sections
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
