Files
fvtt-machine-gods-noxian-ex…/module/models/feature.mjs
T
2026-05-05 13:55:42 +02:00

20 lines
509 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: true,
nullable: false,
initial: "akimbo-hit-priest",
choices: SYSTEM.featureChoices,
}),
description: htmlField(""),
}
}
/** @override */
static LOCALIZATION_PREFIXES = ["MGNE.Feature"]
}