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:
@@ -9,7 +9,6 @@ import {
|
||||
CelestopolNPC,
|
||||
CelestopolAnomaly,
|
||||
CelestopolAspect,
|
||||
CelestopolAttribute,
|
||||
CelestopolEquipment,
|
||||
} from "./module/models/_module.mjs"
|
||||
import {
|
||||
@@ -23,7 +22,6 @@ import {
|
||||
CelestopolNPCSheet,
|
||||
CelestopolAnomalySheet,
|
||||
CelestopolAspectSheet,
|
||||
CelestopolAttributeSheet,
|
||||
CelestopolEquipmentSheet,
|
||||
} from "./module/applications/_module.mjs"
|
||||
|
||||
@@ -42,7 +40,6 @@ Hooks.once("init", () => {
|
||||
|
||||
CONFIG.Item.dataModels.anomaly = CelestopolAnomaly
|
||||
CONFIG.Item.dataModels.aspect = CelestopolAspect
|
||||
CONFIG.Item.dataModels.attribute = CelestopolAttribute
|
||||
CONFIG.Item.dataModels.equipment = CelestopolEquipment
|
||||
|
||||
// ── Document classes ────────────────────────────────────────────────────
|
||||
@@ -88,11 +85,6 @@ Hooks.once("init", () => {
|
||||
makeDefault: true,
|
||||
label: "CELESTOPOL.Sheet.aspect",
|
||||
})
|
||||
foundry.documents.collections.Items.registerSheet(SYSTEM_ID, CelestopolAttributeSheet, {
|
||||
types: ["attribute"],
|
||||
makeDefault: true,
|
||||
label: "CELESTOPOL.Sheet.attribute",
|
||||
})
|
||||
foundry.documents.collections.Items.registerSheet(SYSTEM_ID, CelestopolEquipmentSheet, {
|
||||
types: ["equipment"],
|
||||
makeDefault: true,
|
||||
@@ -204,7 +196,6 @@ function _preloadTemplates() {
|
||||
`${base}/npc-blessures.hbs`,
|
||||
`${base}/anomaly.hbs`,
|
||||
`${base}/aspect.hbs`,
|
||||
`${base}/attribute.hbs`,
|
||||
`${base}/equipment.hbs`,
|
||||
`${base}/roll-dialog.hbs`,
|
||||
`${base}/chat-message.hbs`,
|
||||
|
||||
Reference in New Issue
Block a user