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.