fvtt-cthulhu-eternal/module/models/mentaldisorder.mjs

16 lines
455 B
JavaScript

export default class CthulhuEternalMentalDisorder extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields
const requiredInteger = { required: true, nullable: false, integer: true }
const schema = {}
schema.description = new fields.HTMLField({ required: true, textSearch: true })
return schema
}
/** @override */
static LOCALIZATION_PREFIXES = ["CTHULHUETERNAL.MentalDisorder"]
}