package net.yamas.enchant.utils; import java.util.Arrays; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class InventoryUtils { public static ItemStack bookshelf = new ItemStack(Material.BOOKSHELF, 1);{ ItemMeta im = bookshelf.getItemMeta(); im.setDisplayName("§8Ilosc biblioteczek: §7{BOOKSHELF}"); bookshelf.setItemMeta(im); } public static ItemStack author = new ItemStack(Material.PAPER, 1);{ ItemMeta im = author.getItemMeta(); im.setDisplayName("§cRC-ENCHANTS"); im.setLore(Arrays.asList(" ", "§aAutor: §cwalkyGaming", "§aWykonane dla: §cRCDROP.PL", "§aWersja: §c0.1 Beta")); author.setItemMeta(im); } @SuppressWarnings("deprecation") public static ItemStack glass = new ItemStack(Material.getMaterial(160), 1, (short) 8);{ ItemMeta im = glass.getItemMeta(); im.setDisplayName("§cRC-ENCHANTS"); im.setLore(Arrays.asList(" ", "§aAutor: §cwalkyGaming", "§aWykonane dla: §cRCDROP.PL", "§aWersja: §c0.1 Beta")); glass.setItemMeta(im); } public static ItemStack close = new ItemStack(Material.FIRE, 1);{ ItemMeta im = close.getItemMeta(); im.setDisplayName(" "); im.setLore(Arrays.asList("§8(§aKliknij, aby zamknac§8)")); close.setItemMeta(im); } public static ItemStack prot4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = prot4.getItemMeta(); im.setDisplayName("§7Ochrona"); im.setLore(Arrays.asList("§aEnchant: §cOchrona 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 4, true); prot4.setItemMeta(im); } public static ItemStack prot5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = prot5.getItemMeta(); im.setDisplayName("§7Ochrona"); im.setLore(Arrays.asList("§aEnchant: §cOchrona 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 5, true); prot5.setItemMeta(im); } public static ItemStack prot6 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = prot6.getItemMeta(); im.setDisplayName("§7Ochrona"); im.setLore(Arrays.asList("§aEnchant: §cOchrona 6","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 6, true); prot6.setItemMeta(im); } public static ItemStack prot7 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = prot7.getItemMeta(); im.setDisplayName("§7Ochrona"); im.setLore(Arrays.asList("§aEnchant: §cOchrona 7","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 7, true); prot7.setItemMeta(im); } public static ItemStack prot8 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = prot8.getItemMeta(); im.setDisplayName("§7Ochrona"); im.setLore(Arrays.asList("§aEnchant: §cOchrona 8","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 8, true); prot8.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack ub3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub3.getItemMeta(); im.setDisplayName("§7Unbreaking"); im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DURABILITY, 3, true); ub3.setItemMeta(im); } public static ItemStack ub4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub4.getItemMeta(); im.setDisplayName("§7Unbreaking"); im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DURABILITY, 4, true); ub4.setItemMeta(im); } public static ItemStack ub5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub5.getItemMeta(); im.setDisplayName("§7Unbreaking"); im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DURABILITY, 5, true); ub5.setItemMeta(im); } public static ItemStack ub6 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub6.getItemMeta(); im.setDisplayName("§7Unbreaking"); im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 6","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DURABILITY, 6, true); ub6.setItemMeta(im); } public static ItemStack ub7 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub7.getItemMeta(); im.setDisplayName("§7Unbreaking"); im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 7","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DURABILITY, 7, true); ub7.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack fl3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub3.getItemMeta(); im.setDisplayName("§7Feather falling"); im.setLore(Arrays.asList("§aEnchant: §cFeather falling 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_FALL, 3, true); ub3.setItemMeta(im); } public static ItemStack fl4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub4.getItemMeta(); im.setDisplayName("§7Feather falling"); im.setLore(Arrays.asList("§aEnchant: §cFeather falling 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_FALL, 4, true); ub4.setItemMeta(im); } public static ItemStack fl5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = ub5.getItemMeta(); im.setDisplayName("§7Feather falling"); im.setLore(Arrays.asList("§aEnchant: §cFeather falling 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.PROTECTION_FALL, 5, true); ub5.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack sharp5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = sharp5.getItemMeta(); im.setDisplayName("§7Ostrosc"); im.setLore(Arrays.asList("§aEnchant: §cOstrosc 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DAMAGE_ALL, 5, true); sharp5.setItemMeta(im); } public static ItemStack sharp6 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = sharp6.getItemMeta(); im.setDisplayName("§7Ostrosc"); im.setLore(Arrays.asList("§aEnchant: §cOstrosc 6","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DAMAGE_ALL, 6, true); sharp6.setItemMeta(im); } public static ItemStack sharp7 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = sharp7.getItemMeta(); im.setDisplayName("§7Ostrosc"); im.setLore(Arrays.asList("§aEnchant: §cOstrosc 7","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DAMAGE_ALL, 7, true); sharp7.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack fireaspect2 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fireaspect2.getItemMeta(); im.setDisplayName("§7Fire aspect"); im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.FIRE_ASPECT, 2, true); fireaspect2.setItemMeta(im); } public static ItemStack fireaspect3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fireaspect3.getItemMeta(); im.setDisplayName("§7Fire aspect"); im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.FIRE_ASPECT, 3, true); fireaspect3.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack knockback1 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fireaspect2.getItemMeta(); im.setDisplayName("§7Knockback"); im.setLore(Arrays.asList("§aEnchant: §cKnockback 1","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.KNOCKBACK, 1, true); fireaspect2.setItemMeta(im); } public static ItemStack knockback2 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = knockback2.getItemMeta(); im.setDisplayName("§7Knockback"); im.setLore(Arrays.asList("§aEnchant: §cKnockback 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.KNOCKBACK, 2, true); knockback2.setItemMeta(im); } public static ItemStack knockback3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = knockback3.getItemMeta(); im.setDisplayName("§7Knockback"); im.setLore(Arrays.asList("§aEnchant: §cKnockback 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.KNOCKBACK, 3, true); knockback3.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack looting3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = looting3.getItemMeta(); im.setDisplayName("§7Looting"); im.setLore(Arrays.asList("§aEnchant: §cLooting 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 3, true); looting3.setItemMeta(im); } public static ItemStack looting4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = looting4.getItemMeta(); im.setDisplayName("§7Looting"); im.setLore(Arrays.asList("§aEnchant: §cLooting 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 4, true); looting4.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack efficiency4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = efficiency4.getItemMeta(); im.setDisplayName("§7Efficiency"); im.setLore(Arrays.asList("§aEnchant: §cEfficiency 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DIG_SPEED, 4, true); efficiency4.setItemMeta(im); } public static ItemStack efficiency5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = efficiency5.getItemMeta(); im.setDisplayName("§7Efficiency"); im.setLore(Arrays.asList("§aEnchant: §cEfficiency 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DIG_SPEED, 5, true); efficiency5.setItemMeta(im); } public static ItemStack efficiency6 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = efficiency6.getItemMeta(); im.setDisplayName("§7Efficiency"); im.setLore(Arrays.asList("§aEnchant: §cEfficiency 6","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.DIG_SPEED, 6, true); efficiency6.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack fortune1 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fortune1.getItemMeta(); im.setDisplayName("§7Fortune"); im.setLore(Arrays.asList("§aEnchant: §cFortune 1","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 4, true); fortune1.setItemMeta(im); } public static ItemStack fortune2 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fortune2.getItemMeta(); im.setDisplayName("§7Fortune"); im.setLore(Arrays.asList("§aEnchant: §cFortune 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 2, true); fortune2.setItemMeta(im); } public static ItemStack fortune3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = fortune3.getItemMeta(); im.setDisplayName("§7Fortune"); im.setLore(Arrays.asList("§aEnchant: §cFortune 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 3, true); fortune3.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack power5 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = power5.getItemMeta(); im.setDisplayName("§7Power"); im.setLore(Arrays.asList("§aEnchant: §cPower 5","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_DAMAGE, 5, true); power5.setItemMeta(im); } public static ItemStack power6 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = power6.getItemMeta(); im.setDisplayName("§7Power"); im.setLore(Arrays.asList("§aEnchant: §cPower 6","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_DAMAGE, 6, true); power6.setItemMeta(im); } public static ItemStack power7 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = power7.getItemMeta(); im.setDisplayName("§7Power"); im.setLore(Arrays.asList("§aEnchant: §cPower 7","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_DAMAGE, 7, true); power7.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack punch2 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = punch2.getItemMeta(); im.setDisplayName("§7Punch"); im.setLore(Arrays.asList("§aEnchant: §cPower 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_KNOCKBACK, 2, true); punch2.setItemMeta(im); } public static ItemStack punch3 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = punch3.getItemMeta(); im.setDisplayName("§7Punch"); im.setLore(Arrays.asList("§aEnchant: §cPower 3","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_KNOCKBACK, 3, true); punch3.setItemMeta(im); } public static ItemStack punch4 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = punch4.getItemMeta(); im.setDisplayName("§7Punch"); im.setLore(Arrays.asList("§aEnchant: §cPower 4","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_KNOCKBACK, 4, true); punch4.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack flame1 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = flame1.getItemMeta(); im.setDisplayName("§7Flame"); im.setLore(Arrays.asList("§aEnchant: §cFlame 1","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_FIRE, 1, true); flame1.setItemMeta(im); } public static ItemStack flame2 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = flame2.getItemMeta(); im.setDisplayName("§7Flame"); im.setLore(Arrays.asList("§aEnchant: §cFlame 2","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_FIRE, 2, true); flame2.setItemMeta(im); } // ------------------------------------------------------------------------------------- public static ItemStack infinity1 = new ItemStack(Material.BOOK, 1);{ ItemMeta im = infinity1.getItemMeta(); im.setDisplayName("§7Infinity"); im.setLore(Arrays.asList("§aEnchant: §cInfinity 1","§aKoszt: §c25 poziom doswiadczenia")); im.addEnchant(Enchantment.ARROW_INFINITE, 1, true); infinity1.setItemMeta(im); } public static Inventory armor = Bukkit.createInventory(null, 27, "§aENCHANTOWANIE");{ armor.setItem(0, bookshelf); armor.setItem(1, bookshelf); armor.setItem(2, bookshelf); armor.setItem(3, bookshelf); armor.setItem(4, bookshelf); armor.setItem(5, bookshelf); armor.setItem(6, bookshelf); armor.setItem(7, bookshelf); armor.setItem(8, bookshelf); armor.setItem(9, prot4); armor.setItem(10, prot5); armor.setItem(11, prot6); armor.setItem(12, prot7); armor.setItem(13, prot8); armor.setItem(14, glass); armor.setItem(15, glass); armor.setItem(16, glass); armor.setItem(17, glass); armor.setItem(18, ub3); armor.setItem(19, ub4); armor.setItem(20, ub5); armor.setItem(21, ub6); armor.setItem(22, ub7); armor.setItem(23, glass); armor.setItem(24, glass); armor.setItem(25, glass); armor.setItem(26, glass); armor.setItem(27, fl3); armor.setItem(28, fl4); armor.setItem(29, fl5); armor.setItem(30, glass); armor.setItem(31, glass); armor.setItem(32, glass); armor.setItem(33, glass); armor.setItem(34, glass); armor.setItem(35, glass); armor.setItem(36, glass); armor.setItem(37, glass); armor.setItem(38, glass); armor.setItem(39, glass); armor.setItem(40, glass); armor.setItem(41, glass); armor.setItem(42, glass); armor.setItem(43, glass); armor.setItem(44, glass); armor.setItem(45, bookshelf); armor.setItem(46, bookshelf); armor.setItem(47, bookshelf); armor.setItem(48, author); armor.setItem(49, close); armor.setItem(50, author); armor.setItem(51, bookshelf); armor.setItem(52, bookshelf); armor.setItem(53, bookshelf); } public static Inventory pvp = Bukkit.createInventory(null, 56, "§aENCHANTOWANIE");{ pvp.setItem(0, bookshelf); pvp.setItem(1, bookshelf); pvp.setItem(2, bookshelf); pvp.setItem(3, bookshelf); pvp.setItem(4, bookshelf); pvp.setItem(5, bookshelf); pvp.setItem(6, bookshelf); pvp.setItem(7, bookshelf); pvp.setItem(8, bookshelf); pvp.setItem(9, sharp5); pvp.setItem(10, sharp6); pvp.setItem(11, sharp7); pvp.setItem(12, glass); pvp.setItem(13, glass); pvp.setItem(14, glass); pvp.setItem(15, glass); pvp.setItem(16, glass); pvp.setItem(17, glass); pvp.setItem(18, fireaspect2); pvp.setItem(19, fireaspect3); pvp.setItem(20, glass); pvp.setItem(21, glass); pvp.setItem(22, glass); pvp.setItem(23, glass); pvp.setItem(24, glass); pvp.setItem(25, glass); pvp.setItem(26, glass); pvp.setItem(27, knockback1); pvp.setItem(28, knockback2); pvp.setItem(29, knockback3); pvp.setItem(30, glass); pvp.setItem(31, glass); pvp.setItem(32, glass); pvp.setItem(33, glass); pvp.setItem(34, glass); pvp.setItem(35, glass); pvp.setItem(36, looting3); pvp.setItem(37, looting4); pvp.setItem(38, glass); pvp.setItem(39, glass); pvp.setItem(40, glass); pvp.setItem(41, glass); pvp.setItem(42, glass); pvp.setItem(43, glass); pvp.setItem(44, glass); pvp.setItem(45, bookshelf); pvp.setItem(46, bookshelf); pvp.setItem(47, bookshelf); pvp.setItem(48, author); pvp.setItem(49, close); pvp.setItem(50, author); pvp.setItem(51, bookshelf); pvp.setItem(52, bookshelf); pvp.setItem(53, bookshelf); } public static Inventory bow = Bukkit.createInventory(null, 56, "§aENCHANTOWANIE");{ bow.setItem(0, bookshelf); bow.setItem(1, bookshelf); bow.setItem(2, bookshelf); bow.setItem(3, bookshelf); bow.setItem(4, bookshelf); bow.setItem(5, bookshelf); bow.setItem(6, bookshelf); bow.setItem(7, bookshelf); bow.setItem(8, bookshelf); bow.setItem(9, power5); bow.setItem(10, power6); bow.setItem(11, power7); bow.setItem(12, glass); bow.setItem(13, glass); bow.setItem(14, glass); bow.setItem(15, glass); bow.setItem(16, glass); bow.setItem(17, glass); bow.setItem(18, punch2); bow.setItem(19, punch3); bow.setItem(20, punch4); bow.setItem(21, glass); bow.setItem(22, glass); bow.setItem(23, glass); bow.setItem(24, glass); bow.setItem(25, glass); bow.setItem(26, glass); bow.setItem(27, flame1); bow.setItem(28, flame2); bow.setItem(29, glass); bow.setItem(30, glass); bow.setItem(31, glass); bow.setItem(32, glass); bow.setItem(33, glass); bow.setItem(34, glass); bow.setItem(35, glass); bow.setItem(36, infinity1); bow.setItem(37, glass); bow.setItem(38, glass); bow.setItem(39, glass); bow.setItem(40, glass); bow.setItem(41, glass); bow.setItem(42, glass); bow.setItem(43, glass); bow.setItem(44, glass); bow.setItem(45, bookshelf); bow.setItem(46, bookshelf); bow.setItem(47, bookshelf); bow.setItem(48, author); bow.setItem(49, close); bow.setItem(50, author); bow.setItem(51, bookshelf); bow.setItem(52, bookshelf); bow.setItem(53, bookshelf); } public static Inventory digging = Bukkit.createInventory(null, 54, "§aENCHANTOWANIE");{ digging.setItem(0, bookshelf); digging.setItem(1, bookshelf); digging.setItem(2, bookshelf); digging.setItem(3, bookshelf); digging.setItem(4, bookshelf); digging.setItem(5, bookshelf); digging.setItem(6, bookshelf); digging.setItem(7, bookshelf); digging.setItem(8, bookshelf); digging.setItem(9, efficiency4); digging.setItem(10, efficiency5); digging.setItem(11, efficiency6); digging.setItem(12, glass); digging.setItem(13, glass); digging.setItem(14, glass); digging.setItem(15, glass); digging.setItem(16, glass); digging.setItem(17, glass); digging.setItem(18, fortune1); digging.setItem(19, fortune2); digging.setItem(20, fortune3); digging.setItem(21, glass); digging.setItem(22, glass); digging.setItem(23, glass); digging.setItem(24, glass); digging.setItem(25, glass); digging.setItem(26, glass); digging.setItem(27, ub3); digging.setItem(28, ub4); digging.setItem(29, ub5); digging.setItem(30, ub6); digging.setItem(31, glass); digging.setItem(32, glass); digging.setItem(33, glass); digging.setItem(34, glass); digging.setItem(35, glass); digging.setItem(36, glass); digging.setItem(37, glass); digging.setItem(38, glass); digging.setItem(39, glass); digging.setItem(40, glass); digging.setItem(41, glass); digging.setItem(42, glass); digging.setItem(43, glass); digging.setItem(44, glass); digging.setItem(45, bookshelf); digging.setItem(46, bookshelf); digging.setItem(47, bookshelf); digging.setItem(48, author); digging.setItem(49, close); digging.setItem(50, author); digging.setItem(51, bookshelf); digging.setItem(52, bookshelf); digging.setItem(53, bookshelf); } }