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 Request: Ability to store/display string values as Party Resources #88

Open
PlasticMohawk opened this issue Sep 25, 2023 · 0 comments

Comments

@PlasticMohawk
Copy link

As a Foundry VTT GM, I want to code a weather generation system around this module's API. I want the ability to store and replace values of type string in resource objects using the API. I want the string value to optionally display in the top UI bar on the canvas.

For example, if my script configures "Sunny" weather, I want a "Weather" Party Resource object which can store the value "Sunny". I also want that to display as "Sunny" and I want my script to reference the "Sunny" value via your API for the next time I need to generate some weather.

I can already accomplish the mechanics of what I want using simply numbers, for example:
"Sunny" = 1
"Rainy" = 2
"Death Moon" = 3
etc.

However using strings gives me some added options as a coder and also helps me convey game information to the players via the Party Resources UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant