diff --git a/module/applications/sheets/api/application-mixin.mjs b/module/applications/sheets/api/application-mixin.mjs index 449880fb..b18176ec 100644 --- a/module/applications/sheets/api/application-mixin.mjs +++ b/module/applications/sheets/api/application-mixin.mjs @@ -691,6 +691,9 @@ export default function DHApplicationMixin(Base) { case 'weapon': presets.folder = 'equipments.folders.weapons'; break; + case 'feature': + presets.folder = 'features'; + break; case 'domainCard': presets.folder = 'domains'; presets.filter = { diff --git a/templates/sheets/actors/character/features.hbs b/templates/sheets/actors/character/features.hbs index acabd37e..3e942468 100644 --- a/templates/sheets/actors/character/features.hbs +++ b/templates/sheets/actors/character/features.hbs @@ -4,19 +4,21 @@ {{#each document.system.sheetLists as |category|}} {{#if (eq category.type 'feature' )}} {{> 'daggerheart.inventory-items' - title=category.title - type='feature' - collection=category.values - canCreate=true - showActions=true + title=category.title + type='feature' + actorType='character' + collection=category.values + canCreate=true + showActions=true }} {{else if category.values}} {{> 'daggerheart.inventory-items' - title=category.title - type='feature' - collection=category.values - canCreate=false - showActions=true + title=category.title + type='feature' + actorType='character' + collection=category.values + canCreate=false + showActions=true }} {{/if}} diff --git a/templates/sheets/global/partials/inventory-fieldset-items-V2.hbs b/templates/sheets/global/partials/inventory-fieldset-items-V2.hbs index 0a3275d0..31c8f7f5 100644 --- a/templates/sheets/global/partials/inventory-fieldset-items-V2.hbs +++ b/templates/sheets/global/partials/inventory-fieldset-items-V2.hbs @@ -28,7 +28,7 @@ Parameters: {{localize title}} {{#if canCreate}} -