Add eyes, height, weight, hair, skin and personality fields to character sheet Biography tab

This commit is contained in:
Zakkon 2025-09-29 14:09:01 +02:00
parent fd92540792
commit 37ed9fe29c
6 changed files with 84 additions and 23 deletions

View file

@ -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'
};

View file

@ -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({})
})
}),