Make it so that Materials can only be in unknown location or your inventory
This commit is contained in:
parent
484c7a375c
commit
6198146c6c
1 changed files with 7 additions and 0 deletions
|
|
@ -5,4 +5,11 @@ export class Material extends DotDungeonItem {
|
|||
let affects = game.settings.get(`dotdungeon`, `materialsAffectCapacity`);
|
||||
return affects ? super.usedCapacity : 0;
|
||||
};
|
||||
|
||||
get availableLocations() {
|
||||
return [
|
||||
{ value: null, label: `dotdungeon.location.unknown` },
|
||||
{ value: `inventory`, label: `dotdungeon.location.inventory` },
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue