Jump to content

AT AIO crafter data


PolishCivil

Recommended Posts

 
/**
 * @author PolishCivil
 */
public class Data {
 
    public static class LeatherWorkingData {
 
        public static final int NEEDLE_ITEM_ID = 1733, THREAD_ITEM_ID = 1734;
        public static final int WORKING_ANIMATION = 1249;
 
        public enum ELeatherType {
 
            SOFT_LEATHER("Leather", 1741, 154,
                    new CraftingItem("Armour", 1129, 1, 114),
                    new CraftingItem("Gloves", 1059, 1, 108),
                    new CraftingItem("Boots", 1061, 1, 109),
                    new CraftingItem("Vambraces", 1063, 1, 110),
                    new CraftingItem("Chaps", 1095, 1, 111),
                    new CraftingItem("Coif", 1069, 1, 112),
                    new CraftingItem("Cowl", 1067, 1, 113)
            ),
            HARD_LEATHER("Hard leather", 1743, 309,
                    new CraftingItem("Hardleather body", 1131, 1, 6)
            ),
            GREEN_DRAGON_LEATHER("Green d-leather", 1745, 304,
                    new CraftingItem("Green body", 1135, 3, 2),
                    new CraftingItem("Green vambraces", 1065, 1, 3),
                    new CraftingItem("Green chaps", 1099, 2, 4)
            ),
            BLUE_DRAGON_LEATHER("Blue d-leather", 2505, 304,
                    new CraftingItem("Blue body", 2499, 3, 2),
                    new CraftingItem("Blue vambraces", 2487, 1, 3),
                    new CraftingItem("Blue chaps", 2493, 2, 4)
            ),
            RED_DRAGON_LEATHER("Red d-leather", 2507, 304,
                    new CraftingItem("Red body", 2501, 3, 2),
                    new CraftingItem("Red vambraces", 2489, 1, 3),
                    new CraftingItem("Red chaps", 2495, 2, 4)
            ),
            BLACK_DRAGON_LEATHER("Black d-leather", 2509, 304,
                    new CraftingItem("Black body", 2503, 3, 2),
                    new CraftingItem("Black vambraces", 2491, 1, 3),
                    new CraftingItem("Black chaps", 2497, 2, 4)
            ),;
 
            private final String itemName;
            private final int itemId;
            private final int interfaceId;
            private final CraftingItem[] itemsToMake;
 
            private ELeatherType(String itemName, int itemId, int interfaceId, CraftingItem... itemsToMake) {
                this.itemName = itemName;
                this.itemId = itemId;
                this.interfaceId = interfaceId;
                this.itemsToMake = itemsToMake;
            }
 
            public int getItemId() {
                return itemId;
            }
 
            public CraftingItem[] getItemsToMake() {
                return itemsToMake;
            }
 
            public String getItemName() {
                return itemName;
            }
 
            public int getMakeInterfaceId() {
                return interfaceId;
            }
 
            public static class CraftingItem {
 
                private final String name;
                private final int itemid;
                private final int leatherAmount;
                private final int interfaceChildId;
 
                private CraftingItem(String name, int itemid, int leatherAmount, int interfaceChildId) {
                    this.name = name;
                    this.itemid = itemid;
                    this.leatherAmount = leatherAmount;
                    this.interfaceChildId = interfaceChildId;
                }
 
                public int getItemid() {
                    return itemid;
                }
 
                @Override
                public String toString() {
                    return name;
                }
 
                public String getName() {
                    return name;
                }
 
                public int getLeatherAmount() {
                    return leatherAmount;
                }
 
                public int getInterfaceChildId() {
                    return interfaceChildId;
                }
 
            }
        }
    }
 
    public static class SpinningData {
 
        public static int SPIN_INTERFACE_ID = 459;
        public static int SPIN_ANIMATION_ID = 894;
 
        public enum SpinningItem {
 
            WOOL("Wool", 1737, 100, 5),
            FLAX("Flax", 1779, 95, 15),
            MAGIC_ROOTS("Magic roots", 6051, 107, 15),
            SINEW("Sinew", 9436, 114, 30);
 
            private final String itemName;
            private final int itemId;
            private final int childInterfaceChild;
            private final int exp;
 
            SpinningItem(String itemName, int itemId, int childInterfaceChild, int exp) {
                this.itemName = itemName;
                this.itemId = itemId;
                this.childInterfaceChild = childInterfaceChild;
                this.exp = exp;
 
            }
 
            public int getExp() {
                return exp;
            }
 
            public int getInterfaceChild() {
                return childInterfaceChild;
            }
 
            public int getItemId() {
                return itemId;
            }
 
            public String getItemName() {
                return itemName;
            }
        }
    }
 
    public static class GemCuttingData {
 
        public static int CUT_INTERFACE_ID = 309;
        public static int CUT_INTERFACE_CHILD_ID = 2;
        public static int CHISEL_ITEM_ID = 1755;
 
        public static int[] GEM_CUTTING_ANIMATIONS = new int[]{886,
                886,
                887,
                888,
                889,
                887,
                886,
                885,
                2717
        };
 
        public enum EGemType {
 
            JADE(1627),
            OPAL(1625),
            SAPPHIRE(1623),
            EMERALD(1621),
            RUBY(1619),
            DIAMOND(1617),
            DRAGONSTONE(1631),
            ONYX(6571);
 
            private final int gemItemId;
 
            private EGemType(int gemItemId) {
                this.gemItemId = gemItemId;
            }
 
            public int getGemItemId() {
                return gemItemId;
            }
 
        }
    }
 
    public static class TannerData {
 
        public static final int TANNING_INTERFACE = 324;
 
        public enum HideType {
            SOFT_LEATHER(100, 1, 1739, 1741),
            HARD_LEATHER(101, 3, 1739, 1743),
            GREEN_DRAGON_HIDE(104, 20, 1753, 1745),
            BLUE_DRAGON_HIDE(105, 20, 1751, 2505),
            RED_DRAGON_HIDE(106, 20, 1749, 2507),
            BLACK_DRAGON_HIDE(107, 20, 1747, 2509);
 
            private final int childId;
            private final int cost;
            private final int rawMaterialItemId;
            private final int hideItemId;
 
            /**
             * Hide type data for @see{AIOCrafter}
             *
             * @param childId        - make child id in tanning interface.
             * @param cost           - cost of tanning.
             * @param materialItemId - itemId used to be made ie cowhide.
             * @param hideItemId     - return itemId id ie harDRAGON_LEATHER.
             */
            private HideType(int childId, int cost, int materialItemId, int hideItemId) {
                this.childId = childId;
                this.cost = cost;
                this.rawMaterialItemId = materialItemId;
                this.hideItemId = hideItemId;
            }
 
            public int getChildId() {
                return childId;
            }
 
            public int getCost() {
                return cost;
            }
 
            public int getHideItemId() {
                return hideItemId;
            }
 
            public int getRawMaterialItemId() {
                return rawMaterialItemId;
            }
        }
    }
 
    public static class JewelleryData {
        public static final int JEWELLERY_INTERFACE_ID = 446;
        public static final int GOLD_BAR_ITEM_ID = 2357;
        public static final int SMELTING_ANIMATION_ID = 899;
        public static final int SAPPHIRE_GEM_ITEM_ID = 1607;
        public static final int RUBY_GEM_ITEM_ID = 1603;
        public static final int DIAMOND_GEM_ITEM_ID = 1601;
        public static final int EMERALD_GEM_ITEM_ID = 1605;
 
        public enum JewelleryType {
            RING(1592,
                    new JewelleryItem("Gold ring", 1635, new int[]{GOLD_BAR_ITEM_ID}, 7),
                    new JewelleryItem("Sapphire ring", 1637, new int[]{GOLD_BAR_ITEM_ID, SAPPHIRE_GEM_ITEM_ID}, 8),
                    new JewelleryItem("Emerald ring", 1639, new int[]{GOLD_BAR_ITEM_ID, EMERALD_GEM_ITEM_ID}, 9),
                    new JewelleryItem("Ruby ring", 1641, new int[]{GOLD_BAR_ITEM_ID, RUBY_GEM_ITEM_ID}, 10),
                    new JewelleryItem("Diamond ring", 1643, new int[]{GOLD_BAR_ITEM_ID, DIAMOND_GEM_ITEM_ID}, 11)
 
            ),
            NECKLACE(1597,
                    new JewelleryItem("Gold necklace", 1654, new int[]{GOLD_BAR_ITEM_ID}, 20),
                    new JewelleryItem("Sapphire necklace", 1656, new int[]{GOLD_BAR_ITEM_ID, SAPPHIRE_GEM_ITEM_ID}, 21),
                    new JewelleryItem("Emerald necklace", 1658, new int[]{GOLD_BAR_ITEM_ID, EMERALD_GEM_ITEM_ID}, 22),
                    new JewelleryItem("Ruby necklace", 1660, new int[]{GOLD_BAR_ITEM_ID, RUBY_GEM_ITEM_ID}, 23),
                    new JewelleryItem("Diamond necklace", 1662, new int[]{GOLD_BAR_ITEM_ID, DIAMOND_GEM_ITEM_ID}, 24)
            ),
            AMULET(1595,
                    new JewelleryItem("Gold amulet", 1673, new int[]{GOLD_BAR_ITEM_ID}, 32),
                    new JewelleryItem("Sapphire amulet", 1675, new int[]{GOLD_BAR_ITEM_ID, SAPPHIRE_GEM_ITEM_ID}, 33),
                    new JewelleryItem("Emerald amulet", 1677, new int[]{GOLD_BAR_ITEM_ID, EMERALD_GEM_ITEM_ID}, 34),
                    new JewelleryItem("Ruby amulet", 1679, new int[]{GOLD_BAR_ITEM_ID, RUBY_GEM_ITEM_ID}, 35),
                    new JewelleryItem("Diamond amulet", 1681, new int[]{GOLD_BAR_ITEM_ID, DIAMOND_GEM_ITEM_ID}, 36)
            ),
            BRACELET(11065,
                    new JewelleryItem("Gold bracelet", 11069, new int[]{GOLD_BAR_ITEM_ID}, 44),
                    new JewelleryItem("Sapphire bracelet", 11072, new int[]{GOLD_BAR_ITEM_ID, SAPPHIRE_GEM_ITEM_ID}, 45),
                    new JewelleryItem("Emerald bracelet", 11076, new int[]{GOLD_BAR_ITEM_ID, EMERALD_GEM_ITEM_ID}, 46),
                    new JewelleryItem("Ruby bracelet", 11085, new int[]{GOLD_BAR_ITEM_ID, RUBY_GEM_ITEM_ID}, 47),
                    new JewelleryItem("Diamond bracelet", 11092, new int[]{GOLD_BAR_ITEM_ID, DIAMOND_GEM_ITEM_ID}, 48)
            ),;
            private final int mouldItemId;
            private final JewelleryItem[] jewelleryItems;
 
