public static bool ClaimTavernQuest() { Main.ResetToHome(); OpenObjects.OpenTavern(); Thread.Sleep(100); MouseHandler.MoveCursor(LocationConstants.CASTLE_SCROLL_LOCATION); for (int i = 0; i < 5; i++) { MouseHandler.MouseWheelDown(); } int howmuch = 0; if (FinishQuest()) { howmuch++; FinishQuest(); if (FinishQuest()) { howmuch++; } } if (howmuch == 2) { return(true); } if (CheckSpeedUp()) { //Add Speed Up handling howmuch++; } if (CheckDispatch()) { howmuch++; if (CheckDispatch()) { howmuch++; } } if (howmuch > 2) { Main.LogConsole("Completed Daily Tavern Quests"); return(true); } return(false); }