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

Reject prompts of several properties when an item has no activation type #2317

Merged

Conversation

krbz999
Copy link
Contributor

@krbz999 krbz999 commented May 26, 2023

Related issues: #2288, #2286, #2285.

The isActive getter returns whether an activation type is set in an item.

With this, if an item's Activation Type is set to 'None' (which also hides limited uses, recharge, resource consumption in the item sheet), their respective prompts will no longer be forced. I.e., an item can be "used" with activation type "none" and uses/target/recharge/consume filled in, but no prompts will be made.

Taken the liberty of cleaning up some labels on the actor sheet as well, since those were related.

@Fyorl
Copy link
Contributor

Fyorl commented Jul 26, 2023

Marking this as blocked on #2387 for now

@Fyorl Fyorl added the blocked label Jul 26, 2023
@krbz999 krbz999 changed the base branch from 2.2.x to 2.4.x October 14, 2023 06:56
@Fyorl Fyorl removed the blocked label Oct 19, 2023
Copy link
Contributor

@Fyorl Fyorl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes, thanks Zhell

@Fyorl Fyorl added this to the D&D5E 2.4.0 milestone Oct 19, 2023
@Fyorl Fyorl merged commit 9596c7c into foundryvtt:2.4.x Oct 19, 2023
@krbz999 krbz999 deleted the item-activation-getter-blocking-uses-and-such branch October 19, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants