Text change for Inventory Menu

This commit is contained in:
Chiss 2014-08-08 17:16:20 +10:00
parent e1be732202
commit 02dd579844
2 changed files with 28 additions and 19 deletions

View File

@ -1,9 +1,11 @@
package mineplex.core.inventory.ui.page;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import mineplex.core.account.CoreClientManager;
import mineplex.core.common.util.C;
import mineplex.core.common.util.F;
import mineplex.core.donation.DonationManager;
import mineplex.core.gadget.types.Gadget;
@ -36,7 +38,14 @@ public class Menu extends ShopPageBase<InventoryManager, InventoryShop>
{
AddItem(11, new ShopItem(175, DonationManager.Get(Player.getName()).getCoins() + " Coins", 1, false));
AddItem(13, new ShopItem(Material.CHEST, Plugin.Get(Player).getChestCount() + " Chests", 1, false));
AddItem(15, new ShopItem(Material.EMERALD, DonationManager.Get(Player.getName()).GetGems() + " Gems", 1, false));
AddItem(15, new ShopItem(Material.EMERALD, "Gem Booster", new String[]
{
ChatColor.RESET + "Use these before games start to",
ChatColor.RESET + "boost the amount of Gems earned",
ChatColor.RESET + "for all players in the game!",
ChatColor.RESET + " ",
C.cGreen + C.Bold + "Click to Purchase"
}, 1, false));
AddButton(27, new ShopItem(Material.NETHER_STAR, "Particle Effects", 1, false), new OpenParticles(this));
AddButton(29, new ShopItem(Material.BOW, "Gadgets", 1, false), new OpenGadgets(this));