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

[FEATURE] Extending actions and groups in other plugins #56

Open
yuridevx opened this issue Jul 9, 2023 · 1 comment
Open

[FEATURE] Extending actions and groups in other plugins #56

yuridevx opened this issue Jul 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@yuridevx
Copy link

yuridevx commented Jul 9, 2023

Hi.

I'm currently developing a foundry plugin for mystics UA that utilizes PSI points for casting,
And as part of this plugin I'm adding their abilities into a distinct categories (Disciplines, Psionics, PSI 1, PSI 2...) as shown on the screenshot
image
It's currently implemented in a very hacky way, and I wonder could token action hud be extended in a way to simplify custom categories management for other plugins.

Im thinking of exposing some Hook + some of the private methods such as tooltip and item to action, etc...

What are your thoughts ?

Here is my hacky way of achieving it https://github.com/yuridevx/mystic/blob/main/src/module/ui/setupCategories.js

Versions

  • Token Action HUD System: [e.g. token-action-hud-dnd5e]
  • System: [e.g. dnd5e]

Additional context
Any additional context.

@yuridevx yuridevx added the enhancement New feature or request label Jul 9, 2023
@yuridevx yuridevx changed the title [FEATURE] Automatic extension of groups and actions [FEATURE] Extending actions and groups in other plugins Jul 9, 2023
@Larkinabout
Copy link
Owner

I've not really considered other modules extending the TAH system code before, only the TAH Core code, but I can see why it'd be handy in this instance.

I'll have a think, but adding hooks and exposing the private methods in the system classes sounds like a potential way forward.

@Larkinabout Larkinabout transferred this issue from Larkinabout/fvtt-token-action-hud-core Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants