Skip to content

New Script: Daggerheart Fear Points Tracker#2059

Closed
NyloCreates wants to merge 3 commits intoRoll20:masterfrom
NyloCreates:master
Closed

New Script: Daggerheart Fear Points Tracker#2059
NyloCreates wants to merge 3 commits intoRoll20:masterfrom
NyloCreates:master

Conversation

@NyloCreates
Copy link
Copy Markdown

✅ Uses immersive chat card output
✅ No token required
✅ Automatically creates and tracks the fear_points attribute
✅ Supports +, -, set, and show commands

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.
@NyloCreates
Copy link
Copy Markdown
Author

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.

@Alicekb
Copy link
Copy Markdown
Contributor

Alicekb commented May 29, 2025

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.

@NyloCreates
Copy link
Copy Markdown
Author

NyloCreates commented May 29, 2025 via email

@kfroll20
Copy link
Copy Markdown
Contributor

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!

Copy link
Copy Markdown
Author

@NyloCreates NyloCreates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

json changed

@Alicekb
Copy link
Copy Markdown
Contributor

Alicekb commented Jun 3, 2025

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

@kfroll20
Copy link
Copy Markdown
Contributor

@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.

@Alicekb Alicekb marked this pull request as draft August 7, 2025 15:59
@kfroll20 kfroll20 closed this Aug 28, 2025
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

Successfully merging this pull request may close these issues.

3 participants