DFreds / dfreds-convenient-effects

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

[Feature Request] Add on the Api code the support for remove/update/add effect on items #290

Open p4535992 opened 1 year ago

p4535992 commented 1 year ago

Is your feature request related to a problem? Please describe.

Add on the Api code the support for remove/update/add effect on item.

I speak only at the level of the API no UI or other features, because I would like to use api interface to manage both actors and items.

Describe the solution you'd like

The code is already set up to use uuids and the creation of effects on the item uses the same methods as those for actors, so it would be a matter of changing the control from actor not present to actor or item not present.

If this is something you would be willing to consider I can open a PR.

Describe alternatives you've considered

Additional context

DFreds commented 11 months ago

I would definitely consider doing this. Feel free to open a PR for it and I'll review it