Skip to content

Latest commit

 

History

History
545 lines (381 loc) · 28.9 KB

CHANGELOG.md

File metadata and controls

545 lines (381 loc) · 28.9 KB

1.50.0

  • added Auto Apply Action Effect (disabled by default) which automatically applies actions self effects on use

1.49.1

  • moved all the Close Tooltip on... settings together

1.49.0

  • added Close Tooltip on Action Use (disabled by default) works for hero actions as well
  • added Close Tooltip on Skill Roll (disabled by default) works for the skills and extra sidebars (perception checks included)
  • added Close Tooltip on Macro Use (disabled by default)

1.48.0

  • added No Tooltip on Dead NPCs (disabled by default)
  • added the reposition variant for athletics skill

1.47.0

  • this is a 5.9.1 release
  • added Close Tooltip on Attack/Damage (disabled by default)
  • added Close Tooltip on Spell Cast (disabled by default)
  • added Close Tooltip on Send-to-Chat (disabled by default)
  • fixed app exceptions on hoverToken not working as intended

1.46.0

  • this is a 5.8.3 release
  • fixed localization for spells headers that were changed in the last system update

1.45.1

  • fixed the aid custom DC not being taken into account
  • changed the aid default DC to 15 in anticipation of the remaster

1.45.0

  • all the complex tooltips have been re-created using the foundry tooltip API in anticipation of the system ditching tooltipster
    • the design has been reproduced for the most part
    • the ergonomic couldn't be reproduced 1:1 due to the limitations of the API (or mine)

1.44.1

  • fixed hazard sidebar error

1.44.0

  • added a Exploration Activity section in the actions sidebar if the character is in a party
  • changed some action headers in the actions sidebar

1.43.1

  • prevent the tooltip from showing up if the token has a secret disposition and isn't owned by the player, we wouldn't want to spill the beans

1.43.0

  • this is a 5.7.2 update
  • fixed Take Cover not being a toggle
  • fixed monsterTraits not existing anymore in the system
  • fixed stamina & resolve paths having changed with latest system update
  • fixed some debug logs remaining in production

1.42.1

  • fixed error when opening the actions sidebar of an NPC with the Hero Actions or PF2e Hero Actions enabled

1.42.0

  • updated for version 1.6.0 of PF2e ToolBelt

1.41.0

  • made compatible with the PF2e ToolBelt module for both Stances and Hero Actions, it is still compatible with the standalone modules

1.40.0

  • added more support for the PF2e Staves module
    • you can now change the charges of the spells
    • when the module is not active, a broken icon will appear instead of the usual interactive menu
  • slightly increased the interactive inputs contrast to make them pop out a bit more
  • reduced the height of the number inputs in the main tooltip and sidebars
  • fixed being unable to delete equipment items

1.39.0

  • added spanish localization (thanks to HonzoNebro)

1.38.0

  • this is a system 5.6.0 release
  • updated popup inline links to be in sync with the recent system changes
  • fixed exceptional error with actorless tokens

1.37.0

  • this is a system 5.4.4 release
  • updated the popup @Damage inline links to take advantage of the new system uuid addition

1.36.0

  • this is a system 5.4.2 release
  • updated popup inline links to be in sync with the recent system changes
  • characters with the Untrained Improvisation feat will now always see all the skill actions even if the Hide Untrained Skill Actions is enabled
  • added support for kineticist elemental blasts
  • added support for usable actions
  • added traits and blurb to NPCs notes popup
  • added support for popup inline @Damage
  • fixed issue with workbench max hero points settings which has been removed in one of its latest updates
  • fixed auxiliary actions icon
  • fixed character strike labels
  • fixed equipment sidebar handlebar helper missing

1.35.0

  • added a new Notes icon for NPCs (first line next to Level), showing their notes in the popup window when clicked
  • added chinese localization
  • added french localization

1.34.2

  • fixed thrown strikes not working

1.34.1

  • fixed issue with strikes alt usages (e.g. combination strikes) which would generate an attack roll card unable to use the right alternate damage formulas when clicking on the damage and critical buttons

