Replies: 1 comment
-
Someone on the Tidy discord suggested that exhaustion automation modules could do things like update the level count and tooltips based on choices made in exhaustion automation menus. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#86 added custom exhaustion, which can be controlled from the config settings interface or Foundry API in the console, but it would also be nice to have a robust API function for setting exhaustion config that is resistant to any internal changes or data structure changed in TIdy settings.
This post is to discuss a structure for the API function(s) for setting exhaustion.
Use Cases / Ideas
Draft of API Call
Exhaustion configuration is saved as config settings in the Tidy 5e module's config settings. So, each call to the API to adjust exhaustion will update the associated config setting. That means, it doesn't need to be called on init/ready each time, just when needed.
Questions
Documentation and Type Definitions
When the API comes together, I will be working on publishing type definitions as a standalone NPM/etc. package and providing generated API documentation on this repo.
Reference
https://discord.com/channels/732325252788387980/1116078321067892796/1179169966512156842
Wasp — Today at 3:20 PM
Neat! Will the exhaustion levels be adjustable with an API down the line?
Beta Was this translation helpful? Give feedback.
All reactions