Tabletop-Mirror / Issues-and-Tasks

0 stars 0 forks source link

Roll20 Importing #128

Open VarunS1997 opened 6 days ago

VarunS1997 commented 6 days ago

We should eventually make the process of importing things directly from Roll20 very easy.

We have no idea how tough this would be.

Reference: roll20-sample.json

HLMelton commented 4 days ago

We'd need more samples of exported data since this just looks like a single character. Doesn't seem crazy difficult since the attributes kind of catch a majority of that stat blocks. We would just have to find the proper bindings for each stat within the JSON blob.

One thing we would have to be cautious of is the Marvel stuff since I don't think we currently support that system. We could also just reject the character input based on the schema version if its unsupported but we'd need more samples to determine if that's being used in the way I'm assuming it is.

VarunS1997 commented 4 days ago

That's a good point, we'd want exports of a few different systems as well.

I wonder how uniform the R20 exports are, in general.

We'd also probably just want to reject irregular imports if we detect it as so.