Fix as per CSV sheet tracking + creature explanation

This commit is contained in:
2026-05-17 17:43:33 +02:00
parent a572c66678
commit 374854cc8b
99 changed files with 2716 additions and 464 deletions
+20
View File
@@ -0,0 +1,20 @@
import { htmlField } from "./shared.mjs"
export default class MGNEParty extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields
return {
memberRefs: new fields.ArrayField(
new fields.SchemaField({
id: new fields.StringField({ required: true, nullable: false, blank: false }),
})
),
credits: new fields.NumberField({ required: true, nullable: false, integer: true, initial: 0, min: 0 }),
notes: htmlField(""),
}
}
/** @override */
static LOCALIZATION_PREFIXES = ["MGNE.Party"]
}