Open timdenee opened 3 months ago
Hi Tim!
It's been a while since I looked at this :). I believe that the logic should go into the logic that populates abilities, after line 68, have you tried that? To be fair, I'm not 100% sure anymore if that's enough to make it work, but worth a try :).
On Fri, 7 Jun 2024 at 05:55, timdenee @.***> wrote:
Hi Jakob! Been a long time. I'm working on a Blades game (Blades in '68) and have been busy updating and adapting your wonderful work to this purpose.
Anyway, my issue - on the most recent official Blades roll20 sheet, Hulls (and other playbooks) automatically check their first ability. I believe it's this line of code? if (spiritPlaybooks.includes(playbook)) { playbookData[playbook].ability[0].check = "1"; }
I'm wondering if there's an easy way to port this functionality over to this template version of the sheet. I've tried modifying the above code and jamming it into sheetworkers.js in various places, but having no luck.
— Reply to this email directly, view it on GitHub https://github.com/joesinghaus/Blades-template/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKX32HJTNLZYCNCREMSRELZGEVLRAVCNFSM6AAAAABI54RITWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTSNJTGYYDAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Jakob! Been a long time. I'm working on a Blades game (Blades in '68) and have been busy updating and adapting your wonderful work to this purpose.
Anyway, my issue - on the most recent official Blades roll20 sheet, Hulls (and other playbooks) automatically check their first ability. I believe it's this line of code?
if (spiritPlaybooks.includes(playbook)) { playbookData[playbook].ability[0].check = "1"; }
I'm wondering if there's an easy way to port this functionality over to this template version of the sheet. I've tried modifying the above code and jamming it into sheetworkers.js in various places, but having no luck.