This is mostly refactoring. I've added a Pf2eJsonNodeReader which extends JsonNodeReader with PF2e specific helper methods. This is mostly to be able to use the fluid helper method syntax for common qute object construction. After that, there were several methods in Pf2eTypeReader which seemed like good candidates for moving into Pf2eJsonNodeReader. When I was finished, Pf2eTypeReader was basically empty, so I've removed it and replaced the lingering usages with JsonSource.
Along the way I've fixed some bugs and rendering issues with weaknesses and resistances, and finished implementing the partially-completed spell component support, as well as fixed some other bugs here and there and added some rich data objects for a few things.
The non-refactoring changes are, broadly:
Make weaknesses, resistances and saves rich data objects, and fix some rendering bugs
Make spell saves a rich data object and fix some rendering bugs
Make spell durations and cast durations rich data objects
This is mostly refactoring. I've added a
Pf2eJsonNodeReader
which extendsJsonNodeReader
with PF2e specific helper methods. This is mostly to be able to use the fluid helper method syntax for common qute object construction. After that, there were several methods inPf2eTypeReader
which seemed like good candidates for moving intoPf2eJsonNodeReader
. When I was finished,Pf2eTypeReader
was basically empty, so I've removed it and replaced the lingering usages withJsonSource
.Along the way I've fixed some bugs and rendering issues with weaknesses and resistances, and finished implementing the partially-completed spell component support, as well as fixed some other bugs here and there and added some rich data objects for a few things.
The non-refactoring changes are, broadly: