Files
fvtt-adventures-with-emmy/module/models/background.mjs
T
2026-03-05 21:51:31 +01:00

12 lines
365 B
JavaScript

export default class AwEBackground extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields
const schema = {}
schema.description = new fields.HTMLField({ required: true, textSearch: true })
schema.bonus = new fields.StringField({ initial: "", required: false, nullable: true })
return schema
}
}