Skip to content

Json fixes#4

Open
peardox wants to merge 4 commits intoTabyltop:mainfrom
peardox:json_fixes
Open

Json fixes#4
peardox wants to merge 4 commits intoTabyltop:mainfrom
peardox:json_fixes

Conversation

@peardox
Copy link
Copy Markdown

@peardox peardox commented Jan 21, 2024

As noted in #3 there were a few bad records I've identified so far in the Monster JSON
I dsecided to add a subtype field so that e,g, Wereboar which in SRD is listed as "Medium humanoid (human, shapechanger), neutral evil" is now...

        "name": "Wereboar",
        "size": "Medium",
        "type": "humanoid",
    "subtypes":  ["human", "shapechanger"],
        "alignment": "neutral evil",

`
I've also fixed a few small other issues

NOT in this PR but in test I've also converted hit_hpoints a-la #2 so Wereboar (at least here) looks like this...

"hitPoints": { "avg": 78, "diceCount": 12, "diceType": 8, "bonus": 24 },

When I've done some more of the conversion I'll make the program that does this public. At the moment the export is starting to diverge from the initial JSON (but the prog will read either when done)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant