-
Notifications
You must be signed in to change notification settings - Fork 579
New Script: Daggerheart Fear Points Tracker #2059
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
base: master
Are you sure you want to change the base?
Conversation
Adds a simple and styled API script to track Fear Points for a named character in Daggerheart-style games. No token required. Supports +, -, set, and show commands with immersive chat card output.
Thanks for reviewing! This script is built for Daggerheart-style games and tracks Fear Points using immersive chat card output. Let me know if you'd like changes or added documentation. |
Hey @KimJacobsen1 , the validation check failed due to an error in the sheet.json file. The "modifies" key should actually be an object not an array. |
Ok is that something you guys can help with or should i re submit it
changed. Its the first time i submit an api script and justthink it will be
very helpfull for daggerheart.
Br
Kim Jacobsen
…On Thu, May 29, 2025, 19:24 Alice ***@***.***> wrote:
*Alicekb* left a comment (Roll20/roll20-api-scripts#2059)
<#2059 (comment)>
Hey @KimJacobsen1 <https://github.com/KimJacobsen1> , the validation
check failed due to an error in the sheet.json file. The "modifies" key
should actually be an object not an array.
"modifies": {
"attribute: "read",
"attribute": "write",
},
—
Reply to this email directly, view it on GitHub
<#2059 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BS2MLHWRZNN3V5BTQX274OL3A47EFAVCNFSM6AAAAAB52MR3QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGA3TIOBXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You can go ahead and make the change to the PR to get the check to pass. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
json changed
hey @KimJacobsen1 the modifies field does not accept an array, the value of the key has to be a string, if you want to add both read and write then you can do so in a comma seperated list like so: "modifies": {
"attribute: "read, write"
}, To get a better idea of how to write the modifies field, here is an example from the AttackMaster api script: https://github.com/Roll20/roll20-api-scripts/blob/master/AttackMaster/script.json#L13 |
✅ Uses immersive chat card output
✅ No token required
✅ Automatically creates and tracks the fear_points attribute
✅ Supports +, -, set, and show commands