Implement a button to create items of a specific subtype in the player inventory (closes #120)
This commit is contained in:
parent
b3e699bc32
commit
96f5b17785
9 changed files with 73 additions and 21 deletions
|
|
@ -136,6 +136,7 @@ export class PlayerSheetv2 extends GenericActorSheet {
|
|||
filters[type] = {
|
||||
label: localizer(`TYPES.Item.${type}`),
|
||||
active: !this._itemTypesHidden.has(type),
|
||||
createLabel: localizer(`dotdungeon.sheet.actor.v2.create-item`, {type}),
|
||||
};
|
||||
};
|
||||
return filters;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue