Take character sheets exported from Fight Club 5e and use them to populate form-fillable D&D character sheets using pdftk
Most of the code is just working out a mapping from the Fight Club XML to the form fields. Some of the more complex bits are taking into account proficiencies and modifiers from different sources and using them to calculate ability and skill modifiers.
Usage:
- Install pdftk
pip install fdfgen
- Add XML file to directory and change refernece to it in python file. Will change to command line arg later.
python3 fightclub-5e-fill.py