I added support for rolling hit dice for the DCC system.
Therefore I had to distunguish between supported systems (that show the system tab in the settings) and systems that support creature sizes (up to now this had been the same, both DND5e and PF2e).
I used getProperty with a path from a system.id-based lookup-table. I added the table right there, but maybe you can think of a better place to maintain such constants.
I added support for rolling hit dice for the DCC system.
Therefore I had to distunguish between supported systems (that show the system tab in the settings) and systems that support creature sizes (up to now this had been the same, both DND5e and PF2e).
I used getProperty with a path from a system.id-based lookup-table. I added the table right there, but maybe you can think of a better place to maintain such constants.