Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
13 stars 18 forks source link

[FEATURE] Add custom actions #259

Closed david-a-rivera closed 2 weeks ago

david-a-rivera commented 4 weeks ago

Describe your idea I would like to be able to add actions to the HUD. For example, I am using the SWADE plugin. This allows me to add additional stats to the character sheet. This stat is something that will increase and decrease through game play. I would like to be able to add 2 additional actions to the hud to spend this new resource and to gain this new resource, much like you can with bennies.

Versions

Additional context That's it. Maybe add a dialog that allows you to select the stat or enter its id type of action, and any dice that are involved. Like for the above I'd like to toss a dc (from dice so nice) on the table when spent or added like bennies.

Larkinabout commented 4 weeks ago

It might be worth raising an issue over on the Token Action HUD for Savage Worlds GitHub as if these stats are created in the character sheet, it might be able to automatically pick them up. You can also add macros to the HUD to do custom actions.

david-a-rivera commented 4 weeks ago

can you? How? Macro would work for what I need.

Larkinabout commented 3 weeks ago

Unlock the HUD, right-click a group (e.g. Utility), search for the macro and add it: image

david-a-rivera commented 3 weeks ago

Holy crap. I should have started here. Spent the past week trying to hook into the creation of the hud and inject my manager and action handler that wrapped swades. All that so I could do what this does.

Thank you.