DFreds / dfreds-convenient-effects

A FoundryVTT module that adds easy to use toggleable active effects for any system.
MIT License
45 stars 39 forks source link

Allow the remove effect button to also remove non convenient effects #243

Closed maxobremer closed 1 year ago

maxobremer commented 1 year ago

Is your feature request related to a problem? Please describe. I often make effects that are only for a specific item or ability without making them convenient effects, since they are a one time thing or clutter up the menu as there are no folders, and if I quickly want to remove them from a token then convenient effects doesn't recognise it.

Describe the solution you'd like It would be nice if an effect has the following "convenient effect:" in its description that the remove convenient effect button then also picks it up

Describe alternatives you've considered Just manually opening the character sheet and removing the effect there

Additional context

DFreds commented 1 year ago

Seems reasonable to me. When it only detects convenient effects, it also means that only temporary effects will populate the dialog. I assume you'd still want that behavior? I think it would be annoying if it also populated with the passive effects.

maxobremer commented 1 year ago

If its a passive I just wouldnt add the convenient effect: tag unless it's a passive effect that can either be suppressed or lasts until dispelled. So I do see a use case for it also working on passive effects, though it is niche

DFreds commented 1 year ago

Hm, yeah. I was thinking of just allowing the remove button to remove any temporary effect, whether or not it is has a tag in the description. Then it just turns into a helper to avoid having to go into the actor's effects tab and wouldn't require any special work on the users' end to add a tag.

DFreds commented 1 year ago

Done, in next release

thatlonelybugbear commented 1 year ago

What I have done locally, is also to make the template for the effects removal dialog, to have all effects unchecked by default to make sure that no "mistakes" can happen, especially if you open it up to non DFreds CE.

Can do a selection and a button to delete and another to disable.

Depends on how you want to implement it of course!

image

DFreds commented 1 year ago

That's a great call. Feel free to make the PR for it