From 957004f97a47d9463787b6194dad824fb830a8d7 Mon Sep 17 00:00:00 2001 From: LCastr0 Date: Tue, 4 Apr 2017 17:28:11 -0300 Subject: [PATCH] Added 'Found in X' lore --- .../src/mineplex/core/cosmetic/ui/page/GadgetPage.java | 5 +++++ .../src/mineplex/core/cosmetic/ui/page/PetPage.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/GadgetPage.java b/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/GadgetPage.java index 713429dc6..3d8aedbb7 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/GadgetPage.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/GadgetPage.java @@ -180,6 +180,11 @@ public class GadgetPage extends ShopPageBase itemLore.add(C.cBlack); itemLore.add(C.cBlue + "Found in St Patrick's Chests"); } + else if (gadget.getCost(GlobalCurrency.TREASURE_SHARD) == -19) + { + itemLore.add(C.cBlack); + itemLore.add(C.cBlue + "Found in Spring Chests"); + } //Rank Unlocks else if (gadget.getCost(GlobalCurrency.TREASURE_SHARD) == -10) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/PetPage.java b/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/PetPage.java index 3501af878..e7bf684cb 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/PetPage.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/cosmetic/ui/page/PetPage.java @@ -116,6 +116,11 @@ public class PetPage extends ShopPageBase itemLore.add(C.cBlack); itemLore.add(C.cBlue + "Found in St Patrick's Chests"); } + else if (pet.getPrice() == -19) + { + itemLore.add(C.cBlack); + itemLore.add(C.cBlue + "Found in Spring Chests"); + } else if (pet.getPrice() == -14) { itemLore.add(C.cBlack);