20 lines
473 B
JavaScript
20 lines
473 B
JavaScript
import { SYSTEM } from "../config/system.mjs"
|
|
import { htmlField } from "./shared.mjs"
|
|
|
|
export default class MGNEFeature extends foundry.abstract.TypeDataModel {
|
|
static defineSchema() {
|
|
return {
|
|
featureId: new foundry.data.fields.StringField({
|
|
required: false,
|
|
nullable: true,
|
|
blank: true,
|
|
initial: "",
|
|
}),
|
|
description: htmlField(""),
|
|
}
|
|
}
|
|
|
|
/** @override */
|
|
static LOCALIZATION_PREFIXES = ["MGNE.Feature"]
|
|
}
|