diff --git a/module/handlebars.mjs b/module/handlebars.mjs index 489fc3c..dede71c 100644 --- a/module/handlebars.mjs +++ b/module/handlebars.mjs @@ -26,7 +26,8 @@ export const partials = [ `actors/char-sheet/v2/partials/inventory/player.v2.pc.hbs`, `actors/char-sheet/v2/partials/inventory/item-list.v2.pc.hbs`, `actors/char-sheet/v2/partials/inventory/storage.v2.pc.hbs`, - `actors/char-sheet/v2/partials/inventory/transportation.v2.pc.hbs`, + `actors/char-sheet/v2/partials/inventory/items/material.v2.pc.hbs`, + `actors/char-sheet/v2/partials/inventory/items/untyped.v2.pc.hbs`, ]; export const icons = [ diff --git a/module/sheets/Actors/PC/PlayerSheetV2.mjs b/module/sheets/Actors/PC/PlayerSheetV2.mjs index a8ea542..1a7f8c9 100644 --- a/module/sheets/Actors/PC/PlayerSheetV2.mjs +++ b/module/sheets/Actors/PC/PlayerSheetV2.mjs @@ -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); diff --git a/templates/actors/char-sheet/v2/partials/inventory/item-list.v2.pc.hbs b/templates/actors/char-sheet/v2/partials/inventory/item-list.v2.pc.hbs index 4902c54..5096c8e 100644 --- a/templates/actors/char-sheet/v2/partials/inventory/item-list.v2.pc.hbs +++ b/templates/actors/char-sheet/v2/partials/inventory/item-list.v2.pc.hbs @@ -10,11 +10,11 @@