Suppression item Attribut : redondant avec le DataModel personnage
- DataModel CelestopolAttribute supprimé (items.mjs) - CelestopolAttributeSheet supprimée (item-sheets.mjs) - Imports/registrations retirés (fvtt-celestopol.mjs) - Section 'Attributs' supprimée de character-competences.hbs - Action createAttribute + contexte attributes retirés (character-sheet.mjs) - Template attribute.hbs supprimé - Clés i18n attribute/attributes/newAttribute supprimées (fr.json) - Type 'attribute' retiré des htmlFields (system.json) - htmlFields anomaly corrigés : technique/narratif/exemples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -53,27 +53,6 @@ export class CelestopolAspectSheet extends CelestopolItemSheet {
|
||||
}
|
||||
}
|
||||
|
||||
export class CelestopolAttributeSheet extends CelestopolItemSheet {
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: ["attribute"],
|
||||
position: { width: 620, height: 520 },
|
||||
}
|
||||
static PARTS = {
|
||||
main: { template: "systems/fvtt-celestopol/templates/attribute.hbs" },
|
||||
}
|
||||
async _prepareContext() {
|
||||
const ctx = await super._prepareContext()
|
||||
ctx.skills = SYSTEM.SKILLS
|
||||
ctx.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
this.document.system.description, { async: true })
|
||||
ctx.enrichedTechnique = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
this.document.system.technique, { async: true })
|
||||
ctx.enrichedNarratif = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
this.document.system.narratif, { async: true })
|
||||
return ctx
|
||||
}
|
||||
}
|
||||
|
||||
export class CelestopolEquipmentSheet extends CelestopolItemSheet {
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: ["equipment"],
|
||||
|
||||
Reference in New Issue
Block a user