FalloutRoll20 Ammo Manager I wanted to share this automated ammo manager I worked on recently to make things easier for my group. <a href="https://github.com/Revenaant/FalloutRoll20-Ammo-Manager.git" rel="nofollow">https://github.com/Revenaant/FalloutRoll20-Ammo-Manager.git</a> Why? The official Roll20 module has some built-in automatic ammo reduction when making attacks, however I found it limited and very inconsistent (seems to only update directly after making an attack, and only once). Please bear in mind this is the first time I code in Javascript and the Roll20 API, so there may very well be better ways of doing some of the things my script does. What's included Ammo Manager : Making damage rolls automatically subtract ammo from the chosen weapon. Accounts for Fire Rate when choosing to roll additional dice. Sends messages to show the ammo reduction in chat. Also, if there's no ammo to shoot a weapon. Glating weapons handled (sort of, check notes at top of script). Rolling additional damage dice will only spend ammo if there's extra dice added as "fire rate". This is done because roll20 will re-roll all the dice, and then add "X" additional damage dice to the roll, but it's not what we want, assuming you correctly rolled the first time around when clicking on the button in the green attack roll message. Ammo Validator : QoL change so you can update the value of ammo in one place and have it automatically updated everywhere else. The value in the Gear table is used as a master value and its change propagates to weapons. Additionally, changing value of ammo in Weapons section updates Gear section. Changing value of one ammo type updates all weapons using that ammo type.