diff --git a/Deliveroo/Deliveroo.csproj b/Deliveroo/Deliveroo.csproj index a46f067..b1de793 100644 --- a/Deliveroo/Deliveroo.csproj +++ b/Deliveroo/Deliveroo.csproj @@ -1,7 +1,7 @@ net7.0-windows - 3.2 + 3.3 11.0 enable true diff --git a/Deliveroo/DeliverooPlugin.Supply.cs b/Deliveroo/DeliverooPlugin.Supply.cs index 856e031..058e516 100644 --- a/Deliveroo/DeliverooPlugin.Supply.cs +++ b/Deliveroo/DeliverooPlugin.Supply.cs @@ -184,11 +184,11 @@ partial class DeliverooPlugin { string? itemName = addonSupplyReward->AtkUnitBase.AtkValues[4].ReadAtkString(); if (itemName != null && _itemCache.GetItemIdFromItemName(itemName) - .Any(itemId => DisabledTurnInItems.Contains(itemId))) + .Any(itemId => InternalConfiguration.QuickVentureExclusiveItems.Contains(itemId))) { _chatGui.Print(new SeStringBuilder().Append("Won't turn in ") .AddItemLink(_itemCache.GetItemIdFromItemName(itemName).First()) - .Append(".") + .Append(", as can be exclusively obtained exclusively through Quick Ventures.") .Build()); addonSupplyReward->AtkUnitBase.FireCallbackInt(1); diff --git a/Deliveroo/GameData/InternalConfiguration.cs b/Deliveroo/GameData/InternalConfiguration.cs new file mode 100644 index 0000000..f659f2f --- /dev/null +++ b/Deliveroo/GameData/InternalConfiguration.cs @@ -0,0 +1,56 @@ +using System.Collections.Generic; +using System.Linq; + +namespace Deliveroo.GameData; + +internal static class InternalConfiguration +{ + public static readonly IReadOnlyList QuickVentureExclusiveItems = new List + { + // Weapons + 1662, // Thormoen's Pride + 1799, // Sibold's Reach + 1870, // Gerbald's Redspike + 1731, // Symon's Honeyclaws + 1940, // Alesone's Songbow + 2132, // Aubriest's Whisper + 2043, // Chiran Zabran's Tempest + + 2271, // Thormoen's Purpose + 2290, // Aubriest's Allegory + + // Armor + 2752, // Peregrine Helm + 2820, // Red Onion Helm + 2823, // Veteran's Pot Helm + 2822, // Explorer's Bandana + 2821, // Explorer's Calot + 3170, // Explorer's Tabard + 3168, // Veteran's Acton + 3167, // Explorer's Tunic + 3171, // Mage's Halfrobe + 3676, // Spiked Armguards + 3644, // Mage's Halfgloves + 3418, // Thormoen's Subligar + 3420, // Explorer's Breeches + 3419, // Mage's Chausses + 3864, // Explorer's Sabatons + 3865, // Explorer's Moccasins + 3863, // Mage's Pattens + + // Accessories + 4256, // Stonewall Earrings + 4249, // Explorer's Earrings + 4250, // Mage's Earrings + 4257, // Blessed Earrings + 4359, // Stonewall Choker + 4357, // Explorer's Choker + 4358, // Mage's Choker + 4498, // Stonewall Ring + 4483, // Explorer's Ring + 4484, // Mage's Ring + 4499, // Blessed Ring + } + .ToList() + .AsReadOnly(); +}