Make it so that Materials can only be in unknown location or your inventory

This commit is contained in:
Oliver-Akins 2024-04-19 19:06:15 -06:00
parent 484c7a375c
commit 6198146c6c

View file

@ -5,4 +5,11 @@ export class Material extends DotDungeonItem {
let affects = game.settings.get(`dotdungeon`, `materialsAffectCapacity`); let affects = game.settings.get(`dotdungeon`, `materialsAffectCapacity`);
return affects ? super.usedCapacity : 0; return affects ? super.usedCapacity : 0;
}; };
get availableLocations() {
return [
{ value: null, label: `dotdungeon.location.unknown` },
{ value: `inventory`, label: `dotdungeon.location.inventory` },
];
};
}; };