Data Entries - League-of-Fabulous-Developers/FoundryVTT-Fabula-Ultima GitHub Wiki
In this page we will cover how to add/update data entries in the system compendiums as well as the style guidelines for them.
Editing
So when first cloning the project,
- Run
npm run pack(making sure Foundry is closed).
- Alternatively, you can edit the JSON files inside
projectfu\src\packsand commit said changes. (Could probably pack to see what the changes look like).
- From here you can edit the compendium items in Foundry.
- After making changes close foundry, and invoke
npm run unpack - Commit as usual.
- For consequent edits, you can keep invoking
npm run pack.
Note that the github workflow automates packing on release.
Resetting
After the compendium entries change from another commit and you pull that:
- Discard all local changes to compendiums.
- Invoke
npm run packin order to rebuild the compendiums with those.