Implement the Attribute sheet for editing
This commit is contained in:
parent
599789ec13
commit
e8c73de6bd
8 changed files with 242 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// Apps
|
||||
import { AttributeItemSheet } from "../apps/AttributeItemSheet.mjs";
|
||||
import { AttributeOnlyPlayerSheet } from "../apps/AttributeOnlyPlayerSheet.mjs";
|
||||
import { GenericItemSheet } from "../apps/GenericItemSheet.mjs";
|
||||
import { PlayerSheet } from "../apps/PlayerSheet.mjs";
|
||||
|
|
@ -68,6 +69,15 @@ Hooks.on(`init`, () => {
|
|||
label: `taf.sheet-names.GenericItemSheet`,
|
||||
},
|
||||
);
|
||||
foundry.documents.collections.Items.registerSheet(
|
||||
__ID__,
|
||||
AttributeItemSheet,
|
||||
{
|
||||
types: [`attribute`],
|
||||
makeDefault: true,
|
||||
label: `taf.sheet-names.AttributeItemSheet`,
|
||||
},
|
||||
);
|
||||
// #endregion Sheets
|
||||
|
||||
registerWorldSettings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue