aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-05-19 05:39:34 -0500
committeringlettronald <inglettronald@gmail.com>2023-05-19 05:39:34 -0500
commit7315266bdd84a2c0ec68f0934830a093c36dd995 (patch)
tree215dc844434563c7d5c9d2d260e69d1ee24a5c99 /src/main/kotlin/dulkirmod
parent6e1312acd491ea92144eff1da3652b968fd5fdcc (diff)
downloadDulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.tar.gz
DulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.tar.bz2
DulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.zip
Added stuff for pitch/yaw outside garden
Diffstat (limited to 'src/main/kotlin/dulkirmod')
-rw-r--r--src/main/kotlin/dulkirmod/config/DulkirConfig.kt25
-rw-r--r--src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt5
2 files changed, 26 insertions, 4 deletions
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
@@ -47,6 +47,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",
category = "General",
@@ -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<String>?, 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