Skip to content

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KimJacobsen1
Copy link

✅ 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.
@KimJacobsen1
Copy link
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
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.

@KimJacobsen1
Copy link
Author

KimJacobsen1 commented May 29, 2025 via email

@kfroll20
Copy link
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
Author

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

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