Closed christianhturner closed 3 months ago
Why exactly do we need to store the data in a json file? Is this for long term storage? So if the user deletes an npc from the foundry sidebar it will still be backed up to the file?
It's for long term storage and for populating the NPC journal for the players. The module only populates and checks NPCs who are actively in an encounter. JSON is where we will populate the player journal.
When foundry loads documentedActors should be fetched from the JSON file data stored in the module.
Hooks
Notes this is a one-to-one representation of the playerJournalsView