NotSinan / DreamBotQuester

DreamBotQuester is a powerful Java library that allows players of the popular online game, RuneScape, to automate their quests using the DreamBot API. With a range of tools for interacting with the API and executing tasks in the game, DreamBotQuester is an ideal choice for players looking to save time on tedious quests or optimize their progress.
MIT License
16 stars 4 forks source link

Added Cooks Assistant. #7

Closed Dreambotter420 closed 1 year ago

Dreambotter420 commented 1 year ago

Added method in QuestHelper pickupGroundSpawn(Tile, String name) mainly for walking from anywhere and picking up a GroundItem at a tile, handling closed doors & blocked pickup tile.

Implemented tick timeout function and delayed interactions in Cooks Assistant, if it looks good then we can change all interactions to delayed interactions.

goAndTalkToNpc returns Timing.loopReturn as int so changed that in most quests to avoid redundancy.

In Imp Catcher changed isValid of GiveBeadsLeaf from Inventory.contains(beads...) to Inventory.containsAll(beads...) because I assume we need all beads before talking to Mizgog and contains(...) only checks for at least one of provided list to return true.

Added sleepUntil condition where you commented in Imp Catcher.

In Imp Catcher, moved GroundItems beads check above NPC check in case no imps but there are beads on the ground.