Skip to content

Releases: MSUTeam/nested-tooltips

0.3.0

06 Dec 03:51

Choose a tag to compare

NEW FEATURES

  • feat: add ability to have entity nested tooltips (d95d4fa)
  • feat: add ability to have custom linked tooltip for icon in tooltips (967d8d1)
  • feat: add contentType to tooltips for skill, item, entity and perk (d36d507)
    • This ensures that the tooltip style shown for nested skills, items, entities and perks follows the appropriate tooltip style for that content type.

FIXES

  • fix: perk nested tooltips not appearing due to null entity (c6e945e)
    Vanilla does not expect a null entity in the general_queryUIPerkTooltipData function. So, we pass the dummy player's ID but overwrite the dummy player's hasPerk function to return true so that the tooltip_events function does not add perk tier requirements to it.

0.2.4

27 Nov 11:49

Choose a tag to compare

  • fix: allow dummy player creation from beginning of world_state init (70d27ad)
    • This fixes the issue whereby this was not being allowed early enough for the first campaign start or load game directly after booting up the game. This is because the deserialization happens before FirstWorldInit bucket (which as of Modern Hooks 0.6.0 runs after world_state.onInit.

0.2.3

27 Nov 05:52

Choose a tag to compare

  • feat: overwrite hasSprite of dummyplayer to return false for all sprites (3449d22)
    • Overwrite the hasSprite function to always return false so that no sprite manipulation happens on the dummy player. It has been observed that equipping/unequipping items on the dummy player can cause crashes randomly sometimes in various actor functions which access/manipulate sprite brushes. No idea why.
  • fix: not searching for item in stash during getItemByItemOwner (7fef121)

0.2.2

25 Nov 19:34

Choose a tag to compare

  • Hotfix build. See the release notes of 0.2.0.
  • fix: mistyped variable name causing items to be not removable from bag (cd6dc6d)

0.2.1

25 Nov 12:51

Choose a tag to compare

  • Hotfix build. See the release notes of 0.2.0.
  • fix: several issues in the fix for item container unequip due to missing null checks (91a7116)
  • fix(vanilla): add call to skill container .update for non-player controlled characters when removing item from bag (91a7116)

0.2.0

25 Nov 03:51

Choose a tag to compare

Note: Changes marked with ! are breaking changes that are not backwards compatible.

CHANGES

  • feat: allow specifying folder path for filename of nested tooltip obj (#15)
  • feat!: set entityId to null by default in skill nested data (#16)
  • feat!: improve nested tooltips item handling (#16)
  • feat: prefer to show tooltip of item's skill instead of entity's (#16)
  • feat: add ability to generate dynamic text from nested object (#17)
  • feat: add ability to specify item for skills that need one for tooltips (#18)
  • feat: clone the nested item if its equipped before fetching its skills (6c283c5)
    • So nested tooltips of skills which refer to items will now show a tooltip for the skill that would be present on that item instead of showing the tooltip of a skill with the same ID present on the actor who has the item currently equipped.
  • feat: add handling for several more keys to dummy player tile (c43cfb0)

FIXES

  • fix: nested tooltip link text not wrapping to next line (126bd65)
  • fix: hiding damage numbers for real actor skills without items (#18)
  • fix(vanilla): unequip bagged items upon calling item container unequip (2a55467)
    • This fix is meant to be included in MSU. But we temporarily include it here while MSU is waiting to update, as it is necessary for the proper functioning of the Dummy Player equipping/unequipping process during nested tooltips of skills related to items.
    • Also includes fix for MSU not calling its skill_container.onUnequip function from item_container.removeFromBag and removeFromBagSlot functions.

0.1.13

04 Jun 15:52

Choose a tag to compare

  • feat: make 'reloaded' tooltip trigger instantly (b51ae87)
  • fix: dummy player having empty talents and level ups arrays (62400ff)
  • fix: tooltip reload not working reliably (72202cf)
  • fix: some tooltips not being centred correctly (#13)
  • fix: some tooltips going over the right screen edge (#13)

0.1.12

19 May 03:11

Choose a tag to compare

  • feat: lock all tooltips, not just ones with nested content (d6e482b)
  • fix: tooltip sources covered by other elements not triggering tooltips (db27de3)
  • fix: extraData not handling the presence of plus sign in the data (ab9a3b7)
  • fix: throw error in perk nested tooltip if filename is not recognized (#10)
  • fix: long tooltips sometimes overlapping with the source div (#8)

0.1.11

09 Apr 16:14

Choose a tag to compare

  • fix: element tooltips not working due to tile tooltips (3698b6f)

0.1.10

02 Mar 21:20

Choose a tag to compare

  • add: mod settings for show/hide/lock delays for tooltips (95aacef)
  • add: keybind for locking nested tooltips (9ae43ca)
  • refactor: improve code to increase stability and responsiveness (48ea2c7, 0ca3719, 6f717ae)
  • change: right-click to clear tooltip-stack instead of locking tooltip (2678cc1)
  • fix: run onQueryTooltip MSU event when fetching nested tooltip of skills (c4452a7)