quantity on sprite button

Place to get help with not working mods / modding interface.
Post Reply
Hermios
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Sat Aug 13, 2016 2:57 pm
Contact:

quantity on sprite button

Post by Hermios »

Hi
Is that possible, when having a sprite button, to display the quantity of the item with the sprite? This is currently what we have... well, everywhere for the core (on the right panel of the player, on the middle one to ask robots for items, in the constant combinator etc.)
If not, this would be great to implement it (There are workaround, but they don't look like so good)

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: quantity on sprite button

Post by aubergine18 »

Did you ever find solution to this?
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Hermios
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Sat Aug 13, 2016 2:57 pm
Contact:

Re: quantity on sprite button

Post by Hermios »

Well, I added a label near the button. You can see it on the mod TrainReader.
This is not awsome, but I assume it cannot be better.

Post Reply

Return to “Modding help”