[Genhis][2.0.50] elem_tooltip for recipe-with-quality doesn't show properly
Posted: Thu May 22, 2025 6:54 pm
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 this is what the tooltip should look like (as seen in assembling machine)
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 this is what the tooltip should look like (as seen in assembling machine)