mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
cleanup and somehow git is ignoring some changes
This commit is contained in:
parent
5065a609ac
commit
b525995653
2 changed files with 1 additions and 8 deletions
|
|
@ -30,13 +30,6 @@ export default class DhActiveEffectConfig extends foundry.applications.sheets.Ac
|
||||||
async _preparePartContext(partId, context) {
|
async _preparePartContext(partId, context) {
|
||||||
const partContext = await super._preparePartContext(partId, context);
|
const partContext = await super._preparePartContext(partId, context);
|
||||||
switch (partId) {
|
switch (partId) {
|
||||||
case 'details':
|
|
||||||
// Add your custom checkbox field here
|
|
||||||
partContext.fields.yourCustomField = new foundry.data.fields.BooleanField({
|
|
||||||
label: "DAGGERHEART.EFFECTS.YourCustomField.label",
|
|
||||||
hint: "DAGGERHEART.EFFECTS.YourCustomField.hint"
|
|
||||||
});
|
|
||||||
break;
|
|
||||||
case 'changes':
|
case 'changes':
|
||||||
const fieldPaths = [];
|
const fieldPaths = [];
|
||||||
const validFieldPath = fieldPath => this.validFieldPath(fieldPath, this.#unapplicablePaths);
|
const validFieldPath = fieldPath => this.validFieldPath(fieldPath, this.#unapplicablePaths);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ export default class ArmorSheet extends ItemAttachmentSheet(DHBaseItemSheet) {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
/**@override */
|
/**@override */
|
||||||
static PARTS = {
|
static PARTS = {
|
||||||
header: { template: 'systems/daggerheart/templates/sheets/items/armor/header.hbs' },
|
header: { template: 'systems/daggerheart/templates/sheets/items/armor/header.hbs' },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue