oldschoolgg / oldschoolbot

Old School Bot - A fanmade discord bot based on Old School RuneScape (OSRS)
https://www.oldschool.gg/
MIT License
142 stars 132 forks source link

Allow clue trip to be repeated if still have clues in bank #6229

Closed DayV-git closed 14 hours ago

DayV-git commented 20 hours ago

Description:

Concept for repeating clue trips. taskCanBeRepeated checks if you still have a particular tier of clue in bank (or doing implings), and if so lets you carry on, else repeats previous trip. So existing functionality works for non clue trip -> do clue -> repeat button goes back to non-clue trip, but can also spam clue trips. Only downside is there is no indicator/error when you finish clue stack, you just go back to last non-clue trip.

Closes #6227.

Changes:

Add check for clue scrolls in bank for ClueCompletion when checking taskCanBeRepeated for repeating task

Other checks: