Skip to content

Releases: MSUTeam/nested-tooltips

0.5.3

03 May 04:13

Choose a tag to compare

  • feat: add function to remove all tooltips from a string (3082c23)

0.5.2

19 Apr 22:07

Choose a tag to compare

  • feat: encode parsed strings so they are robust against string methods (c0f3e64)

0.5.1

19 Apr 17:59

Choose a tag to compare

  • fix: dummy player being bad if loading campaign without quitting to menu (bf3c544)
  • fix: colors in event screen not working (d4c7a9e)

0.5.0

18 Apr 23:33

Choose a tag to compare

CHANGES

  • feat: don't apply color change to hyperlinks in event screen (71190c1)
  • feat: allow custom css for nested images and don't downsize by default (f35eda8)
  • feat: handle replacing icons with nested images in event screen lists (33b0dcf)
  • feat: add support for world entity nested tooltips (a25f21a)
  • feat: add new icons for timeout and locked (380ccfc)

FIXES

  • fix: adapt vanilla getArticle functions for nested tooltip strings (2b939c2)
  • fix: remove leading path for nested image icons when placeholding (4f062ea)

VANILLA FIXES

  • fix(vanilla): event screen title not passing through XBBCODE (e456d6f)

0.4.0

11 Apr 00:14

Choose a tag to compare

  • feat: add ability to create nested tooltips of any object (#21)
  • feat: remove golden bar on top of tooltips with nested content (#20)
  • fix: using string as roster id for the dummy player (a1f2c6d)

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)