From d3e13e38e22b8eecd5198c59cf6a132cc9425b33 Mon Sep 17 00:00:00 2001 From: ronald Date: Sat, 29 Jul 2023 00:13:53 -0500 Subject: Lots of slayer backend and a smattering of random features (Lightning/fire culling, chat stacking improvements, aotv highlight stuff, etc) --- .../kotlin/com/dulkirfabric/config/DulkirConfig.kt | 32 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt') diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt index 3536890..246912a 100644 --- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt +++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt @@ -112,6 +112,12 @@ class DulkirConfig { general.addEntry( entryBuilder.mkToggle(Text.literal("Hide Hunger Overlay in Skyblock"), configOptions::hideHungerOverlay) ) + general.addEntry( + entryBuilder.mkToggle(Text.literal("Hide Fire Overlay"), configOptions::hideFireOverlay) + ) + general.addEntry( + entryBuilder.mkToggle(Text.literal("Hide Lightning (SkyBlock only)"), configOptions::hideLightning) + ) general.addEntry( entryBuilder.startIntSlider(Text.literal("Anti Downtime Alarm"), configOptions.alarmTimeout, 0, 1000) .setSaveConsumer { @@ -153,6 +159,10 @@ class DulkirConfig { shortcuts.addEntry( entryBuilder.mkKeyField(Text.literal("Dynamic Key"), configOptions::dynamicKey) ) + shortcuts.addEntry( + entryBuilder.mkToggle(Text.literal("Only Register Shortcuts in Skyblock"), configOptions::macrosSkyBlockOnly, + Text.literal("Useful if you want to use some of these binds elsewhere for non-skyblock specific stuff.")) + ) shortcuts.addEntry( ConfigHelper.mkConfigList( Text.literal("Macros"), @@ -259,6 +269,18 @@ class DulkirConfig { .build() ) + val slayer = builder.getOrCreateCategory(Text.literal("Slayer")) + slayer.addEntry( + entryBuilder.mkToggle(Text.literal("MiniBoss Highlight Box"), configOptions::boxMinis) + ) + slayer.addEntry( + entryBuilder.mkToggle(Text.literal("MiniBoss Announcement Alert"), configOptions::announceMinis) + ) + slayer.addEntry( + entryBuilder.mkToggle(Text.literal("Blaze Slayer Attunement Display"), configOptions::attunementDisplay, + Text.literal("Shows a wireframe in the correct color for the slayer.")) + ) + builder.transparentBackground() screen = builder.build() } @@ -268,6 +290,7 @@ class DulkirConfig { var invScaleBool: Boolean = false, var inventoryScale: Float = 1f, var macrosList: List = listOf(Macro(UNKNOWN_KEY, "")), + var macrosSkyBlockOnly: Boolean = false, var aliasList: List = listOf(Alias("", "")), var ignoreReverseThirdPerson: Boolean = false, var dynamicKey: InputUtil.Key = UNKNOWN_KEY, @@ -284,7 +307,7 @@ class DulkirConfig { var hideHungerOverlay: Boolean = true, var animationPreset: AnimationPreset = AnimationPreset(), var duraCooldown: Boolean = false, - var alarmTimeout: Int = 300, + var alarmTimeout: Int = 0, var arachneKeeperWaypoints: Boolean = false, var arachneSpawnTimer: Boolean = false, var bridgeFormatter: Boolean = false, @@ -295,7 +318,12 @@ class DulkirConfig { var showEHP: Boolean = false, var hideHeldItemTooltip: Boolean = false, var showEtherwarpPreview: Boolean = true, - var etherwarpPreviewColor: Int = 0x99FFFFFF.toInt() + var etherwarpPreviewColor: Int = 0x99FFFFFF.toInt(), + var announceMinis: Boolean = false, + var boxMinis: Boolean = false, + var attunementDisplay: Boolean = false, + var hideFireOverlay: Boolean = false, + var hideLightning: Boolean = false ) @Serializable -- cgit