mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* Added the shell of the Countdown application * Added countdown automation * Fixed overflow layout and added confirmation on countdown removal * Added ownership to countdowns
12 lines
534 B
JavaScript
12 lines
534 B
JavaScript
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 }),
|
|
countdowns: new fields.BooleanField({ requireD: true, initial: false })
|
|
};
|
|
}
|
|
}
|