1.34.0

  • Recall Knowledge action is now a proper check roll and will have the extra option action:recall-knowledge to accommodate people already using it with Workbench

1.33.0

  • updated popup inline rolls to be in sync with the system 5.3.1

1.32.1

  • the module will now try to not display the sidebars over the tooltip's token

1.32.0

  • updated popup inline rolls events to be in sync with the system recent changes

1.31.0

  • added MAPs to the spell attack at the top of the spells sidebar
  • added renderHUDSidebar hook event when any sidebar is rendered
Hooks.callAll('renderHUDSidebar', type: string, sidebar: jQuery, hud: HUD)
  • removed the total modifier of strikes MAP that were added in the last system update
  • fixed encumbered being broken with the latest system update

1.30.0

  • the tooltip will now close when you start creating any kind of template preview
  • fixed Point Out not doing anything

1.29.1

  • swap Wounded and Dying icons

1.29.0

  • added Digital Pips setting, when enabled, the main tooltip will display a digital version of the pips (still works the same as regular pips when it comes to mouse clicks)
  • added support for workbench variant rule max hero points (when above 4 max points, the tooltip will render a digital version of the pips instead)
  • added Point Out action in extras sidebar when the PF2e Perception module is active
  • added other required compatibilities for the PF2e Perception module
  • changed the Wounded icon to notes-medical
  • Take Cover now uses the action instead of the effect directly
  • fixed localization issue with thrown icon
  • fixed not being able to change the worn state of items in the equipment sidebar

1.28.2

  • lore modifiers will now be aligned in the skills sidebar
  • prevent fragmentation of sidebars elements when using the Two Columns X settings

1.28.1

  • fixed lore name not showing up in the skills sidebar
  • you can now click on the lore name as well to roll the skill check instead of just its modifier in the skills sidebar

1.28.0

  • added MAP variants to the escape skill action in the extras sidebar
  • replaced the fortitude icon with a rook
  • replaced the athletics icon with the closed fist (formerly used for fortitude)
  • replaced the extras sidebar icon with something less misleading
  • replaced root-level urls to use relative path

1.27.1

  • fixed empty containers preventing the display of the equipment sidebar

1.27.0

  • this is an update for foundry 11.304
  • removed all the extra failsafes that were introduced to counter the problems with PIXI v7, this foundry update fixed them all
  • the tooltip will now close only when the canvas is clicked, clicking anywhere on the UI will not close it, allowing the use of dialogs and dropdowns
  • actions in the actions sidebar are now properly filtered out when they appear anywhere else in the tooltip (e.g. skills actions, stances actions when the PF2e Stances module is used and actions appearing in the extras sidebar)
  • the popup will now be re-rendered with the tooltip instead of closing as soon as the linked actor is updated ; IMPORTANT: the popup re-renders exactly as it was, therefore, if the actor's update actually modified the content of the popup itself, it will not be updated
  • filter now works with equipment inside containers
  • fixed unused system equipment types breaking the tooltip (looking at you book)

1.26.0

  • added support for PF2e Stances module, the stances will appear in the actions sidebar above the strikes ; contrary to how the module itself works, this one doesn't check if the actor is in combat
  • exposed getHud to the module's API, a lot of its methods have also been made public, here is how you could open the tooltip on a selected token
// get the first selected token found
const token = canvas.tokens.controlled[0]
// retrieve the HUD object
const hud = game.modules.get('pf2e-token-hud').api.getHud()
// set the token as the current HUD token
hud.setToken(token)
// render the HUD on screen
hud.render()
// lock the HUD until a click is made outside
hud.lock()

1.25.0

  • the Auto Lock becomes a multi choices setting, you can now decide to auto-lock the tooltip when hovering over it or as soon as it is rendered, it works for both the delayed and the Hold to Display rendering of the tooltip
  • added alternate usages for strikes (e.g. thrown)
  • added Spell Attack roll at the top of the spells sidebar, if the actor has a single possible modifier accross all its spellcasting entries, it will be shown there, if more than one modifier exist then a dialog to select one will pop before rolling
  • fixed hiding Unarmed Attack messing up with the other strikes indexes when they are sheathed

