Excise piles & hands
This commit is contained in:
parent
0c07c5590c
commit
b8bdb025c5
@ -97,4 +97,8 @@ Hooks.once("init", () => {
|
|||||||
makeDefault: true,
|
makeDefault: true,
|
||||||
label: 'Hench Cards Sheet'
|
label: 'Hench Cards Sheet'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// remove other card stack types...
|
||||||
|
CardStacks.unregisterSheet('core', CardsHand);
|
||||||
|
CardStacks.unregisterSheet('core', CardsPile);
|
||||||
});
|
});
|
@ -11,6 +11,13 @@ export class HenchCardsDataModel extends foundry.abstract.TypeDataModel {
|
|||||||
|
|
||||||
// Document Class
|
// Document Class
|
||||||
export class HenchCards extends Cards {
|
export class HenchCards extends Cards {
|
||||||
|
/** @override */
|
||||||
|
static get TYPES() {
|
||||||
|
return [
|
||||||
|
'deck',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
get allCards() {
|
get allCards() {
|
||||||
return this.cards.contents;
|
return this.cards.contents;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user