[Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly

SWeini
Inserter
Inserter
Posts: 43
Joined: Mon Apr 04, 2022 6:43 am
Contact:

[Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly

Post by SWeini »

I try to use a sprite-button for a quality recipe (using the new LuaGuiElement.quality) and have a corresponding tooltip, but the tooltip doesn't work properly

basically this
{ type = "sprite-button", sprite = "recipe/foo", quality = "bar", elem_tooltip = { type = "recipe-with-quality", name = "foo", quality = "bar" } }

this is what the tooltip looks like
05-22-2025, 20-52-45.png
05-22-2025, 20-52-45.png (33.36 KiB) Viewed 46 times
this is what the tooltip should look like (as seen in assembling machine)
05-22-2025, 20-53-27.png
05-22-2025, 20-53-27.png (541.57 KiB) Viewed 46 times
Post Reply

Return to “Assigned”