Resource Herblore, useful resources.

Discussion in 'Tutorials & Resources' started by AlexH666, Jul 4, 2016.

  1. I had to write these by hand when creating my herblore bot, you're free to use them!

    Combination Potion Ingredients:
    Code (Text):
    1. public final String[] POTIONSCOMB = {"Overload (4)", "Super strength (4)", "Strength potion (4)", "Super ranging potion (4)", "Ranging potion (4)", "Super magic potion (4)", "Magic potion (4)", "Super attack (4)", "Attack potion (4)", "Super defence (4)", "Defence potion (4)", "Adrenaline potion (4)", "Super restore (4)", "Super antifire (4)", "Antifire (4)", "Extreme attack (4)", "Extreme defence (4)", "Extreme strength (4)", "Extreme ranging (4)", "Extreme magic (4)", "Prayer renewal (4)", "Prayer potion (4)", "Super antipoison (4)"};
    Secondary Items (to finish unfinished pots):
    Code (Text):
    1. public final String[] SECONDARYITEMS = {"Eye of newt", "Redberries", "White bead", "Unicorn horn dust", "Limpwurt root", "Ashes", "Red spider's eggs", "Chocolate dust", "Bear fur", "Toad's legs", "Goat horn dust", "Snape grass", "Mort myre fungi", "Kebbit teeth dust", "Wimpy feather", "Dragon scale dust", "White berries", "Wine of Zamorak", "Potato cactus", "Jangerberries", "Crushed bird nest", "Morchella mushroom"};
    Unfinished Potions List:
    Code (Text):
    1. public final String[] UNFINISHED = {"Aloe potion (unf)", "Argway potion (unf)", "Ash potion (unf)", "Avantoe potion (unf)", "Buckthorn potion (unf)", "Cadantine potion (unf)", "Diamond dust potion (unf)", "Dwarf weed potion (unf)", "Erzille potion (unf)", "Featherfoil potion (unf)", "Fellstalk potion (unf)", "Guam potion (unf)", "Harralander potion (unf)", "Irit potion (unf)", "Kwuarm potion (unf)", "Lantadyme potion (unf)", "Lycopus potion (unf)", "Magebane potion (unf)", "Marrentill potion (unf)", "Mountain irit potion (unf)", "Ranarr potion (unf)", "Rogue's purse potion (unf)", "Sagewort potion (unf)", "Samaden potion (unf)", "Shengo potion (unf)", "Snapdragon potion (unf)", "Spirit weed potion (unf)", "Tarromin potion (unf)", "Toadflax potion (unf)", "Torsol potion (unf)", "Ugune potion (unf)", "Valerian potion (unf)", "Wergali potion (unf)", "Winter's grip potion (unf)", "Wormwood potion (unf)"};
    Grimy Herbs:
    Code (Text):
    1. public final String[] Grime = {"Grimy guam", "Grimy tarromin", "Grimy marrentill", "Grimy harralander", "Grimy ranarr", "Grimy toadflax", "Grimy spirit weed", "Grimy irit", "Grimy wergali", "Grimy avantoe", "Grimy kwuarm", "Grimy snapdragon", "Grimy cadantine", "Grimy lantadyme", "Grimy dwarf weed", "Grimy torstol", "Grimy fellstalk"};
    Clean Herbs:
    Code (Text):
    1. public final String[] CLEAN = {"Clean guam", "Clean tarromin", "Clean marrentill", "Clean harralander", "Clean ranarr", "Clean toadflax", "Clean spirit weed", "Clean irit", "Clean wergali", "Clean avantoe", "Clean kwuarm", "Clean snapdragon", "Clean cadantine", "Clean lantadyme", "Clean dwarf weed", "Clean torstol", "Clean fellstalk"};
     
    Thiz18 and Qosmiof2 like this.
  2. That would have been a pain to do by hand :p
     
    AlexH666 and Qosmiof2 like this.
  3. Indeed. What sucks even more is trying to find typos when a herb doesn't work :D
     
  4. Once you learn how to scrape the wiki and convert that data into enums, it's bliss
     
  5. You can get ingredient, skill and tool requirements for craftable items directly from the cache.
     
  6. Yeah, I've heard that the cache is a gold-mine of information, I should take a look when I find the time xD
     
  7. For stuff like this its generally in the param table/map in the item defs, i cant remember the exact way its mapped so print them out and check it will be something like indicies 35-40 skill id, indicies 35-40 +10 the required level for the corresponding index, its the same with the ingredients being index id -> index +10 amount required
     

Share This Page

Loading...