diff --git a/src/ItemSheets/Kampftalent.hbs b/src/ItemSheets/Kampftalent.hbs index 05a95cf..e96494b 100644 --- a/src/ItemSheets/Kampftalent.hbs +++ b/src/ItemSheets/Kampftalent.hbs @@ -12,11 +12,7 @@
- + {{DSA41_input "system.kategorie"}}
{{localize "DSA41.talente.label_kategorie"}}
diff --git a/src/main.mjs b/src/main.mjs index 57045f0..cf90e4c 100644 --- a/src/main.mjs +++ b/src/main.mjs @@ -800,7 +800,15 @@ class DSA41_TalentData extends TypeDataModel { class DSA41_KampftalentData extends TypeDataModel { static defineSchema() { return { - kategorie: new StringField({ initial: "waffenlos" }), + kategorie: new StringField({ + required: true, + choices: { + "waffenlos": "DSA41.kampftalent.kategorie.waffenlos", + "nahkampf": "DSA41.kampftalent.kategorie.nahkampf", + "fernkampf": "DSA41.kampftalent.kategorie.fernkampf", + }, + initial: "waffenlos" + }), behinderung: new StringField({ initial: "" }), steigern: new SteigerungsKategorieField(),