Page 1 of 1

Enable mouse-over tool tip for mod-added GUI items

Posted: Sun Jul 10, 2016 9:08 am
by Peter34
I've just started testing 0.13 seriously. I downloaded a metric wubeton of mods from the portal, old favourites and a lot of new ones, and enabled all the ones I thought wouldn't clash.

So now I have a bunch of new interface icons, those grey ones with symbols or text on them, that I don't know what do. I click on them, nothing happens. I hover the mouse over them, nothing happens.

I could of course disable those mods that I suspect of being behind GUI icons, one by one, that is spend a lot of time experimenting. But I'm a Factorio fan. And that isn't the Factorio way of doing things. I'm sure mod makers would embrace the possibility of cursor-hover tool tips, if it becomes enabled.

Re: Enable mouse-over tool tip for mod-added GUI items

Posted: Sun Jul 10, 2016 9:13 am
by prg
LuaGuiElement::tooltip

Code: Select all

/c game.player.gui.center.add{type="button", caption="hello", tooltip="This is a tooltip."}

Re: Enable mouse-over tool tip for mod-added GUI items

Posted: Sun Jul 10, 2016 9:45 am
by Peter34
How come mod makers aren't using that option, then?

Re: Enable mouse-over tool tip for mod-added GUI items

Posted: Sun Jul 10, 2016 9:57 am
by prg
Because it's new in 0.13 and no one has noticed it yet? If you think it would be useful for some mod, tell the author about it.