144 - Update System Settings (#145)

* Updated SystemSettings to V2 and organized some

* Corrected distance measuring labels

* Raised system.json foundry version
This commit is contained in:
WBHarry 2025-06-15 17:01:59 +02:00 committed by GitHub
parent f80a849b73
commit 7802d18a4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 594 additions and 470 deletions

View file

@ -0,0 +1,11 @@
export default class DhAutomation extends foundry.abstract.DataModel {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.Automation']; // Doesn't work for some reason
static defineSchema() {
const fields = foundry.data.fields;
return {
hope: new fields.BooleanField({ required: true, initial: false }),
actionPoints: new fields.BooleanField({ required: true, initial: false })
};
}
}