Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Added ULTRA RARE Book Notification. #1738

Merged
merged 21 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
removed unused test command
  • Loading branch information
hannibal002 committed May 29, 2024
commit aea399c12cfa11615785f23c4e6d03805b36a57c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import at.hannibal2.skyhanni.features.garden.fortuneguide.FFGuideGUI
import at.hannibal2.skyhanni.features.garden.pests.PestFinder
import at.hannibal2.skyhanni.features.garden.pests.PestProfitTracker
import at.hannibal2.skyhanni.features.garden.visitor.GardenVisitorDropStatistics
import at.hannibal2.skyhanni.features.inventory.UltraRareBookAlert
import at.hannibal2.skyhanni.features.mining.KingTalismanHelper
import at.hannibal2.skyhanni.features.mining.powdertracker.PowderTracker
import at.hannibal2.skyhanni.features.minion.MinionFeatures
Expand Down Expand Up @@ -538,10 +537,6 @@ object Commands {
"shaddfoundburrowlocationsfromclipboard",
"Add all ever found burrow locations from clipboard"
) { AllBurrowsList.addFromClipboard() }
registerCommand(
"shtestultrararebook",
"Display the notification related to finding an ultra rare book"
) { UltraRareBookAlert.notification ("Enchantment VII") }
}

private fun internalCommands() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object UltraRareBookAlert {

private var lastNotificationTime = SimpleTimeMark.farPast()

fun notification(enchantsName: String) {
private fun notification(enchantsName: String) {
lastNotificationTime = SimpleTimeMark.now()
dragonSound.playSound()
ChatUtils.chat("You have uncovered a §d§kXX§5 ULTRA-RARE BOOK! §d§kXX§e! You found: §9$enchantsName")
Expand Down
Loading