Lay the foundation for the per-item templating in the inventory

This commit is contained in:
Oliver-Akins 2024-03-17 21:10:34 -06:00
parent 5e2fb95c73
commit 6d14d70f3e
5 changed files with 20 additions and 7 deletions

View file

@ -118,7 +118,7 @@ export class PlayerSheetv2 extends GenericActorSheet {
return stats;
};
_itemTypesHidden = new Set();
_itemTypesHidden = new Set([`weapon`, `armour`, `equipment`, `foil`, `structure`, `service`]);
toggleItemFilter(filterName) {
if (this._itemTypesHidden.has(filterName)) {
this._itemTypesHidden.delete(filterName);