Compendium Browser per type

This commit is contained in:
Dapoolp 2025-08-27 00:49:58 +02:00
parent aaf6c689fc
commit 0fff4b8f79
9 changed files with 282 additions and 85 deletions

View file

@ -425,8 +425,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
equipment = ['armor', 'weapon'];
const presets = {
compendium: 'daggerheart',
folder: equipment.includes(type) ? 'equipments' : type,
folder: equipment.includes(type) ? `equipments.folders.${type}s` : type,
render: {
noFolder: true
}