1
0
Fork 0

Add antique gear (from Snowcloak/Sastasha Hard/Qarn Hard) to allowed discardable items

master v3.5
Liza 2023-11-26 13:21:44 +01:00
parent 0d706ca395
commit 48c8052afe
Signed by: liza
GPG Key ID: 7199F8D727D55F67
3 changed files with 17 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<Version>3.4</Version>
<Version>3.5</Version>
<LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -161,7 +161,7 @@ public class AutoDiscardPlogon : IDalamudPlugin
InventoryItem* nextItem = _inventoryUtils.GetNextItemToDiscard(itemFilter);
if (nextItem == null)
{
_pluginLog.Information($"No item to discard found");
_pluginLog.Information("No item to discard found");
FinishDiscarding(type);
}
else

View File

@ -4,18 +4,22 @@ namespace ARDiscard.GameData;
internal static class InternalConfiguration
{
/// <summary>
/// Not all of these *can* be discarded, but we shouldn't attempt it either.
/// </summary>
public static readonly IReadOnlyList<uint> BlacklistedItems = new List<uint>
{
2820, // red onion helm
16039, // ala mhigan earrings
24589, // aetheryte earrings
33648, // menphina's earrings
21197, // UCOB
23175, // UWU
28633, // TEA
36810, // DSR
38951, // TOP
21197, // UCOB token
23175, // UWU token
28633, // TEA token
36810, // DSR token
38951, // TOP token
}.AsReadOnly();
/// <summary>
@ -27,5 +31,11 @@ internal static class InternalConfiguration
2962, // Onion Doublet
3279, // Onion Gaskins
3743, // Onion Patterns
9387, // Antique Helm
9388, // Antique Mail
9389, // Antique Gauntlets
9390, // Antique Breeches
9391, // Antique Sollerets
}.AsReadOnly();
}