Add a different default image for attribute items so they stand out a bit more in the item tab

This commit is contained in:
Oliver 2026-04-29 22:12:18 -06:00
parent a30d68a327
commit 6723e0d25f
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,8 @@
export class TAFItem extends foundry.documents.Item {
static getDefaultArtwork(itemData) {
switch (itemData.type) {
case `attribute`: return { img: `icons/svg/jump.svg` };
};
return super.getDefaultArtwork(itemData);
};
};