Add the locations selector (closes #153)
This commit is contained in:
parent
ad2da03f1e
commit
dd5a980f4e
5 changed files with 34 additions and 14 deletions
|
|
@ -12,4 +12,13 @@ export class DotDungeonItem extends Item {
|
|||
};
|
||||
return this.system.quantity;
|
||||
};
|
||||
|
||||
get availableLocations() {
|
||||
return [
|
||||
{ value: null, label: `dotdungeon.location.unknown` },
|
||||
{ value: `inventory`, label: `dotdungeon.location.inventory` },
|
||||
{ value: `equipped`, label: `dotdungeon.location.equipped` },
|
||||
{ value: `storage`, label: `dotdungeon.location.storage` },
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue