mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 12:11:07 +01:00
Add eyes, height, weight, hair, skin and personality fields to character sheet Biography tab
This commit is contained in:
parent
fd92540792
commit
37ed9fe29c
6 changed files with 84 additions and 23 deletions
|
|
@ -236,6 +236,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
const { TextEditor } = foundry.applications.ux;
|
||||
|
||||
const paths = {
|
||||
personality: 'biography.personality',
|
||||
background: 'biography.background',
|
||||
connections: 'biography.connections'
|
||||
};
|
||||
|
|
|
|||
|
|
@ -85,11 +85,17 @@ export default class DhCharacter extends BaseDataActor {
|
|||
})
|
||||
),
|
||||
biography: new fields.SchemaField({
|
||||
personality: new fields.HTMLField(),
|
||||
background: new fields.HTMLField(),
|
||||
connections: new fields.HTMLField(),
|
||||
characteristics: new fields.SchemaField({
|
||||
pronouns: new fields.StringField({}),
|
||||
age: new fields.StringField({}),
|
||||
eyes: new fields.StringField({}),
|
||||
height: new fields.StringField({}),
|
||||
weight: new fields.StringField({}),
|
||||
hair: new fields.StringField({}),
|
||||
skin: new fields.StringField({}),
|
||||
faith: new fields.StringField({})
|
||||
})
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue