PDA

View Full Version : Tooltips



Zarestia
September 5th, 2022, 15:29
This extension creates tooltips for the supported nodes which you can see while hovering over each name. The tooltip also gets updated if the node itself is updated. Most common special characters get converted to display correctly on the tooltip, this is not feasible for tables.

Forge Link: https://forge.fantasygrounds.com/shop/items/829/view

Supported Rulesets:
2E, 3.5E, PFRPG, 4E, 5E, SFRPG, PFRPG2

Supported nodes:
Spells/Powers, Traits/Feats/etc. (everything except normal textlines in the abilities tab)

Things I'd like to do with this in the future which are more complex:
- Items with respect to identified/unidentified
- NPC feats for 3.5E/PFRPG

I've tested every supported ruleset with at least dummy data. If you find any issues, please post them in this thread.

This extension is pretty modular and additional rulesets or nodes can be easily added.
This is the data format. You can of course also use the global TooltipManager functions I provide to create your own.
I need the following information:
- Ruleset name (e.g. 5E, I added DND)
- Node type name (e.g. powers)
- Each DB node name and the corresponding wanted label if it's different from the capitalized DB node name
- Windowclass information to join (name, node)

DND5E = {
powers = {
{ "name", "" },
{ "level", "" },
{ "school", "" },
{ "ritual", "" },
{ "castingtime", "Casting Time" },
{ "range", "" },
{ "components", "" },
{ "duration", "" },
{ "description", "" }
};

https://forge.fantasygrounds.com/images/ba661e05109f79f0f776b4d575195904.jpeg

https://forge.fantasygrounds.com/images/1b232d90bce2f441b0ab9ed66c8df35c.jpeg

masteryogurt
September 7th, 2022, 14:23
This is AWESOME. My players are going to flip on Thursday when they see it -- there is no reason this shouldn't be built directly into these rulesets.

Thank you!

MeAndUnique
September 11th, 2022, 16:05
Seconded on this being fantastic!

GKEnialb
September 11th, 2022, 17:31
Really useful. Great job!

Morenu
September 12th, 2022, 11:44
Love it!!

Is there a way you could make the mouse over only the first 11/4 or so of the box so the popup is more intentional and less accidentally activated?

Zarestia
September 12th, 2022, 13:17
... only the first 11/4 or so of the box so the popup is more intentional and less accidentally activated?

I'm not familiar with what 11/4 should mean. Did you mean the first quarter?

Hmmm, I could add a little info icon as a prefix or suffix to the name, of course optional :)
I'll have to tinker a bit with that in the coming days, got some other more urgent things to do first.

Morenu
September 12th, 2022, 15:38
I'm not familiar with what 11/4 should mean. Did you mean the first quarter?

Hmmm, I could add a little info icon as a prefix or suffix to the name, of course optional :)
I'll have to tinker a bit with that in the coming days, got some other more urgent things to do first.

Ha my new G915 keyboard has a sticky #1 key. so yes I meant can you have an option to set the mouse over info either to the first 1/4 of the spell,feat... or an icon added to each you mouse over, OR even better how about an option that you mouse over on the red button you click on to open it in its own window. so you rest the cursor on it to preview or click it to open a window?

Zarestia
September 23rd, 2022, 19:55
v1.1 Add option for showing on shortcut
(https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.1)
Added

Per user option to show tooltips on the shortcut instead. The default is off. This does not work in 4E fo abilities as they are funky coded :|

Fixed

Some other errors in 4E


I'll put it live as soon as Forge is done reviewing my changes ...

Morenu
September 25th, 2022, 16:54
did it get reviewed? :) i have seen several of your others push out after this post so just wondering. I believe you are now in my top 3 "coders" of the extensions we use. Thank you for all the hard work.

Zarestia
September 25th, 2022, 22:00
did it get reviewed? :) i have seen several of your others push out after this post so just wondering. I believe you are now in my top 3 "coders" of the extensions we use. Thank you for all the hard work.

Yes, thanks for reminding me and the kind words.
I had to fix some things in my homelab so I forgot to put it live.

Zarestia
September 26th, 2022, 23:28
v1.1-hotfix1 Debug fix (https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.1-hotfix1)

Fixed

Got rid of overseen debug code

Zarestia
December 22nd, 2022, 19:26
v1.2 NPC feat information for 3.5e & PFRPG (https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.2)

Added

Hover tooltips for NPC feats (3.5e/PFRPG)
Doubleclick for NPC feats opens the corresponding feat (3.5e/PFRPG)