1.24.2

  • added a lot of html attributes in the sidebars to help third parties pinpoint what they would want to access/modify via js/css
  • removed the option to "send to container" for containers all together, should be rare enough to be handled in the sheet anyways
  • 0-hand held equipment now show the greyed shirt instead of a hand with a 0 in it
  • removed forced stowed state when sending item to container

1.24.1

  • containers inside other containers will still be shown outside to avoid nesting
  • the container the item is already in is now shown in the worn menu and is highlighted as selected
  • sending a container in another container will now remove the worn state
  • fixed containers being able to be sent to themselves
  • fixed outer container being able to be sent into containers inside another container, this was completely breaking everything when you would send a container inside a container that was inside this container

1.24.0

  • added a way to move an equipment to a container, when clicking on the worn icon, you will now be offered the option to send the item into one of the actor's containers (filters out the current container the item is in and unidentified ones)

1.23.0

  • you can now decide to display items inside their own container by clicking the new container dark cardbox, this is a per-container option, which means that you can decide to have items displayed in one container while the others still be displayed in the categories tables (this is also a per-user option)
  • added Items in Containers setting, When enabled, items in containers will always be displayed in their container
  • removed alignment from the tooltip (icons are recycled for alliance)
  • added alliance icon to the tooltip, you can click on it to change the alliance on the fly
  • added Auto Lock setting, When enabled, the tooltip will auto lock as soon as you hover over it, it will also auto lock when holding the Hold to Display keybind
  • added Last Status at 100% setting, When enabled, the last health status string will only be used for 100% instead of the last division of the health ratio (you probably want to add at least one more string to compensate)
  • added Bulk and Wealth to the equipment sidebar
  • added invested details (current and max amount) when hovering over the invest diamond of an equipment
  • two columns sidebars now look nice and cool, you have my permission to use it

1.22.0

  • added follow the expert at the top of the skills sidebar
  • fixed sidebars re-render not scrolling back to its position
  • fixed not being able to open extras sidebar on uneditable tooltips
  • fixed using Show Filter with no existing sidebar generating an error
  • fixed first character registration in the filter when using a single key Show Filter keybind
  • changed the default Show Filter keybind to Ctrl + Q, regular browsers are already using Ctrl + F to open the page's search menu

1.21.0

  • forces firefox to respect the events order when moving from a token onto its tooltip while another token is right below it (hate you firefox)
  • you can now click on the skills names instead of just the modifiers to roll a check
  • fixed the tooltip not showing up when a sense didn't have a label (Scent with an acuity of Vague is bugged in the system)

1.20.0

  • skills are now displayed by alphabetical localized order (perception still remains at the top)
  • make sure health status picks a valid string from the list even when the current HP is outside the bounds of 0 and max
  • the distance and health status elements no longer have pointer events

1.19.0

  • remade every part of the module that handled if/when/how the tooltip should be displayed, the tooltip should be more responsive and behave more as one would expect especially when using the Hold to Display keybind (v11 kinda broke everything)
  • added adjustment icon on NPC main tooltip (elite, weak, normal), left click will toggle to and from elite while right click will toggle to and from weak
  • added NPCs strike description
  • manually added action:administer-first-aid and its variants for the Administer First Aid action skill (system is missing them)
  • prevent the tooltip from showing up when hovering over the combat tracker
  • removed Disable Chat Card Hover setting, it is no longer a thing
  • fixed not being able to open description or send to chat actions in the extras sidebar
  • fixed two columns spells sidebar width (once again)

1.18.2

  • fixed two columns option not working anymore because of the filter field implementation

1.18.1

  • fixed extras tab not opening for actors that never had macros
  • prevent filter field from appearing in hazard sidebar

1.18.0

  • added filter for skills
    • if a skill passes the filter, all its actions will be displayed
    • if a skill action (or any of its variants) passes the filter, the action, its variants and the parent skill will be displayed
  • When re-using the Show Filter keybind, the sidebar will scroll to the top, focus and select the content of the filter field for easier replacement

