mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 21:34:16 +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'
|
label: 'DAGGERHEART.GENERAL.difficulty'
|
||||||
}),
|
}),
|
||||||
description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }),
|
description: new fields.HTMLField({ label: 'DAGGERHEART.GENERAL.description' }),
|
||||||
motives: new fields.HTMLField(),
|
motives: new fields.StringField(),
|
||||||
notes: new fields.HTMLField()
|
notes: new fields.HTMLField()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,12 +77,6 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
padding: 16px 0;
|
padding: 16px 0;
|
||||||
|
|
||||||
.motives-and-tactics {
|
|
||||||
p:first-of-type {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,7 @@
|
||||||
"htmlFields": ["notes", "description"]
|
"htmlFields": ["notes", "description"]
|
||||||
},
|
},
|
||||||
"party": {
|
"party": {
|
||||||
"htmlFields": ["notes", "description", "motives"]
|
"htmlFields": ["notes", "description"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,6 @@
|
||||||
{{formInput systemFields.description value=document._source.system.description}}
|
{{formInput systemFields.description value=document._source.system.description}}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
{{formGroup systemFields.motives value=document._source.system.motives}}
|
||||||
<legend>{{localize "DAGGERHEART.ACTORS.NPC.FIELDS.motives.label"}}</legend>
|
|
||||||
{{formInput systemFields.motives value=document._source.system.motives}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
|
{{formGroup systemFields.difficulty value=document._source.system.difficulty localize=true}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@
|
||||||
<i>{{{description}}}</i>
|
<i>{{{description}}}</i>
|
||||||
</span>
|
</span>
|
||||||
<div class="motives-and-tactics">
|
<div class="motives-and-tactics">
|
||||||
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motives.label'}}</b>
|
<b>{{localize 'DAGGERHEART.ACTORS.NPC.FIELDS.motives.label'}}: </b>
|
||||||
{{{source.system.motives}}}
|
{{source.system.motives}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue