From 075368eb9d19578950fdb727bf2f195c63f41f3c Mon Sep 17 00:00:00 2001 From: Walker Selby Date: Thu, 26 Oct 2023 12:51:44 +0100 Subject: Add Repo TODOs (#585) Add Repo TODOs #585 --- .../at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt | 1 + .../hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt | 2 +- .../at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt | 3 ++- .../at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt | 1 + .../skyhanni/features/chat/ArachneChatMessageHider.kt | 2 ++ .../at/hannibal2/skyhanni/features/chat/PlayerDeathMessages.kt | 3 ++- .../skyhanni/features/event/diana/InquisitorWaypointShare.kt | 3 ++- .../at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt | 2 ++ .../features/garden/fortuneguide/CaptureFarmingGear.kt | 2 +- .../at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt | 8 ++++---- .../hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt | 2 +- .../hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt | 5 +++-- .../at/hannibal2/skyhanni/features/misc/ServerRestartTitle.kt | 2 ++ .../features/misc/compacttablist/AdvancedPlayerList.kt | 5 +++-- .../skyhanni/features/misc/compacttablist/TabListReader.kt | 1 + .../skyhanni/features/misc/compacttablist/TabStringType.kt | 1 + .../features/misc/teleportpad/TeleportPadCompactName.kt | 1 + .../features/misc/teleportpad/TeleportPadInventoryNumber.kt | 4 +++- .../hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt | 2 ++ .../hannibal2/skyhanni/features/misc/trevor/TrevorTracker.kt | 6 ++++-- .../features/rift/area/stillgorechateau/RiftBloodEffigies.kt | 2 +- .../skyhanni/features/rift/area/westvillage/KloonHacking.kt | 9 ++++++--- .../skyhanni/features/rift/everywhere/CruxTalismanDisplay.kt | 10 ++++++---- .../hannibal2/skyhanni/features/rift/everywhere/RiftTimer.kt | 9 ++++++--- .../skyhanni/features/rift/everywhere/motes/RiftMotesOrb.kt | 5 ++++- .../features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt | 5 ++++- 26 files changed, 66 insertions(+), 30 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt index a2ec3dafc..0badd1e57 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt @@ -24,6 +24,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class BingoCardDisplay { private var display = emptyList() + // TODO USE SH-REPO private val goalCompletePattern = "§6§lBINGO GOAL COMPLETE! §r§e(?.*)".toPattern() init { diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt index e7ebc2d9e..9222764b9 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt @@ -28,7 +28,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class BingoNextStepHelper { private val config get() = SkyHanniMod.feature.event.bingo.bingoCard private var dirty = true - + // TODO USE SH-REPO private val crystalObtainedPattern = " *§r§e(?Topaz|Sapphire|Jade|Amethyst|Amber) Crystal".toPattern() private val itemIslandRequired = mutableMapOf() private val itemPreconditions = mutableMapOf() diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt index 3e40f0b85..5f49d40ce 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt @@ -18,6 +18,7 @@ class CompactBingoChat { private val healthPattern = " §r§7§8\\+§a.* §c❤ Health".toPattern() private val strengthPattern = " §r§7§8\\+§a. §c❁ Strength".toPattern() + // TODO USE SH-REPO @SubscribeEvent fun onChatMessage(event: LorenzChatEvent) { if (!config.enabled) return @@ -125,4 +126,4 @@ class CompactBingoChat { } return false } -} \ No newline at end of file +} diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt index 1470ace28..0dc99f595 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt @@ -23,6 +23,7 @@ import kotlin.time.Duration.Companion.seconds class MinionCraftHelper { private val config get() = SkyHanniMod.feature.event.bingo + // TODO USE SH-REPO private var minionNamePattern = "(?.*) Minion (?.*)".toPattern() private var display = emptyList() private var hasMinionInInventory = false diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ArachneChatMessageHider.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ArachneChatMessageHider.kt index d870197c7..72b28d013 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ArachneChatMessageHider.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ArachneChatMessageHider.kt @@ -10,6 +10,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class ArachneChatMessageHider { private val config get() = SkyHanniMod.feature.chat private var hideArachneDeadMessage = false + + // TODO USE SH-REPO private val arachneCallingPattern = "§4☄ §r.* §r§eplaced an §r§9Arachne's Calling§r§e!.*".toPattern() private val arachneCrystalPattern = "§4☄ §r.* §r§eplaced an Arachne Crystal! Something is awakening!".toPattern() diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerDeathMessages.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerDeathMessages.kt index 3296ab782..943490a55 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerDeathMessages.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerDeathMessages.kt @@ -17,6 +17,7 @@ class PlayerDeathMessages { private val lastTimePlayerSeen = mutableMapOf() + // TODO USE SH-REPO //§c ☠ §r§7§r§bZeroHazel§r§7 was killed by §r§8§lAshfang§r§7§r§7. private val deathMessagePattern = "§c ☠ §r§7§r§.(?.+)§r§7 (?.+)".toPattern() @@ -61,4 +62,4 @@ class PlayerDeathMessages { private fun isHideFarDeathsEnabled(): Boolean { return LorenzUtils.inSkyBlock && SkyHanniMod.feature.chat.hideFarDeathMessages && !LorenzUtils.inDungeons && !LorenzUtils.inKuudraFight } -} \ No newline at end of file +} 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 b2de6cee7..ae8b1a892 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 @@ -29,10 +29,11 @@ import kotlin.time.Duration.Companion.seconds object InquisitorWaypointShare { private val config get() = SkyHanniMod.feature.event.diana.inquisitorSharing + + // TODO USE SH-REPO private val partyPattern = "§9Party §8> (?.*)§f: §rx: (?-?[0-9]{1,4}), y: (?-?[0-9]{1,4}), z: (?-?[0-9]{1,4})\\b".toPattern() private val diedPattern = "§9Party §8> (?.*)§f: §rInquisitor dead!".toPattern() - private var time = 0L private var testTime = 0L private var lastInquisitorMessage = "" diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt index 1238f41df..0d6f1cd75 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fame/CityProjectFeatures.kt @@ -34,6 +34,8 @@ class CityProjectFeatures { private var display = emptyList>() private var inInventory = false private var lastReminderSend = 0L + + // TODO USE SH-REPO private val contributeAgainPattern = "§7Contribute again: §e(?