Declared Initiative for Rules Compendium (Basic D&D)

1523958522
Bast L.
Pro
API Scripter
Heya. I wanted an easier way to track what people are doing, since they're supposed to declare at the beginning of the round. Using the optional rule for individual initiative, the macro provided will roll a d6, add their bonuses (if you follow the comments in the script, and have them put all init bonuses into their init text box on the combat tab), and place them on the initiative tracker, along with a little symbol for their declaration. Make sure it's a token action (I think it doesn't break, but it just makes sense, as they need to select their token). Using the provided macros from the Gist, you'll have a menu to add initiatives for your NPCs, Sort the tracker, and Clear the tracker. Anyways, here's the Gist:  https://gist.github.com/Bastlifa/5542b1fb4befb3695... And here's a picture (I used wrench for "other", crystal ball for "magic", crossed swords for "melee", and bow and arrow for "missile". I didn't like the rule that 2-handed weapons make you lose individual initiative, but it's an optional macro at the bottom of the gist (best emoji I could is 2 hands together):
1523971393
The Aaron
Pro
API Scripter
Wild!  Love the use of emoji there!
1524005001
Bast L.
Pro
API Scripter
Thanks. I was worried it wouldn't sort or some other issue, but it worked out. It's such a niche script, but it could easily have parts be adapted for other games.
1524005718
The Aaron
Pro
API Scripter
How does it do with multiple numeric digits?  The only worry I'd have would be that the sort would treat them as strings and sort 1, 10, 13, 2, 3, 4
1524005982
Bast L.
Pro
API Scripter
Just tested, you are correct. I think I need to split the value and parse in the sort function.
1524007276
Gold
Pro
Cool script. I like Basic D&D & RC (one of the most comprehensive "basic" game books), although it is not my main edition to play, AD&D is, and this is still conceptually applicable with modifications. In any case I like the Emoji use on the Turn Tracker too. Thanks for making & sharing.
1524008790
Bast L.
Pro
API Scripter
Updated with proper sorting, thanks for the tip Aaron. Yeah Gold, I'm in a Thursday game of AD&D, and I bought the monster manual just to have the images for my RC game, but it looks like a lot of the creatures could be used if I wanted, with little modification.