diff --git a/lang/en.json b/lang/en.json index 0bfaf246..9ce515d9 100755 --- a/lang/en.json +++ b/lang/en.json @@ -336,9 +336,7 @@ }, "NPC": { "FIELDS": { - "difficulty": { "label": "Difficulty" }, - "motives": { "label": "Motives" }, - "description": { "label": "Description" } + "motives": { "label": "Motives" } } }, "Party": { diff --git a/module/data/actor/npc.mjs b/module/data/actor/npc.mjs index 2a702943..d8dc3663 100644 --- a/module/data/actor/npc.mjs +++ b/module/data/actor/npc.mjs @@ -18,8 +18,13 @@ export default class DhpNPC extends BaseDataActor { const fields = foundry.data.fields; return { ...super.defineSchema(), - difficulty: new fields.NumberField({ nullable: true, initial: null, integer: true }), - description: new fields.HTMLField(), + difficulty: new fields.NumberField({ + nullable: true, + initial: null, + integer: true, + label: 'DAGGERHEART.GENERAL.difficulty' + }), + description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }), motives: new fields.HTMLField(), notes: new fields.HTMLField() }; diff --git a/system.json b/system.json index 8ecea7fc..c8401fa0 100644 --- a/system.json +++ b/system.json @@ -251,7 +251,7 @@ "htmlFields": ["notes", "description"] }, "party": { - "htmlFields": ["notes"] + "htmlFields": ["notes", "description", "motives"] } }, "Item": { diff --git a/templates/sheets-settings/npc-settings/details.hbs b/templates/sheets-settings/npc-settings/details.hbs index 844b083a..9c76ee28 100644 --- a/templates/sheets-settings/npc-settings/details.hbs +++ b/templates/sheets-settings/npc-settings/details.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.details.group}}' >