Downtime window now enumerates the actions/resources that will be refreshed upon completion. Resources can now specify their progression direction

This commit is contained in:
WBHarry 2025-08-05 13:00:57 +02:00
parent 3c470a2d2e
commit a71a9ed344
7 changed files with 140 additions and 2 deletions

View file

@ -56,6 +56,11 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
initial: null,
nullable: true
}),
progression: new fields.StringField({
required: true,
choices: CONFIG.DH.ITEM.itemResourceProgression,
initial: CONFIG.DH.ITEM.itemResourceProgression.increasing.id
}),
diceStates: new fields.TypedObjectField(
new fields.SchemaField({
value: new fields.NumberField({ integer: true, initial: 1, min: 1 }),