Excise piles & hands

This commit is contained in:
walcutt 2024-12-29 13:10:58 -05:00
parent 0c07c5590c
commit b8bdb025c5
2 changed files with 11 additions and 0 deletions

View File

@ -97,4 +97,8 @@ Hooks.once("init", () => {
makeDefault: true,
label: 'Hench Cards Sheet'
});
// remove other card stack types...
CardStacks.unregisterSheet('core', CardsHand);
CardStacks.unregisterSheet('core', CardsPile);
});

View File

@ -11,6 +11,13 @@ export class HenchCardsDataModel extends foundry.abstract.TypeDataModel {
// Document Class
export class HenchCards extends Cards {
/** @override */
static get TYPES() {
return [
'deck',
];
}
// Getters
get allCards() {
return this.cards.contents;