The big change this time is that I added the ability to save and name dice notation, as well as share them via URLs. To see this new sharing feature in action, use the following link: https://stephkennedy.dev/experiments/dm_tools/?rolls=NobwRAdghgtgpmAXGAYgSwE5wEZQDZ5gA0kA9gC5TlqkRJgAcAJgGxgC+R4089AamgDGNAK4BnAAQBZUoIDWcDAE9iZStVr0AjEwAsHALpA
The link will add base level damage rolls for Fireball and Vicious Mockery. There is an upper limit of 2000 characters on the urls, at the moment. But I’ll be adding a manual import a little later on that should have no theoretical upper limit outside of the inherent 32bit limits of JavaScript.
Changelog:
- Added LZ-String compression/decompression library by Pierre Grimaud: https://github.com/pieroxy/lz-string
- Added persistent saved rolls via localStorage object
- Added pop-up style modals to UI
- Added import/export for rolls using LZ-String compression to maximize data sharable via URL