Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void purchaseSupplies(){
- List<GEItem> items = new ArrayList<GEItem>();
- if(!new ImpCatcher(callingScript).isComplete()){
- items.add(new GEItem("White bead",-4,1,true));
- items.add(new GEItem("Black bead",-4,1,true));
- items.add(new GEItem("Yellow bead",-4,1,true));
- items.add(new GEItem("Red bead",-4,1,true));
- }
- if(!new EzWitchsHouse(callingScript).isComplete()){
- items.add(new GEItem("Leather gloves",-4,1,true));
- items.add(new GEItem("Cheese",-4,5,true));
- items.add(new GEItem("Staff of air",-4,1,true));
- items.add(new GEItem("Lobster",-4,200,true));
- items.add(new GEItem("Water rune",-4,200,true));
- items.add(new GEItem("Earth rune",-4,200,true));
- }
- items.add(new GEItem("Mind rune",-4,2000,true));
- items.add(new GEItem("Fire rune",-4,6000,true));
- items.add(new GEItem("Ring of dueling(8)",-4,5,true));
- items.add(new GEItem("Amulet of glory(6)",-4,5,true));
- items.add(new GEItem("Falador teleport",-4,10,true));
- items.add(new GEItem("Camelot teleport",-4,10,true));
- items.add(new GEItem("Varrock teleport",-4,20,true));
- items.add(new GEItem("Law rune",-4,20,true));
- items.add(new GEItem("Rune scimitar",-4,1,true));
- if(!new DoricsQuest(callingScript).isComplete()){
- items.add(new GEItem("Clay",-4,6,true));
- items.add(new GEItem("Copper ore",-4,4,true));
- items.add(new GEItem("Iron ore",-4,2,true));
- }
- if(!new Waterfallv2().isComplete()){
- items.add(new GEItem("Rope",-4,5,true));
- items.add(new GEItem("Games necklace(8)",-4,2,true));
- }
- if(!new PriestInPerilv2(callingScript).isComplete()){
- items.add(new GEItem("Pure essence",-4,50,true));
- }
- if(!new BoneVoyage(callingScript).isComplete()){
- items.add(new GEItem("Vodka",1000,2,true));
- items.add(new GEItem("Marrentill potion (unf)",500,1,true));
- items.add(new GEItem("Skills necklace(6)",20000,1,true));
- }
- if(!new DruidicRitual(callingScript).isComplete()){
- if(EzBanking.getTotalCount("Enchanted bear") == 0){
- items.add(new GEItem("Raw bear meat",1000,1,true));
- }
- if(EzBanking.getTotalCount("Enchanted chicken") == 0){
- items.add(new GEItem("Raw chicken",1000,1,true));
- }
- if(EzBanking.getTotalCount("Enchanted rat") == 0){
- items.add(new GEItem("Raw rat meat",1000,1,true));
- }
- if(EzBanking.getTotalCount("Enchanted beef") == 0){
- items.add(new GEItem("Raw beef",1000,1,true));
- }
- items.add(new GEItem("Guam potion (unf)",-4,40,true));
- items.add(new GEItem("Eye of newt",-4,40,true));
- } else if(Skills.SKILLS.HERBLORE.getActualLevel() < 10){
- int count = getNumberOfPotionsNeeded();
- items.add(new GEItem("Guam potion (unf)",-4,count,true));
- items.add(new GEItem("Eye of newt",-4,count,true));
- }
- EzGrandExchange exc = new EzGrandExchange();
- exc.itemsToBuy = items;
- Collections.shuffle(exc.itemsToBuy);
- exc.run();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement