Open alyssadev opened 2 months ago
I'd like to propose expanding the Track Gacha Items tweak to encompass all totem-type items that unlock registrable miscellany. I implemented this change on a local build for one such item, as shown below.
Discussion: https://discord.com/channels/581875019861328007/1019862884303523850/1240899289010540617
diff --git a/Tweaks/Tooltips/TrackGachaItems.cs b/Tweaks/Tooltips/TrackGachaItems.cs index 9df7076..455534b 100644 --- a/Tweaks/Tooltips/TrackGachaItems.cs +++ b/Tweaks/Tooltips/TrackGachaItems.cs @@ -35,6 +35,8 @@ public unsafe class TrackGachaItems : TooltipTweaks.SubTweak { 21922, 21919, 20528, 21911, 20547, 20539, 24000, 21918, 21055, 20544, 20546, 21915, 21060, 21917, 20537, 21057, 23030, 21065, 20545, 23028, 24639, 23036, 24640 }, + /* Daivadipa's Bead */ [36634] = new uint[] { 35990, 36014 }, + }; private DalamudLinkPayload? identifier; @@ -81,6 +83,10 @@ public unsafe class TrackGachaItems : TooltipTweaks.SubTweak { // Triad Card obtained = UIState.Instance()->IsTripleTriadCardUnlocked((ushort)gachaResultItem.AdditionalData); break; + case 1013: + // Barding + obtained = UIState.Instance()->Buddy.CompanionInfo.IsBuddyEquipUnlocked(action.Data[0]); + break; default: Plugin.Error(this, new Exception($"Unhandled Item Action Type: {gachaResultItem.ItemAction.Value.Type}"), true); Disable();
I'd like to propose expanding the Track Gacha Items tweak to encompass all totem-type items that unlock registrable miscellany. I implemented this change on a local build for one such item, as shown below.
Discussion: https://discord.com/channels/581875019861328007/1019862884303523850/1240899289010540617