From fcc31674e40ed044f46813c2185f8de29d974932 Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sat, 22 Jun 2024 03:50:06 -0500 Subject: Improvement: Add hover descriptions to many ClickableChat messages (#1919) Co-authored-by: Cal Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/event/diana/InquisitorWaypointShare.kt | 3 ++- .../hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt | 1 + .../hannibal2/skyhanni/features/event/winter/NewYearCakeReminder.kt | 5 ++--- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/event') diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt index e9e4ebd5a..a5263fc44 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt @@ -154,11 +154,12 @@ object InquisitorWaypointShare { sendInquisitor() } else { val keyName = KeyboardManager.getKeyName(config.keyBindShare) - val message = "§l§bYou found a Inquisitor! Press §l§chere §l§bor §c$keyName to share the location!" + val message = "§l§bYou found an Inquisitor! Click §l§chere §l§bor press §c$keyName to share the location!" ChatUtils.clickableChat( message, onClick = { sendInquisitor() }, + "§eClick to share!", oneTimeClick = true ) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt index 3ecfa9f81..3d13e04d8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt @@ -185,6 +185,7 @@ object HoppityEggsManager { ChatUtils.clickableChat( "Click here to share the location of this chocolate egg with the server!", onClick = onClick, + "§eClick to share!", expireAt = 30.seconds.fromNow(), oneTimeClick = true ) diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/winter/NewYearCakeReminder.kt b/src/main/java/at/hannibal2/skyhanni/features/event/winter/NewYearCakeReminder.kt index 47431f54b..f64204536 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/winter/NewYearCakeReminder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/winter/NewYearCakeReminder.kt @@ -66,9 +66,8 @@ object NewYearCakeReminder { ChatUtils.clickableChat( "Reminding you to grab the free New Year Cake. Click here to open the baker menu!", - onClick = { - HypixelCommands.openBaker() - } + onClick = { HypixelCommands.openBaker() }, + "§eClick to run /openbaker!", ) } -- cgit