Generating fancy Tooltips
Posted: Sat Jun 10, 2017 8:30 pm
Hi All.
I know to easily create a button with a plain text Tooltip...
Is there any easyish way to generate a tooltip with custom rich string formatting (Bold etc.) ? Or even better add some inline icons/images?
Is it possible to somehow get a custom button in a mod to display a base-game fancy Tooltip (eg: the base Recipe tooltip that shows the craft time, ingredients with icons and other info)?
Cheers.
I know to easily create a button with a plain text Tooltip...
Code: Select all
game.player.gui.center.add{type="button", caption="hello", tooltip="This is a tooltip."}
Is it possible to somehow get a custom button in a mod to display a base-game fancy Tooltip (eg: the base Recipe tooltip that shows the craft time, ingredients with icons and other info)?
Cheers.