From 7315266bdd84a2c0ec68f0934830a093c36dd995 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Fri, 19 May 2023 05:39:34 -0500 Subject: Added stuff for pitch/yaw outside garden --- src/main/kotlin/dulkirmod/config/DulkirConfig.kt | 25 +++++++++++++++++++++- .../kotlin/dulkirmod/overlays/YawDisplayHud.kt | 5 ++--- 2 files changed, 26 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt index df49b52..2703ee5 100644 --- a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt +++ b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt @@ -46,6 +46,14 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf ) var abiCallerID = false + @Switch( + name = "View Bobbing Features", + description = "Global Toggle, make sure view bobbing is turned on in game settings", + category = "General", + subcategory = "General" + ) + var bobbingFeatures = false + @Switch( name = "Hurt Cam Slider", description = "more or less ouchie", @@ -719,7 +727,7 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf @Switch( name = "Display outside garden", - description = "why do you need this", + description = "Useful for something!", category = "HUD", subcategory = "Farming" ) @@ -756,6 +764,21 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf ) var visitorInfo = true + @Switch( + name = "Steak Display", + description = "Show a hitbox around a mob when it can be 1 shot with Steak", + category = "Rift", + subcategory = "Vamp Slayer" + ) + var steakDisplay = false + + @Switch( + name = "Ichor Highlight", + description = "Shows a hitbox around current ichors", + category = "Rift", + subcategory = "Vamp Slayer" + ) + var ichorHighlight = false fun init() { diff --git a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt index eb6555b..458ebea 100644 --- a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt +++ b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt @@ -9,9 +9,8 @@ import dulkirmod.utils.Utils class YawDisplayHud : TextHud(false) { override fun getLines(lines: MutableList?, example: Boolean) { if (!Utils.isInSkyblock()) return - if (!DulkirConfig.showYawEverywhere) { - if (TabListUtils.area != "Garden") return - } + if (!DulkirConfig.showYawEverywhere && TabListUtils.area != "Garden") return + val pitch = mc.thePlayer.rotationPitch var yaw = mc.thePlayer.rotationYaw % 360f -- cgit