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

dnd5e: Actor Sheet Inline Activities #766

Open
kgar opened this issue Sep 18, 2024 · 1 comment
Open

dnd5e: Actor Sheet Inline Activities #766

kgar opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
dnd5e This relates to dnd5e system updates or issues enhancement New feature or request

Comments

@kgar
Copy link
Owner

kgar commented Sep 18, 2024

The default actor sheets present Activities inline when expanding item summaries:
image

Parity:

  • Show actions within each item's summary on the actor sheet
  • Allow clicking to use the target activity
  • Context menu
  • Favorite Activities (to be implemented in dnd5e: Favorite Activities #772)

For Tidy 5e Sheets, achieve feature parity plus

  • Drag and drop to sort
  • Have independent columns that are more relevant to activities
    • Usage / Activation Cost
    • Atk / DC / Dmg calculations
    • ...?
  • Remove usage column from main inventory table
  • Tentative: show on description expand
  • Tentative: classic controls (Favorite, Edit, Delete, ...?)

Some things to remember:

  • Activities are tagged with [data-activity-id]
  • Activities have their own context menu setup: dnd5e.documents.activity.UtilityActivity.onContextMenu(item, element)
  • Inventory delta changes also account for activities, particularly managing system.uses.value <-> system.uses.spent and uses.value <-> uses.spent
@kgar kgar added enhancement New feature or request dnd5e This relates to dnd5e system updates or issues labels Sep 18, 2024
@kgar kgar added this to the 4.0.x Feature Rollout milestone Sep 18, 2024
@kgar kgar self-assigned this Sep 18, 2024
@A1exanderWebb
Copy link

A1exanderWebb commented Sep 18, 2024

As a thought for independent columns used for activities, I believe that the most important information (in my opinion) is, from most to least important:

  1. Uses/resource costs, good to quickly to know if the activity is usable at a glance
  2. Activation costs, (action/bonus action/reaction etc.), good to quickly parse to see how different activities fit into your turn

The above are the highest priority because they are widely applicable and determine whether an ability can be used at all at a given moment, making them the most important to parse with a glance.

  1. Targets,
  2. Range,

These features determine how useful an activity is in many situations, and are almost universally useful fields to all activities.

  1. Damage
  2. Save/DC

These are still quite useful, but not nearly universal, as there are many activities that do not deal damage or require saves. I know for my personal use only about half of activities would be likely to deal damage or require a save, and most damaging/save related activities would be the primary activity for the given item, open that information to effective display elsewhere.

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

2 participants