Lay the foundation for the per-item templating in the inventory
This commit is contained in:
parent
5e2fb95c73
commit
6d14d70f3e
5 changed files with 20 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue