Expose rendering of specialized tooltips
Posted: Thu Mar 14, 2019 7:10 am
Proposed behavior:
If a LuaGuiElement's tooltip consists only of a rich tag string, i.e. "[entity=assembling-machine-1]", "[item=iron-plate]", display the tooltip as used when hovering over such a tag string in chat.
Current behavior:
Setting these special strings shows only the icon of the entity, item, or recipe, as if the tooltip were "[img = item/iron-plate]", etc.
Motivation:
Item and recipe browsing mods such as FNEI would strongly benefit from having a consistent tooltip experience with vanilla GUI elements.
If a LuaGuiElement's tooltip consists only of a rich tag string, i.e. "[entity=assembling-machine-1]", "[item=iron-plate]", display the tooltip as used when hovering over such a tag string in chat.
Current behavior:
Setting these special strings shows only the icon of the entity, item, or recipe, as if the tooltip were "[img = item/iron-plate]", etc.
Motivation:
Item and recipe browsing mods such as FNEI would strongly benefit from having a consistent tooltip experience with vanilla GUI elements.