FoundryDevelopmentConsortium / Knowledge-Recalled-PF2e-FVTT

Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

documentedActors #18

Closed christianhturner closed 3 months ago

christianhturner commented 1 year ago

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

AlecHolloway commented 1 year 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?

christianhturner commented 1 year ago

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.