Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[SCRIPT] FFG-SWRPG-DestinyTracker

1499938092

Edited 1536579328
Ziechael
Forum Champion
Sheet Author
API Scripter
Acknowledgements: The inspiration for this (and base code!) came from dyent . Also Many, many, many thanks to The Aaron for his ever patient help with making some updates and quality of life changes to the code. Even more kudos to The Aaron for enabling the handout tracking aspect. In reality, I did very little!! FFG SWRPG Destiny Tracker (available as a one-click script)  provides a way to prompt, set and track destiny points for Star Wars: Edge of the Empire (Fantasy Flight Games) rpg system. The script creates a handout when a command is run which can be used to keep a visual reminder for players during a session. It also outputs to chat changes made for in play reminders and chat archive reference. The handout may be blank until the first time destiny points are added  to the pool. Note: The handout automatically updates as the pools change and has been set up to be made as small as possible rather than waste screen real estate. By default the 'Start Session' command will provide a clickable link for players to roll destiny and a link for them to open the handout if desired (current implementation makes this handout unavailable to players until the GM gives them access. The destiny roll currently also requires the characters to have a token and an ability on their sheet called 'destiny' which has the necessary macro information for rolling destiny (assuming the dice roller is also installed): !eed 1w  at it's most basic or !eed characterID(@{character_id}) label(skill:Destiny) 1w (gmdice) for a labelled one. Future change wishlist: Automatically create the character destiny roller for PCs Possibly have the handout automatically shared with all Possibly include a listener to automatically add destiny as rolled to the pools Commands !destiny <command> [value] This command requires 2 parameters and accepts a third optional one: command - The command to pass to the Destiny Tracker (see example for full list). value - The number of points to affect (defaults to 1 with no value present). Examples: Start a session: !destiny startsession OR !destiny ss Resets the destiny pool and sends buttons to chat for players to use to roll destiny and open the tracking handout. Reset the pool: !destiny reset OR !destiny r Reset the pool without the buttons being sent to chat. Status: !destiny status OR !destiny s Outputs the current state of the pools to chat. Add Light Destiny: !destiny addlight n OR !destiny al n Adds destiny points to the light side of the pool to the value given (or 1 by default). Accepts inline rolls as well as queries as well as negative values. Add Dark Destiny: !destiny adddark n OR !destiny ad n Adds destiny points to the dark side of the pool to the value given (or 1 by default). Accepts inline rolls as well as queries as well as negative values. Use light destiny: !destiny uselight n OR !destiny spendlight n OR !destiny ul n Reduces the destiny in the light pool by the given value (1 by default) and adds the same amount to the dark side. Accepts inline rolls as well as queries as well as negative values. Use dark destiny: !destiny usedark n OR !destiny spenddark n OR !destiny ud n Reduces the destiny in the dark pool by the given value (1 by default) and adds the same amount to the light side. Accepts inline rolls as well as queries as well as negative values. In play example (click to play gif):
1499949273
The Aaron
Pro
API Scripter
Looks nice!