Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Pin Item as Resource #324

Open
kgar opened this issue Feb 8, 2024 · 0 comments
Open

feat: Pin Item as Resource #324

kgar opened this issue Feb 8, 2024 · 0 comments
Labels
dnd5e This relates to dnd5e system updates or issues enhancement New feature or request

Comments

@kgar
Copy link
Owner

kgar commented Feb 8, 2024

The Resource Tracker paradigm is useful to numerous users. Sometimes it is useful to have a critical, tracked resource rise above the rest of the UI. For example, a paladin may want to have their Lay on Hands pool visible at a glance. Or a monk's ki.

Add a new Tidy flag for pinning an item as a resource. This flag should be settable from the item sheet itself or from the context menu.
Things that can be pinned as a resource: TBD, but most likely any item that can represent usage value/max (e.g., features like "Ki," potions, equipment/weapons/etc. with limited uses, Lay on Hands Pool, things along those lines).

When there are no resources pinned, no resource UI is visible.

When at least 1 resource is pinned, a dedicated area for resources is visible above the favorites item list.

A player can pin as many resources as they wish, thus fulfilling the Add a Resource effect.

Resources can also be unpinned from the resources view through some UI.

Resource entries in the resource view should be rollable (and probably include the item image), and the uses/max totals should be adjustable per user permissions.

When the sheet is locked down in total lockdown mode, the max value should become readonly.

If there is a cog in edit mode, it should open the item sheet in question.

Create a per-sheet migration that can import existing resources from

  • the system (first, second, third)
  • 5e sheet resources plus
  • Add a Resource
    Allow the user to choose the sources from which to migrate.
    The migration should appear in the Sheet Migrations dialog, which can be access from the menu option on the character sheet.
@kgar kgar added the enhancement New feature or request label Feb 8, 2024
@kgar kgar added this to the Tidy dnd5e 3.x Readiness milestone Feb 8, 2024
@kgar kgar added the dnd5e This relates to dnd5e system updates or issues label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dnd5e This relates to dnd5e system updates or issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant