Skip to content

[#7259] Support typed custom flags for Active Effect conditions - #7260

Open
thatlonelybugbear wants to merge 1 commit into
foundryvtt:6.0.xfrom
thatlonelybugbear:feat/typed-conditional-flags
Open

[#7259] Support typed custom flags for Active Effect conditions#7260
thatlonelybugbear wants to merge 1 commit into
foundryvtt:6.0.xfrom
thatlonelybugbear:feat/typed-conditional-flags

Conversation

@thatlonelybugbear

Copy link
Copy Markdown
Contributor

Work in progress!
I was thinking of something along these lines

Closes #7259

@thatlonelybugbear
thatlonelybugbear marked this pull request as draft July 16, 2026 01:49
@krbz999

krbz999 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

If I understand this proposal right, it requires using flags.dnd5e. But then you may as well register a new character flag in which case it is already cast to the right type.

@thatlonelybugbear

Copy link
Copy Markdown
Contributor Author

If I understand this proposal right, it requires using flags.dnd5e. But then you may as well register a new character flag in which case it is already cast to the right type.

Yep, that makes sense for flags we already know about.

The only reason for this would be when the final ID is user-defined, so there is nothing concrete to register in characterFlags ahead of time

@thatlonelybugbear
thatlonelybugbear marked this pull request as ready for review July 16, 2026 03:16
@Fyorl Fyorl added feature request api system: active effects strategic Requires sign-off from a core Foundry VTT developer before merge. priority: low labels Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api feature request priority: low strategic Requires sign-off from a core Foundry VTT developer before merge. system: active effects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support typed custom flags for Active Effect conditions

3 participants