Excluded gold and lockpicks

This commit is contained in:
Eddoursul 2022-08-22 20:58:26 +02:00
parent a2c6bac44b
commit 1512178edd
2 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ inline void ReturnSupplies()
if (component->obj->Is(RE::FormType::Ingredient)) {
suppliesToStore.insert(component->obj);
} else if (component->obj->Is(RE::FormType::Misc)) {
} else if (component->obj->Is(RE::FormType::Misc) && !component->obj->IsGold() && !component->obj->IsLockpick()) {
if (keywords->HasKeyword(kOreIngot) || keywords->HasKeyword(kAnimalPart) || keywords->HasKeyword(kAnimalHide) || keywords->HasKeyword(kFirewood) || keywords->HasKeyword(kTool) || keywords->HasKeyword(kClutter) || keywords->HasKeyword(kFoodRaw)) {
suppliesToStore.insert(component->obj);
}