The feat must be somewhere in a loaded module, otherwise nothing gets displayed.


I'm not that familiar with the other rulesets, if more can benefit from this feature, let me know, it's fairly simple to add rulesets.

Ulric
December 23rd, 2022, 15:45
v1.2 NPC feat information for 3.5e & PFRPG (https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.2)

Added

Hover tooltips for NPC feats (3.5e/PFRPG)
Doubleclick for NPC feats opens the corresponding feat (3.5e/PFRPG)


The feat must be somewhere in a loaded module, otherwise nothing gets displayed.


I'm not that familiar with the other rulesets, if more can benefit from this feature, let me know, it's fairly simple to add rulesets.
Please extend your ext to Starfinder NPCs.

Zarestia
December 23rd, 2022, 17:00
v1.3 NPC feats for SFRPG (https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.3)

Added

NPC feats now also work in SFRPG

Changed

Made code more modular (searches now in campaign and modules for feats among other things)

Zarestia
February 23rd, 2023, 23:33
v1.4 Feb-2023 ruleset update (https://github.com/ZarestiaDev/Tooltips/releases/tag/v1.4)

Changed

Updated to reflect the ruleset changes
Updated the folder and file hierarchy
Tooltips now has their own options heading

Zarestia
February 24th, 2023, 01:04
Just pushed an hotfix for some namechanges which slipped through, should all be fine now.

Hjorimir
February 25th, 2023, 13:33
I can't get this to work in my AD&D 2e game, but it works fine in my 5e campaign.

Zarestia
February 25th, 2023, 13:50
I can't get this to work in my AD&D 2e game, but it works fine in my 5e campaign.

AD&D 2e is probably lacking behind in the Feb-2023 updates, I'll take a look to reimplement functionality for that ruleset.

Hjorimir
February 25th, 2023, 13:51
Thanks!

Zarestia
February 25th, 2023, 14:05
Thanks!

I just tested and it works just fine for me with powers/spells and abilites.
Make sure you've got version 1.4 in chat for Tooltips. And check the Tooltips option at the bottom of the options menu. You might've changed it so tooltips are only shown on the shortcut and not on the name.

masteryogurt
February 25th, 2023, 15:53
Update: I installed this a few months ago. One player noticed and they started debating whether it was always a feature or if was just added in an FG update. (“No, this has always been a thing” was winning.)

Told them it was mod, they said “oh cool”, and now we just use it all the time.

Hjorimir
February 25th, 2023, 16:26
I'm missing something here. I don't see a "Tooltips option at the bottom of the options menu." What section of options is this listed under?

Hjorimir
February 25th, 2023, 16:28
Never mind! PEBKAC issue here! So sorry to have bothered you. Very thankful your quick support though!

Zarestia
February 25th, 2023, 18:29
Never mind! PEBKAC issue here! So sorry to have bothered you. Very thankful your quick support though!

Glad you got it sorted out!

Klandare
December 2nd, 2023, 18:21
Not sure if you have looked to see how this extension works:
https://www.dmsguild.com/product/357814/Fantasy-Grounds-Link-Fill

But it allows the entries for things like spells and stuff that can get automatically added to characters to follow the link (for things like the PHB) and show that description.

If this could be integrated (or if you have this additional extension) to show the linked info in the tooltip would be great.

I love this extension for showing info without having to open each item; but I can't use it since almost all features/spells/items/etc are ones where they have a link to the item so that it auto populates the needed stuff like save/damage/functions.

Zarestia
March 9th, 2024, 13:35
v1.5 March 2024 ruleset updates


Added compatibility with the March 2024 ruleset updates


Forge is updated.

@Klandare: That link is not working anymore. Does that extension still exist?

Klandare
March 9th, 2024, 16:55
v1.5 March 2024 ruleset updates


Added compatibility with the March 2024 ruleset updates


Forge is updated.

@Klandare: That link is not working anymore. Does that extension still exist?

Pretty sure it is the same as this one on the forge https://forge.fantasygrounds.com/shop/items/1607/view

Zarestia
March 9th, 2024, 20:44
Pretty sure it is the same as this one on the forge https://forge.fantasygrounds.com/shop/items/1607/view

Thanks, I'll take a look. Though it'll probably take a while.

The Judge
August 13th, 2025, 20:39
Thought I would ask if this was related to your tooltips extension, which showed up today
[8/13/2025 12:18:43 PM] [WARNING] template: Could not find template (tooltipres) in class (option_entry_number)