github kgar/foundry-vtt-tidy-5e-sheets v0.2.1

latest releases: v13.4.0-alpha-2, v13.4.0-alpha-1, v13.3.0...
2 years ago

What's Changed

  • Coalesced more undefinable user-facing text to empty strings in Item Effects by @kgar in #182
  • [#183] Added Drag/Drop for Item Active Effects and Item Advancements by @kgar in #184
  • [#187] Fixed issue where setting Versatile formula causes damage formulae to be removed by @kgar in #188
  • [#123] New API for Item Summary Commands / Roll Buttons by @kgar in #194
  • [#192] api: Hooks for item hover ON/OFF by @kgar in #195
  • [#185] api: Exhaustion and Vehicle Exhaustion support by @kgar in #196

Full Changelog: v0.2.0...v0.2.1

Feature: More Drag and Drop

  • Item Active Effects and Item Advancements now support drag and drop. This is a standard feature on the default sheets, and these sheets just needed to catch up.

Fixes

  • Fixed: When filling out the versatile damage formula in item sheets, it would cause the main damage parts to be cleared out.
  • Rooted out more undefined user-facing labels.

For the Devs: Item Summary Command API

The Item Summary Command API is now available. This API allows for adding roll buttons to the expanded item summary in places like the Inventory.

image

Item Summary Commands also appear in the associated item info card.

image

This was designed to provide the necessary API for Midi-QoL to inject roll buttons. I hope that any other module developers and world scripters who are interested also take advantage of this functionality.

For the Devs: Item Hover Hooks

The following hooks have been added to Tidy 5e Sheets:

  • "tidy5e-sheet.itemHoverOn" - event: Event, item: Item5e: triggers when you begin to hover over an item list row or item grid tile
  • "tidy5e-sheet.itemHoverOff" - event: Event, item: Item5e: triggers when the mouse leaves an item list row or item grid tile

For the Devs: Exhaustion API

The Exhaustion API is ready for use. This allows a module or world script to toggle exhaustion mode between Open Number and Specific Level Exhaustion. For Specific Level Exhaustion, it allows for specifying the total number of levels and the tooltips/hints that go with each level. This API helps modules that deal with custom exhaustion to avoid having to interface directly with Tidy 5e Sheets config settings. This will be especially useful when the sheets eventually change to the tidy5e-sheet module ID.

This feature works with PC/NPC exhaustion and separately for Vehicle exhaustion.

Don't miss a new foundry-vtt-tidy-5e-sheets release

NewReleases is sending notifications on new releases.