mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
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:
parent
f80a849b73
commit
7802d18a4d
32 changed files with 594 additions and 470 deletions
11
module/data/settings/Automation.mjs
Normal file
11
module/data/settings/Automation.mjs
Normal 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 })
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue