mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
Updated SystemSettings to V2 and organized some
This commit is contained in:
parent
f80a849b73
commit
3cfa1d19c9
31 changed files with 584 additions and 460 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