oronder / Oronder

A Foundry VTT module for deep Discord integration
https://foundryvtt.com/packages/oronder
MIT License
5 stars 3 forks source link

Other Systems Support #22

Open mcDevnagh opened 2 weeks ago

mcDevnagh commented 2 weeks ago

Hello. I would like this module to work with Pathfinder 2e A cursory look at the codebase, and it seems that dnd5e specifics are hard-coded (PF2e actors don't have a race). I'm assuming system-specific code would need to be abstracted out, and then each system would need to implement some sort of interface. Stage 1 of this effort would probably not introduce any new systems. Just refactor existing code to allow for more systems. Is this a direction you would like to do? What exactly would be system specific?

ChunkLightTuna commented 1 week ago

Yes, I would first need to abstract out the 5e specific code. Presumably, everything referencing system would need to change. There are also backend data models and database schema that make assumptions about 5e.