bmarian / token-tooltip-alt

A module that adds a tooltip next to the currently hovered token to show some useful information for players and DMs.
MIT License
9 stars 15 forks source link

[FEATURE REQUEST] Name doesn't show up unless some other value is present. #96

Open ksignorini opened 2 years ago

ksignorini commented 2 years ago

Is your feature request related to a problem? Please describe. Option to allow players to see all the token names does not exist. Only options are: NONE, OWNED, NEUTRAL, FRIENDLY, HOSTILE

Describe the solution you'd like There should also be an ALL option.

Describe alternatives you've considered None.

Additional context Foundry's built-in show-on-hover for token names can be quite hard to see. The players would LOVE to be able to see token names for all tokens when Alt/Opt is pressed, even when there are no other tooltips being shown for a particular type of token.

In one of the systems I play in, Star Wars, both players and npcs can be of type Character. So in order to allow players to see both NPC (hostile) and other PC (friendly) names on hover or Alt/Opt press, an ALL option would be required.

image

bmarian commented 2 years ago

Hi there, I might have explained that feature badly.

This option functions more like this: if you pick NEUTRAL, then your players will see tooltips for OWNED -> FRIENDLY -> NEUTRAL. So if you want them to see tooltips for everyone, you should just pick HOSTILE.

ksignorini commented 2 years ago

Hi there, I might have explained that feature badly.

This option functions more like this: if you pick NEUTRAL, then your players will see tooltips for OWNED -> FRIENDLY -> NEUTRAL. So if you want them to see tooltips for everyone, you should just pick HOSTILE.

OK, I understand the permission structure now (though it could be clearer that when you pick an option lower in the list, it includes all the other permissions above it).

The real problem, or functionality that I'm hoping for, is that I would like the token Name to be shown in a tooltip for the Players, based on the option chosen in None/Owned/Friendly/Neutral/Hostile, even if no other values are listed for the tooltip. For example, for Hostiles, I want the players to be able to see the token Name, but no other values.

Thanks! Great module!