RC-98 | Add quantity to items

This commit is contained in:
Oliver-Akins 2025-01-26 14:17:56 -07:00
parent aa05cdde46
commit 3cff9fda7d
8 changed files with 57 additions and 4 deletions

View file

@ -0,0 +1,8 @@
export class RipCryptItem extends Item {
get quantifiedName() {
if (this.system.quantity != null && this.system.quantity !== 1) {
return `${this.name} (${this.system.quantity})`;
}
return this.name;
};
};