Files
fvtt-machine-gods-noxian-ex…/module/models/feature.mjs
T
2026-06-07 21:32:05 +02:00

21 lines
521 B
JavaScript

import { SYSTEM } from "../config/system.mjs"
import { htmlField, numberField } 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: "",
}),
capacity: numberField(0, 0),
description: htmlField(""),
}
}
/** @override */
static LOCALIZATION_PREFIXES = ["MGNE.Feature"]
}