Personnage : ajout métier, origine, âge et faction dans le header
DataModel : metier (StringField), faction (StringField) ajoutés au top-level Template : identity-row sous le concept avec les 4 champs CSS : .identity-row avec label orange + valeur crème italique Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -7,7 +7,9 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel
|
||||
const schema = {}
|
||||
|
||||
// Concept du personnage
|
||||
schema.concept = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
schema.concept = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
schema.metier = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
schema.faction = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
|
||||
// Initiative (calculée mais stockée pour affichage)
|
||||
schema.initiative = new fields.NumberField({ ...reqInt, initial: 0, min: 0 })
|
||||
|
||||
Reference in New Issue
Block a user