Skip to content

Commit

Permalink
Improvement: More Reminder checks (hannibal002#2028)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 92ebf2a commit a638e64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ import at.hannibal2.skyhanni.utils.LorenzUtils.isInIsland

object ReminderUtils {

// TODO: add arachne fight, add slayer boss spawned, add dragon fight
/**
* TODO:
* add arachne fight
* add slayer boss spawned
* add dragon fight
* add experimentation solver
* add matriach lair
* add server restart
*/
fun isBusy(ignoreFarmingContest: Boolean = false): Boolean =
(DungeonAPI.inDungeon() && !DungeonAPI.completed) ||
LorenzUtils.inKuudraFight || (FarmingContestAPI.inContest && !ignoreFarmingContest) ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ object NoBitsWarning {
HypixelCommands.bazaar("booster cookie")
}, "§eClick to run /bz booster cookie!"
)
// TODO use reminder utils
LorenzUtils.sendTitle("§bNo Bits Available", 5.seconds)
if (config.notificationSound) SoundUtils.repeatSound(100, 10, createSound("note.pling", 0.6f))
}
Expand Down

0 comments on commit a638e64

Please sign in to comment.