Deal-Init - Script to Deal Initiative for Savage Worlds Games Revisions: 0.7 - Fixed bug where Hold was being interpreted as a joker - thanks Maetco! 0.6 - now skipping tokens that are still On Hold a the end of the round, see details below - thanks GV! stopped setting init value of Round counters to -1. They remain at the bottom of the order - thanks GV! 0.5 - fancy card symbols - thanks Aaron! - Aug 15 0.4 - Initial Release - Aug 6 DealInit supports Savage Worlds style card based initiative by dealing cards to the Turn Order and sorting the order by suit. It does not, however, utilize the Roll20 deck system. Instead it manages an internal array of cards that are reshuffled when the deck runs out or a joker is drawn. It also checks character attributes for any SW Initiative Edges and handles them appropriately. The Initiative Edges must be stored in a comma separated list in an Attribute named "InitEdges" (e.g. Qui,LH) The Edge shorthand is as follows: (spelling and case count!) Qui = Quick LH = Level Headed ILH = Improved Level Headed WCE = Any Joker Activated Wild Card Edge (announced in turn order) Going on Hold is accomplished by the GM manually editing the affected token's card to be "H" or "h." As long as the card is an H/h, DealInit will not deal a card to that token and will put it at the top of the order on a new round. The GM must manually edit the card to an non-H/h value in order for DealInit to start dealing to that token again.
The script only has a few options: !deal-init [ --help ] [--reset ] [ --show ] (no args) Deals cards to turn order and sorts by suit. --help Displays the help. --reset Reset the deck and shuffle. Use at the start of a new scene or encounter to start the deck fresh --show Show the current contents of the deck, discard pile, and turn order (hand). I personally use 2 macros to call the script that look like this: "New Scene" !deal-init --reset !deal-init "New Round" !deal-init GIT: <a href="https://github.com/pelwer1/Deal-Init" rel="nofollow">https://github.com/pelwer1/Deal-Init</a> Acknowledgements: Thanks to "the Aaron" for the javascript coaching and examples