Adding flag to config.js for dataVersion control

Adding flag for dataVersion control

** added shell of migration.js for updating NPC Data.  This is only being pushed for visibility by people other than me and is by no means done or tested and probably very broken.

Line 159 commented out to keep from running broken function.  Uncomment for testing.

Broken _updateNPCData from lines 242 to 289
This commit is contained in:
supervj 2021-02-22 16:43:41 -05:00
parent c829f2b7b1
commit e43444bc48
2 changed files with 58 additions and 5 deletions

View file

@ -1242,4 +1242,4 @@ SW5E.characterFlags = {
};
// Configure allowed status flags
SW5E.allowedActorFlags = ["isPolymorphed", "originalActor"].concat(Object.keys(SW5E.characterFlags));
SW5E.allowedActorFlags = ["isPolymorphed", "originalActor", "dataVersion"].concat(Object.keys(SW5E.characterFlags));