2024-12-04 00:11:23 +01:00
|
|
|
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 })
|
2025-01-07 19:51:49 +01:00
|
|
|
schema.cured = new fields.BooleanField({ required: true, initial: false })
|
|
|
|
|
2024-12-04 00:11:23 +01:00
|
|
|
return schema
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @override */
|
|
|
|
static LOCALIZATION_PREFIXES = ["CTHULHUETERNAL.MentalDisorder"]
|
|
|
|
|
|
|
|
}
|