mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
Changed npc.motives to be a simple string field
This commit is contained in:
parent
0b9c4500fa
commit
a728760de0
5 changed files with 5 additions and 15 deletions
|
|
@ -25,7 +25,7 @@ export default class DhpNPC extends BaseDataActor {
|
|||
label: 'DAGGERHEART.GENERAL.difficulty'
|
||||
}),
|
||||
description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }),
|
||||
motives: new fields.HTMLField(),
|
||||
motives: new fields.StringField(),
|
||||
notes: new fields.HTMLField()
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,12 +77,6 @@
|
|||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 16px 0;
|
||||
|
||||
.motives-and-tactics {
|
||||
p:first-of-type {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@
|
|||
"htmlFields": ["notes", "description"]
|
||||
},
|
||||
"party": {
|
||||
"htmlFields": ["notes", "description", "motives"]
|
||||
"htmlFields": ["notes", "description"]
|
||||
}
|
||||
},
|
||||
"Item": {
|
||||
|
|
|
|||
|
|
@ -8,10 +8,6 @@
|
|||
{{formInput systemFields.description value=document._source.system.description}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.motives.label"}}</legend>
|
||||
{{formInput systemFields.motives value=document._source.system.motives}}
|
||||
</fieldset>
|
||||
|
||||
{{formGroup systemFields.motives value=document._source.system.motives}}
|
||||
{{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@
|
|||
<i>{{{description}}}</i>
|
||||
</span>
|
||||
<div class="motives-and-tactics">
|
||||
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motives.label'}}</b>
|
||||
{{{source.system.motives}}}
|
||||
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motives.label'}}: </b>
|
||||
{{source.system.motives}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue