Page 1 of 1

Vanilla tooltips need a wider range of order values to make custom tooltips easier to put in the right place.

Posted: Mon Jun 15, 2026 6:28 pm
by MeteorSwarm
I am attempting to add a custom tooltip to planets indicating a rocket part multiplier value. I want this multiplier to be next to the robot energy multiplier, but since vanilla tooltips all seem to have an order of 100, setting the order to 100 places the tooltip before every other tooltip, and setting the order to 101 places the tooltip after every other tooltip. Custom tooltips would be a lot more customizable if vanilla tooltips were given a wider range of order values so that custom tooltips could fit in between them.
Rocket part multiplier tooltip, order = 100
Rocket part multiplier tooltip, order = 100
06-15-2026, 11-24-03.png (225.6 KiB) Viewed 89 times
Rocket part multiplier tooltip, order = 101
Rocket part multiplier tooltip, order = 101
06-15-2026, 11-28-17.png (230.15 KiB) Viewed 89 times

Re: Vanilla tooltips need a wider range of order values to make custom tooltips easier to put in the right place.

Posted: Mon Jun 15, 2026 6:47 pm
by Bilka
Could your specific usecase be solved with making a full new SurfacePropertyPrototype instead of only modifying the tooltip?

Re: Vanilla tooltips need a wider range of order values to make custom tooltips easier to put in the right place.

Posted: Mon Jun 15, 2026 8:23 pm
by MeteorSwarm
Bilka wrote: Mon Jun 15, 2026 6:47 pm Could your specific usecase be solved with making a full new SurfacePropertyPrototype instead of only modifying the tooltip?
Yes, that would be a solution to my problem, but because I don't consider this value a surface property, doing that would be a hack that I'd prefer to avoid.