1.17.0

  • added a filter field in the sidebars (hidden by default), filter is triggered by using the Enter key
    • actions will not filter the strikes, toggles or Hero Actions
    • extras will only filter the macros
  • added Show Filter keybind (default ctrl + F) to show the filter field, it will also scroll to the top of the sidebar and give focus to the field
  • added Always Show Filter setting, when enabled the filter field will permanently be shown at the top of the sidebars

1.16.0

  • default displayed speed will now be the highest found when land speed is 0
  • added Force Highest Speed setting, when enabled the highest speed will always be used as default even if the land speed isn't 0
  • removed equipment carry icon/menu from vehicles
  • fixed NPCs strike damage formula overflowing the button

1.15.0

  • compatible with v11
  • converted all UUIDs to v11 version
  • fixed vehicles equipment carry type error

1.14.0

  • hazards now use the actions sidebar instead of listing them at the bottom of the hazard sidebar
  • hazards now have strikes (didn't know it was a thing when i looked up hazards in the compendium)

1.13.0

  • pf2e inline flat checks are now working
  • pf2e inline links (such as DC checks) will now always be rolled as if the hovered over token was selected, overriding the selection altogether
  • moved Hazard Max Width setting to the sidebar section of the settings
  • fixed settings registration being too early to use localization for the pre-defined health statuses
  • fixed forgotten icons from an old version displayed in ritual spells
  • fixed not being able to send ritual spells to chat
  • fixed not being able to open ritual spells description popup
  • fixed pf2e inline template links creation

1.12.0

  • added a different tooltip for hazards
  • added Hazard Max Width setting which let you set the max width for the hazard sidebar
  • added a different tooltip for vehicles
  • made the base tooltip compatible with familiars
  • two columns spells will now have its width set to max to avoid overflown rows preventing the use of spells
  • pf2e specific inline links (such as DC checks) are now properly working in the popup
  • fixed some strike versatiles/auxiliaries not showing up in the actions sidebar

1.11.0

  • added Scale by Font, changing the font size will scale the entirety of the tooltip and its attached sidebars/popup
  • fixed not being able to remove/edit a macro when said macro was never cached in the browser
  • finished the README yeah!

1.10.0

  • added tooltip containing the name of the container for stowed equipment, you need to hover over the little cardbox to see it
  • added Two Columns Actions and Two Columns Equipment settings (disabled by default), honestly don't use them, it looks terrible
  • fixed two columns layout with overflowed names (as if it could really be fixed)
  • fixed some layout issues that were preventing long names in equipment and spells to be properly cut and wouldn't trigger the hover tooltip
  • did the first part of the README

1.9.2

  • fixed part of the lores table showing in the Recall Knowledge target chat message event without lore skills
  • lot of code cleaning

1.9.1

  • fixed the mix up with unspecific and specific lores

1.9.0

  • added a target version of Recall Knowledge, same principal and look as the PF2e Workbench module
  • fixed Recall Knowledge number of rows being static in the chat message

1.8.0

  • added tooltips for all the main tooltip icons (got bullied by shark, had no choice)
  • added Disable Icons Tooltips setting to disable the showing of the icons tooltips in the main tooltip
  • added a ITT Macros context menu option for actors to add/remove macros directly from the actors directory sidebar, it is mostly useful for GMs so they can setup macros on NPCs before dragging them on the board, instead of having to do it for each instance or having to copy/paste tokens every time
  • only prevent the fade out of the tooltip (when the extras sidebar is opened) if the user is the owner of the token
  • moved Recall Knowledge from the skills sidebar to the extras, the result is inspired by the work done in the PF2e Workbench
  • fixed actions toggles being squeezed when setting a max height for sidebars
  • fixed the main tooltip ranks position

1.7.0

  • added the option to select the DC for the Aid action
  • added description and send-to-chat icons for the actions in the extras sidebar
  • added Show Saves setting (default: Show Bonus) to choose between displaying the saves bonus modifiers or DCs in the tooltip, can also be removed entirely
  • added Perception, Stealth, Athletics setting (default: Disabled) to choose between displaying the bonus modifiers or DCs of those skills in the main tooltip, you can click on them to roll their respective basic rolls (the perception and stealth will be blind by default)
  • added Display Ranks which let you see the ranks (one letter superscript) of the different saves and others in the main tooltip
  • added Small Tooltip Position which allows you to select your preferred side to display the small tooltip
  • you can now add macros to the extras sidebar by dropping them directly onto it, those macros are on a per user basis and will automatically be executed with the Actor and Token the tooltip is related to as arguments
  • renamed Preferred Position to Tooltip Position to make it distinct from Small Tooltip Position
  • the small tooltip will now disappear when hovered over, making navigating between cluttered tokens smoother (since there is nothing to interact with)
  • if a character has focus cantrips but no focus spells (like psychics), the module will display the focus pips in the cantrip header
  • the Use Hold Keybind setting will now show different options and descriptions to GM and players to make it less confusing, the setting has been reset to Disabled because of that

1.6.0

  • added magazines icon for strikes that use them
  • added a way to show NPC strike trait descriptions by clicking on them
  • added Party as Observed GM setting, when enabled, all actors in the Party alliance will be considered as observed
  • the Owned tokens only option of Use Hold Keybind now will allow the GM (previously it did nothing special because GMs own all the tokens) to see the small alternative tooltip when they don't hold the Hold to Display, at any moment they can hit the key to instead see the full tooltip
  • moved non-cantrip focus spells to their own section instead of populating the highest spell slot one
  • fixed invalid languages breaking the tooltip display (could happen if a now removed homebrew language was still in the actor's data)

1.5.0

  • added traits to NPC strike attacks
  • added a way to show strike descriptions for Characters by clicking on their name
  • added a way to show equipment descriptions by clicking on their name
  • added a way to send equipment descriptions to chat by clicking on their image
  • added a way to send spell descriptions to chat by clicking on their image (formerly it would open the description popup)
  • added Tooltip on Observe setting (enabled by default) which generates a uneditable version of the regular tooltip for tokens to which the user has observe permission
  • added Disable Chat Card Hover setting (enabled by default) which prevent the tooltip from showing up when hovering over a chat card owned by a token
  • changed the way to show spell descriptions by clicking on their name (formerly required to click on their image)
  • changed so that most of the features owned only will now also extend to observed when the Tooltip on Observe is enabled
  • changed the Take Cover icon to a wall
  • changed Remove Death Line setting into Show Death Line multi choice with an option to only show the line when the actor has any wounded or dying
  • fixed issue with firefox displaying name tooltips even though they were not too big for their container

1.4.0

  • added Health Status on Owned setting allowing the display of the health status on the regular tooltip instead of just on the non-owned token one
  • prevent the tooltip from showing up when hovering over a chat card owned by a token
  • clicking anywhere on the tooltip will now bring in on top of everything respecting the way the foundry does it (the tooltip is now part of the ui.windows stack)
  • reduced the space the distance and health status indicators are taking on screen

1.3.2

  • fixed extras sidebar crashing if the module PF2e Dailies isn't physically on the server's drive

1.3.1

  • fixed skill actions labels being broken

1.3.0

  • added Hold to Display keybind
  • added Use Hold Keybind setting, when used in consort with the Hold to Display keybind, it will allow you to only display the tooltip when the key is held, clicking on the key when the token is already hovered will also work
    • Disabled the keybind is not used
    • Owned tokens only the keybind will only affect owned tokens and the others will use the delay as usual, you can short circuit the delay by hitting the key on those still
    • Owned and non-owned will force the use of the keybind for any type of tooltip, no delay is used in that case
  • remove warning variant from the perform skill action, not sure what i had been smoking when i did this
  • fixed tooltip re-rendering actually using the delay
  • fixed not being able to change the number of uses for innate spells
  • fixed issue with tooltip not re-rendering when triggering a change by clicking outside an input onto another part of the tooltip

1.2.0

  • changed the name of the module for PF2e Interactive Token Tooltip, the HUD part was misleading
  • fully integrated the PF2e Hero Actions module into this one, you can find them in the actions sidebar
  • added Remove Death Line setting, when enabled, the tooltip will not display the whole dying/wounded line
  • added aid action to the extras sidebar, it is joined with escape which is removed from the skills sidebar, just like for the skill actions, you can use shift and/or ctrl on them and also right click to use a variant skill

1.1.0

  • you can now select which speed to display in the hud by opening the speeds tooltip and clicking on the speed for this actor (this is a per user choice)
  • removed Tooltips on Click setting, disabling it was interfering with the new selectable speeds feature
  • made both the held ctrl and the check for right click more accurate
  • fixed closing a sidebar not removing the lock on the tooltip

1.0.1

  • fixed Rest for the Night not doing anything, i actually forgot to even implement it to begin with oops
  • fixed right click while dragging with left click (for instance to create waypoints with Drag Ruler) would disable the tooltip display prevention
  • the tooltip will now be prevented from showing for as long as the ctrl key is held (useful for when using the core ruling tool)

1.0.0

  • added level, alignment and Hero Points pips in the tooltip
  • added Two Columns Skills and Two Columns Spells settings (disabled by default)
  • added Rest for the Night action in the extras sidebar
  • added Daily Preparations action in the extras sidebar (shows only if the PF2e Dailies is active)
  • merged speeds and languages into a single icon each with their own tooltip displaying the full details, they are accompanied with a new IWR and senses icons
  • added Tooltips on Click setting (enabled by default) used for the speeds, languages and IWR tooltips to be shown on click instead of hover
  • moved stamina to its own line in the tooltip and added the resolve data with it, the resolve icon itself is used to use both Take a Breather and Steel Your Resolve if available
  • clicking on the button of the currently opened sidebar will now close it instead of doing nothing
  • fixed issue with tooltip showing up if a click was registered between the token hover and the end of the delay time

0.11.0

  • added dying and wounded pips to the tooltip, the dying icon itself is used to roll a Recovery Check
  • added Hide Untrained Skills setting (enabled by default) that will hide all skill actions that requires the character to be trained when they are in fact not trained in the associated skill.
  • added Show Spell Tradition setting (disabled by default) that will show the first letter of the spellcasting tradition just be fore the spellcasting category (i.e. 'A| Spontaneous')
  • moved initiative from the skills sidebar to the extras sidebar and now allows the selection of an alternate skill
  • the module settings menu now displays headers for the different setting groups for better readability

0.10.0

  • added Distance Unit setting allowing the customization of the displayed Distance to Token on the tooltip, expects a string containing the multiplier, the unit and the number of decimals all separated by commas
  • added Sidebars Max Height setting allowing the customization of the sidebars max height, accepts any css string used for a height property

0.9.0

  • added Distance to Token setting with the option to disable, show on all tokens or only on owned token tooltips
  • added Health Status setting allowing the GM to specify the different states of a creature's health (only used for non-owned tokens)
  • the module will display both the Distance to Token and Health Status on non-owned tokens when appropriate

0.8.0

  • added showing distance from token on the hud tooltip
    • if one token is selected and is not the currently hovered one, the distance to the selected token will be shown
    • if not, then the same thing will be tested for a targeted token instead
    • a different icon is shown to indicate if it is a selected or targeted token

0.7.1

  • fixed 1 to 3 spells overflowing out of the sidebar
  • fixed focus cantrip showing as expended when all focus points were depleted

0.7.0

  • added initiative action in the skills sidebar under Perception, it will only appear if an encounter is available, also, as opposed to all other skill actions, you cannot right click to select a variant skill to roll initiative (the system doesn't handle it)
  • added a setting (enabled by default) to use the same color scheme as the system actor sheet for the strikes and damage buttons in the actions sidebar

0.6.2

  • removed exploration and downtime actions from the list
  • some css fixes

0.6.1

  • fixed Character action without a cost breaking the actions sidebar
  • fixed skill use looping over non existent modifiers array

0.6.0

  • first public version of the module
  • all the core features are there
  • nothing has been done for the extras (not even sure what the extras are yet)