mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-10 19:17:09 +01:00
.
This commit is contained in:
parent
e1d89999d7
commit
38dd2993a1
5 changed files with 11 additions and 15 deletions
|
|
@ -181,9 +181,9 @@ Hooks.once('init', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
RollTables.unregisterSheet('core', foundry.applications.sheets.RollTableSheet);
|
RollTables.unregisterSheet('core', foundry.applications.sheets.RollTableSheet);
|
||||||
RollTables.registerSheet(SYSTEM.id, applications.sheets.RollTableSheet, {
|
RollTables.registerSheet(SYSTEM.id, applications.sheets.rollTables.RollTableSheet, {
|
||||||
types: ['base'],
|
types: ['base'],
|
||||||
makeDefault: true,
|
makeDefault: true
|
||||||
});
|
});
|
||||||
|
|
||||||
DocumentSheetConfig.unregisterSheet(
|
DocumentSheetConfig.unregisterSheet(
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
export * as actors from './actors/_module.mjs';
|
export * as actors from './actors/_module.mjs';
|
||||||
export * as api from './api/_modules.mjs';
|
export * as api from './api/_modules.mjs';
|
||||||
export * as items from './items/_module.mjs';
|
export * as items from './items/_module.mjs';
|
||||||
export * as rollTables from './rollTable/_module.mjs'
|
export * as rollTables from './rollTables/_module.mjs';
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
export { default as RollTableSheet } from './rollTable.mjs';
|
|
||||||
1
module/applications/sheets/rollTables/_module.mjs
Normal file
1
module/applications/sheets/rollTables/_module.mjs
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as RollTableSheet } from './rollTable.mjs';
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
//Setting RollTable
|
//Setting RollTable
|
||||||
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet{
|
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
|
||||||
static get PARTS() {
|
static get PARTS() {
|
||||||
const parts= super.PARTS;
|
const parts = super.PARTS;
|
||||||
return{
|
return {
|
||||||
summary: {
|
summary: {
|
||||||
template: "templates\sheets\rollTable\summary.hbs"
|
template: 'templates\sheets\rollTable\summary.hbs'
|
||||||
},
|
},
|
||||||
...parts
|
...parts
|
||||||
};
|
};
|
||||||
|
|
@ -15,12 +15,8 @@ export default class DhRollTableSheet extends foundry.applications.sheets.RollTa
|
||||||
};
|
};
|
||||||
|
|
||||||
//Add formulafield
|
//Add formulafield
|
||||||
static async #onAddAltFormula (event,target) {
|
static async #onAddAltFormula(event, target) {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//Remove formulafield
|
//Remove formulafield
|
||||||
static async #onRemoveAltFormula (event,target) {
|
static async #onRemoveAltFormula(event, target) {}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue