Iteam cleanup + less migration

This commit is contained in:
2026-03-07 19:18:03 +01:00
parent 97cd50ed12
commit c6f7a9e966
60 changed files with 1633 additions and 851 deletions

View File

@@ -5,9 +5,10 @@ export default class OathHammerOath extends foundry.abstract.TypeDataModel {
const fields = foundry.data.fields
const schema = {}
schema.benefit = new fields.HTMLField({ required: true, textSearch: true })
schema.violation = new fields.HTMLField({ required: true, textSearch: true })
schema.oathType = new fields.StringField({ required: true, initial: "oath-of-justice", choices: SYSTEM.OATH_TYPES })
schema.tenet = new fields.HTMLField({ required: false, textSearch: true })
schema.boon = new fields.HTMLField({ required: true, textSearch: true })
schema.bane = new fields.HTMLField({ required: true, textSearch: true })
schema.violated = new fields.BooleanField({ required: true, initial: false })
return schema