New Script: Daggerheart Fear Points Tracker#2059
New Script: Daggerheart Fear Points Tracker#2059NyloCreates wants to merge 3 commits intoRoll20:masterfrom
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! |
|
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 |
|
@KimJacobsen1, just wanting to follow up with you about the requested changes to your json. Let us know if you have any questions, but we can get this merged once the attribute field is updated to what Alice suggested. |
✅ Uses immersive chat card output
✅ No token required
✅ Automatically creates and tracks the fear_points attribute
✅ Supports +, -, set, and show commands