Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Accessing D&D 5e's character sheet data via script?

Hello! I can't seem to find any information on that, as whenever I google anything related to API, I am just shown various mods people made over the years. I've been looking for a possibility to translate d&d 5e's content relatively easily to Polish, as technically, the character sheet is available in the language, but the entirety of roll20's compendium is not. So I am left with english spells and class traits and just Polish skill names, basically. I wanted to create an API that stores translations in a handout in a JSON format and just make a wee button that would convert stuff easily. This way my players can use compendium (or I can do that for them) and still have it translated to Polish quickly. Is this even possible with 5e character sheet that roll20 provides? If not, is there some alternative available? Thanks in advance
my advise is to do this manually, because: 1) there is so much content to translate compared to the amount of content actually in the sheets. You would need to translate everything upfront and only use maybe 5% of the translated spells. 2) the actual reuse of content is small across the different player characters, unless you have hundreds of PCs to fill out. In which case you can copy translations between sheets - or maintain an external document to copy content from.
For NPCs and monsters my advice is to use library games to store manually translated npcs/monsters. Then use the transmogrifier to copy these over to play games,
Thanks for the answer. I already have all the data present, all I need is to put it into a JSON which I can do in less than 10 minutes. The previous format I used was just readable one for homebrewery. The only question is how doable is it on roll20. Replacing spell text by hand is rather tedious, hence my question.
For those interested, it wasn't too complicated, all I had to do was find info on the repeating attributes. Once I browsed through the documention and found all the data on d&d 5e's character sheet info, it was easy from then on out.