mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
.
This commit is contained in:
parent
25f27c8891
commit
0b9c4500fa
4 changed files with 10 additions and 7 deletions
|
|
@ -336,9 +336,7 @@
|
|||
},
|
||||
"NPC": {
|
||||
"FIELDS": {
|
||||
"difficulty": { "label": "Difficulty" },
|
||||
"motives": { "label": "Motives" },
|
||||
"description": { "label": "Description" }
|
||||
"motives": { "label": "Motives" }
|
||||
}
|
||||
},
|
||||
"Party": {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
};
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@
|
|||
"htmlFields": ["notes", "description"]
|
||||
},
|
||||
"party": {
|
||||
"htmlFields": ["notes"]
|
||||
"htmlFields": ["notes", "description", "motives"]
|
||||
}
|
||||
},
|
||||
"Item": {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
data-group='{{tabs.details.group}}'
|
||||
>
|
||||
<fieldset>
|
||||
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.description.label"}}</legend>
|
||||
<legend>{{localize "DAGGERHEART.GENERAL.description"}}</legend>
|
||||
{{formInput systemFields.description value=document._source.system.description}}
|
||||
</fieldset>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue