Don't show gil/mgp/allagan tomestones in item search (although they wouldn't be discarded anyway)
This commit is contained in:
parent
be97c709f8
commit
239cb18968
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0-windows</TargetFramework>
|
||||
<Version>3.7</Version>
|
||||
<Version>3.8</Version>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace ARDiscard.GameData;
|
||||
|
||||
@ -20,7 +21,10 @@ internal static class InternalConfiguration
|
||||
28633, // TEA token
|
||||
36810, // DSR token
|
||||
38951, // TOP token
|
||||
}.AsReadOnly();
|
||||
}
|
||||
.Concat(Enumerable.Range(1, 99).Select(x => (uint)x))
|
||||
.ToList()
|
||||
.AsReadOnly();
|
||||
|
||||
/// <summary>
|
||||
/// Items that are unique/untradeable, but should still be possible to discard. This is moreso because
|
||||
|
@ -380,6 +380,7 @@ internal sealed class ConfigWindow : LImGui.LWindow
|
||||
if (_allItems == null)
|
||||
{
|
||||
_allItems = _itemCache.AllItems
|
||||
.Where(x => !InternalConfiguration.BlacklistedItems.Contains(x.ItemId))
|
||||
.Where(x => InternalConfiguration.WhitelistedItems.Contains(x.ItemId) ||
|
||||
x is { IsUnique: false, IsUntradable: false, IsIndisposable: false })
|
||||
.Where(x => x.UiCategory != UiCategories.Currency && x.UiCategory != UiCategories.Crystals &&
|
||||
|
Loading…
Reference in New Issue
Block a user