symposion / roll20-shaped-scripts

Support script for 5e Shaped Character Sheet on Roll20.net
http://roll20.net/
7 stars 5 forks source link

Make Compendium drag configure new characters according to defaults #430

Closed symposion closed 7 years ago

symposion commented 7 years ago

Ideally, it would be possible to apply defaults for tokens dragged from MM/Volos when the new character is first created. Need to investigate how this works.

symposion commented 7 years ago

Ok, so it's not good news. Dragging from the Compendium creates the character and opens the character sheet immediately. This triggers all the sheetworker import stuff, and I have no way to track completion of this at the moment. Before the sheetworkers are finished, setting defaults for the token is likely to be inaccurate at best, and could quite easily result in some horrible non-deterministic bugs as the two processes fight with each.

There is a way that this could be fixed, but it would involve a massive rewrite of the sheetworkers from Kryx, so I wouldn't hold your breath. I'm going to experiment with some other attributes that I might listen to that may work, but it's going to be hacky and I suspect it's going to be a dead end.

symposion commented 7 years ago

Good news! It looks like the changes that would be required to the sheet are a lot smaller than originally thought. Hopefully Kryx will be comfortable with them, and then we can actually make MM drag work as expected!