mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
registration things
This commit is contained in:
parent
a0f1441373
commit
e1d89999d7
5 changed files with 17 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ Hooks.once('init', () => {
|
|||
type: game.i18n.localize(typePath)
|
||||
});
|
||||
|
||||
const { Items, Actors } = foundry.documents.collections;
|
||||
const { Items, Actors, RollTables } = foundry.documents.collections;
|
||||
Items.unregisterSheet('core', foundry.applications.sheets.ItemSheetV2);
|
||||
Items.registerSheet(SYSTEM.id, applications.sheets.items.Ancestry, {
|
||||
types: ['ancestry'],
|
||||
|
|
@ -180,6 +180,12 @@ Hooks.once('init', () => {
|
|||
label: sheetLabel('TYPES.Actor.party')
|
||||
});
|
||||
|
||||
RollTables.unregisterSheet('core', foundry.applications.sheets.RollTableSheet);
|
||||
RollTables.registerSheet(SYSTEM.id, applications.sheets.RollTableSheet, {
|
||||
types: ['base'],
|
||||
makeDefault: true,
|
||||
});
|
||||
|
||||
DocumentSheetConfig.unregisterSheet(
|
||||
CONFIG.ActiveEffect.documentClass,
|
||||
'core',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue