How do I call the vanilla tooltip?

Place to get help with not working mods / modding interface.
sdgmlj
Fast Inserter
Fast Inserter
Posts: 174
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

How do I call the vanilla tooltip?

Post by sdgmlj »

I want to display it on "Sprite button". I don't want to use "choose elem button" because it doesn't allow "number" to be displayed. How should I write it? tooltip = ???

Thank you
Attachments
屏幕截图 2022-06-18 195152.jpg
屏幕截图 2022-06-18 195152.jpg (27.45 KiB) Viewed 1489 times
User avatar
yaim904
Fast Inserter
Fast Inserter
Posts: 111
Joined: Wed Nov 17, 2021 11:26 pm
Contact:

Re: How do I call the vanilla tooltip?

Post by yaim904 »

Hello,

If what you want is to modify the tooltip that is generated in vanilla, I am sorry to cut it off, it is not possible.

If what you want is to replace it, it can be done, following the styles available in the game.

If you need, I can explain the second in a better way.
Solo entiendo español, pero si tu también lo entiendes, escríbeme
:D
Everything i write in English is translated by Deepl.
:D
User avatar
yaim904
Fast Inserter
Fast Inserter
Posts: 111
Joined: Wed Nov 17, 2021 11:26 pm
Contact:

Re: How do I call the vanilla tooltip?

Post by yaim904 »

Hello,

I think I was wrong,
I found this MOD that does what you want and is quite easy to understand.

Stack Size Tooltip

I hope it is helpful.
Solo entiendo español, pero si tu también lo entiendes, escríbeme
:D
Everything i write in English is translated by Deepl.
:D
PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

Re: How do I call the vanilla tooltip?

Post by PFQNiet »

There is no combination of GUI elements that allows a sprite with number, and a built-in tooltip.

I requested this feature some time ago but have had no luck yet.
Post Reply

Return to “Modding help”