            private JewelleryType(int mouldItemId, JewelleryItem... jewelleryItems) {
                this.mouldItemId = mouldItemId;
                this.jewelleryItems = jewelleryItems;
            }
 
            public int getMouldItemId() {
                return mouldItemId;
            }
 
            public JewelleryItem[] getJewelleryItems() {
                return jewelleryItems;
            }
        }
 
        public static class JewelleryItem {
            private final String itemName;
            private final int jewelleryItemId;
            private final int[] itemsNeeded;
            private final int jewelleryIterfaceChildId;
 
            public JewelleryItem(String itemName, int jewelleryItemId, int[] itemsNeeded, int jewelleryIterfaceChildId) {
                this.itemName = itemName;
                this.jewelleryItemId = jewelleryItemId;
                this.itemsNeeded = itemsNeeded;
                this.jewelleryIterfaceChildId = jewelleryIterfaceChildId;
            }
 
            @Override
            public String toString() {
                return itemName;
            }
 
            public String getItemName() {
                return itemName;
            }
 
            public int getJewelleryItemId() {
                return jewelleryItemId;
            }
 
            public int[] getItemsNeeded() {
                return itemsNeeded;
            }
 
            public int getJewelleryIterfaceChildId() {
                return jewelleryIterfaceChildId;
            }
        }
 
        public static int getJewelleryInterfaceId() {
            return JEWELLERY_INTERFACE_ID;
        }
 
    }
 
    public static class GlassblowingData {
        public static final int GLASSBLOWING_INTERFACE_ID = 542;
        public static final int GLASSBLOWING_PIPE_ITEM_ID = 1785;
        public static final int MOLTEN_GLASS_ITEM_ID = 1775;
        public static final int GLASSBLOWING_ANIMATION_ID = 884;
 
        public enum GlassItem {
 
            BEER_GLASS("Beer Glass", 104, 1919),
            CANDLE_LANTERN("Candle Lantern", 105, 4527),
            OIL_LAMP("Oil lamp", 106, 4525),
            VIAL("Vial", 102, 229),
            FISH_BOWL("Fish Bowl", 108, 6667),
            ORB("Orb", 113, 567),
            LANTERN_LENS("Lantern Lens", 93, 4542),
            DORGESHUUN_LIGHT_ORB("Dorgeshuun light orb", 140, 10973),;
 
            private String itemName;
            private final int childId;
            private final int itemId;
 
            /**
             * Glass item constructor.
             *
             * @param itemName - item name (interface) of glass item.
             * @param childId  - child id on glassblowing interface.
             * @param itemId
             */
            private GlassItem(String itemName, int childId, int itemId) {
                this.itemName = itemName;
                this.childId = childId;
                this.itemId = itemId;
            }
 
            /**
             * Gets item name (interface) of this glass item.
             *
             * @return
             */
            public String getItemName() {
                return itemName;
            }
 
            /**
             * Gets child id os glassblowing interface.
             *
             * @return
             */
            public int getChildId() {
                return childId;
            }
 
            /**
             * Gets item id of this glass item.
             *
             * @return
             */
            public int getItemId() {
                return itemId;
            }
        }
    }
}

My crafter is based on this data, it might be usefull, so I share

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...