mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +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": {
|
"NPC": {
|
||||||
"FIELDS": {
|
"FIELDS": {
|
||||||
"difficulty": { "label": "Difficulty" },
|
"motives": { "label": "Motives" }
|
||||||
"motives": { "label": "Motives" },
|
|
||||||
"description": { "label": "Description" }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Party": {
|
"Party": {
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,13 @@ export default class DhpNPC extends BaseDataActor {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
return {
|
return {
|
||||||
...super.defineSchema(),
|
...super.defineSchema(),
|
||||||
difficulty: new fields.NumberField({ nullable: true, initial: null, integer: true }),
|
difficulty: new fields.NumberField({
|
||||||
description: new fields.HTMLField(),
|
nullable: true,
|
||||||
|
initial: null,
|
||||||
|
integer: true,
|
||||||
|
label: 'DAGGERHEART.GENERAL.difficulty'
|
||||||
|
}),
|
||||||
|
description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }),
|
||||||
motives: new fields.HTMLField(),
|
motives: new fields.HTMLField(),
|
||||||
notes: new fields.HTMLField()
|
notes: new fields.HTMLField()
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,7 @@
|
||||||
"htmlFields": ["notes", "description"]
|
"htmlFields": ["notes", "description"]
|
||||||
},
|
},
|
||||||
"party": {
|
"party": {
|
||||||
"htmlFields": ["notes"]
|
"htmlFields": ["notes", "description", "motives"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
data-group='{{tabs.details.group}}'
|
data-group='{{tabs.details.group}}'
|
||||||
>
|
>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.description.label"}}</legend>
|
<legend>{{localize "DAGGERHEART.GENERAL.description"}}</legend>
|
||||||
{{formInput systemFields.description value=document._source.system.description}}
|
{{formInput systemFields.description value=document._source.system.description}}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue