aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvent.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt1
3 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvent.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvent.kt
index 4e89f89a4..d35952cb3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvent.kt
@@ -558,6 +558,7 @@ private fun getEssenceShowWhen(): Boolean = SbPattern.essencePattern.anyMatches(
private fun getQueueLines(): List<String> =
listOf(getSbLines().first { SbPattern.queuePattern.matches(it) }) +
+ (getSbLines().first { SbPattern.queueTierPattern.matches(it) }) +
(getSbLines().first { SbPattern.queuePositionPattern.matches(it) })
private fun getQueueShowWhen(): Boolean = SbPattern.queuePattern.anyMatches(getSbLines())
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 126331ff2..7195bc896 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
@@ -386,6 +386,14 @@ object ScoreboardPattern {
"queued",
"Queued:.*",
)
+
+ /**
+ * REGEX-TEST: Tier: §eFloor VI
+ */
+ val queueTierPattern by miscSb.pattern(
+ "queuetier",
+ "Tier: §e.*",
+ )
val queuePositionPattern by miscSb.pattern(
"queueposition",
"Position: (?:§.)*#\\d+ (?:§.)*Since: (?:§.)*.*",
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 625c91159..2c0ba2c86 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
@@ -119,6 +119,7 @@ object UnknownLinesHandler {
SbPattern.riftHotdogEatenPattern,
SbPattern.mineshaftNotStartedPattern,
SbPattern.queuePattern,
+ SbPattern.queueTierPattern,
SbPattern.queuePositionPattern,
SbPattern.fortunateFreezingBonusPattern,
SbPattern.riftAveikxPattern,