Anomalie : refonte fiche — 3 champs Technique/Narratif/Exemples
- DataModel : suppression 'description', ajout 'exemples' (HTMLField) - Template anomaly.hbs : suppression onglets, 3 sections éditables directement (sans bouton masqué), scroll interne - Styles : fond crème + titres de section Art Déco + éditeurs blancs avec texte sombre lisible (fix couleur jaune illisible) - item-sheets.mjs : contexte enrichedExemples + hauteur fenêtre 560px - lang/fr.json : clé CELESTOPOL.Item.exemples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -35,9 +35,9 @@ export class CelestopolAnomaly extends foundry.abstract.TypeDataModel {
|
||||
choices: Object.keys(SYSTEM.ANOMALY_TYPES) }),
|
||||
level: new fields.NumberField({ ...reqInt, initial: 2, min: 1, max: 4 }),
|
||||
usesRemaining: new fields.NumberField({ ...reqInt, initial: 2, min: 0, max: 4 }),
|
||||
description: new fields.HTMLField({ required: true, textSearch: true }),
|
||||
technique: new fields.HTMLField({ required: true, textSearch: true }),
|
||||
narratif: new fields.HTMLField({ required: true, textSearch: true }),
|
||||
exemples: new fields.HTMLField({ required: true, textSearch: true }),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user