ripcrypt/module/documents/item.mjs
2025-01-26 14:17:56 -07:00

8 lines
216 B
JavaScript

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;
};
};