Page 1 of 1

CustomTooltipField sections

Posted: Sun Dec 21, 2025 4:40 pm
by protocol_1903
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.
what i would like to do
what i would like to do
12-21-2025, 09-35-56.png (158.98 KiB) Viewed 165 times
what i can currently do
what i can currently do
12-21-2025, 09-39-32.png (107.45 KiB) Viewed 165 times

Re: CustomTooltipField sections

Posted: Mon Dec 22, 2025 10:20 am
by Osmo
+1