Add collectables to discardable items
This commit is contained in:
parent
3bd6b6fbca
commit
de4c2ab9f3
@ -62,6 +62,14 @@ internal sealed class ItemCache
|
|||||||
cachedItemInfo.CanBeBoughtFromCalamitySalvager = true;
|
cachedItemInfo.CanBeBoughtFromCalamitySalvager = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var collectableItem in dataManager.GetExcelSheet<CollectablesShopItem>()!)
|
||||||
|
{
|
||||||
|
if (collectableItem.RowId == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
listManager.AddToInternalWhitelist(collectableItem.Item.Row);
|
||||||
|
}
|
||||||
|
|
||||||
// only look at msq + regional side quests
|
// only look at msq + regional side quests
|
||||||
foreach (var quest in dataManager.GetExcelSheet<Quest>()!.Where(x => x.JournalGenre.Value?.JournalCategory.Value?.JournalSection.Row is 0 or 1 or 3))
|
foreach (var quest in dataManager.GetExcelSheet<Quest>()!.Where(x => x.JournalGenre.Value?.JournalCategory.Value?.JournalSection.Row is 0 or 1 or 3))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user