Skip to content

Allow removal of traits and prevent duplicate traits on action usage#18422

Open
nikolaj-a wants to merge 1 commit intofoundryvtt:masterfrom
nikolaj-a:replace-action-traits
Open

Allow removal of traits and prevent duplicate traits on action usage#18422
nikolaj-a wants to merge 1 commit intofoundryvtt:masterfrom
nikolaj-a:replace-action-traits

Conversation

@nikolaj-a
Copy link
Copy Markdown
Collaborator

No description provided.

@CarlosFdez
Copy link
Copy Markdown
Collaborator

I need to try what I'm doing for overrideTraits, once I do I can get back to you on this.

@CarlosFdez
Copy link
Copy Markdown
Collaborator

CarlosFdez commented Apr 18, 2025

I posted it in the discord but here it is again for good measure:

Me and stwlam talked it over and decided to try to keep the API roughly the same. In other words, keep traits to adding new traits rather than replacing. Instead override-traits would be supported to replace the traits list with a new one. You don't have to support override-traits=true though (just override-traits=fire,water,cold). Even in @Check, overrideTraits now supports a list of traits, and data entry should be doing that from now on.

Sorry for the incredible delay on that

@nikolaj-a nikolaj-a force-pushed the replace-action-traits branch from 4e97eeb to 6c9a33a Compare May 7, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants