aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
index 4da038695..7acee4ddc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
@@ -503,6 +503,7 @@ private fun getRiftLines() = getSbLines().filter { line ->
|| SbPattern.timeLeftPattern.matches(line)
|| SbPattern.riftHotdogEatenPattern.matches(line)
|| SbPattern.riftAveikxPattern.matches(line)
+ || SbPattern.riftHayEatenPattern.matches(line)
}
private fun getEssenceLines(): List<String> = listOf(getSbLines().first { SbPattern.essencePattern.matches(it) })
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
index e4297014a..bbe5f990d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
@@ -415,6 +415,10 @@ object ScoreboardPattern {
"aveikx",
"Time spent sitting|with Ävaeìkx: .*"
)
+ val riftHayEatenPattern by riftSb.pattern(
+ "hayeaten",
+ "^Hay Eaten: §.[\\d,.]+/[\\d,.]+\$"
+ )
// Stats from the tablist
private val tablistGroup = group.group("tablist")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
index 1af663c7a..7a33387e8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
@@ -118,6 +118,7 @@ object UnknownLinesHandler {
SbPattern.queuePositionPattern,
SbPattern.fortunateFreezingBonusPattern,
SbPattern.riftAveikxPattern,
+ SbPattern.riftHayEatenPattern,
SbPattern.fossilDustPattern,
)