Karlinator / roll20-character-sheets

My fork of the Roll20 characters sheets. Used for developing the Stars Without Number: Revised sheet. My code here: https://github.com/Karlinator/roll20-character-sheets/tree/master/Stars_Without_Number_Revised
MIT License
1 stars 3 forks source link

Allow importing autofill data. #56

Open Karlinator opened 5 years ago

Karlinator commented 5 years ago

This is something of a 'maybe' thing, but it would be possible to allow for importing of correctly formatted autofill data I think. Something in the sheet default settings where you can paste the data and then retrieve it from that attribute in the worker. Might be too much work for little gain, though it would be nice for homebrew-heavy or supplement-heavy games with a GM that likes to tinker.

This might also be entirely impossible, or else very limited, by the actual dropdowns in the sheet, seeing as how we can't manipulate the DOM from the worker. Perhaps a system of one or two extra options in each dropdown, labeled 'custom 1' etc can then be linked to whatever the GM has entered in the sheet default settings for that custom dropdown attribute. This would be limited in number, but would allow a few oft-used imported or homebrew statblocks to be readily deployed and autofilled.