Finished token implementation

This commit is contained in:
WBHarry 2025-12-20 17:14:19 +01:00
parent 3b237a223f
commit 809255ba79
7 changed files with 466 additions and 34 deletions

View file

@ -80,9 +80,9 @@ export default class BaseDataActor extends foundry.abstract.TypeDataModel {
if (this.metadata.usesSize)
schema.size = new fields.StringField({
required: true,
nullable: false,
nullable: true,
choices: CONFIG.DH.ACTOR.tokenSize,
initial: CONFIG.DH.ACTOR.tokenSize.medium.id
initial: null
});
return schema;
}