I'm trying to incorporate PCGen into my application to avoid recreating the wheel for D20 system. (Are there any other libraries out there?)
In other words I would like to use PCGen as a library and do things like:
- CRUD characters (and all related information)
- Experience/level managements
I don't need the GUI part of it just the information to pass to my application.
This is a scenario I can think of: 1. Load available custom classes 2. Create a new Character/NPC 3. Transfer the stats to my system 4. Player keeps playing so I need to update experience 5. Save player in my system and recreate it later.
I'm trying to start to create a character from PCClass with no luck. Looking at the code it seems it'll try to load it. I assume load from a file generated from the GUI. Is there a way of bypassing the GUI for all this?
I was looking for a tutorial of some sorts without luck.
I was able to figure out how to use the dice within PCGen but that's about it.