diff options
| author | inglettronald <inglettronald@gmail.com> | 2023-04-07 18:40:31 -0500 |
|---|---|---|
| committer | inglettronald <inglettronald@gmail.com> | 2023-04-07 18:40:31 -0500 |
| commit | e933913ebe88f6b465ee862374bbd26c57906cae (patch) | |
| tree | ffe446d296da81ce545bb9833e11194fae832985 /src/main/kotlin/dulkirmod/config | |
| parent | 08848974d8ea83d692ce1c215fd0d4f30bf72ab5 (diff) | |
| download | DulkirMod-e933913ebe88f6b465ee862374bbd26c57906cae.tar.gz DulkirMod-e933913ebe88f6b465ee862374bbd26c57906cae.tar.bz2 DulkirMod-e933913ebe88f6b465ee862374bbd26c57906cae.zip | |
i don't even remember
Diffstat (limited to 'src/main/kotlin/dulkirmod/config')
| -rw-r--r-- | src/main/kotlin/dulkirmod/config/DulkirConfig.kt | 61 | ||||
| -rw-r--r-- | src/main/kotlin/dulkirmod/config/KeyHud.kt | 16 |
2 files changed, 60 insertions, 17 deletions
diff --git a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt index 6af452b..cd914ff 100644 --- a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt +++ b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt @@ -5,6 +5,9 @@ import cc.polyfrost.oneconfig.config.annotations.* import cc.polyfrost.oneconfig.config.data.Mod import cc.polyfrost.oneconfig.config.data.ModType import dulkirmod.DulkirMod +import dulkirmod.Huds.GardenInfoHud +import dulkirmod.Huds.KeyHud +import dulkirmod.Huds.YawDisplayHud import dulkirmod.utils.Utils @@ -175,7 +178,7 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf name = "Size", description = "Scales the size of your currently held item. Default: 0", category = "Animations", - subcategory = "Dungeons", + subcategory = "Animations", min = -1.5f, max = 1.5f, step = 0 @@ -601,6 +604,62 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf ) var witherKeyDisplayHUD: KeyHud = KeyHud() + @HUD( + name = "Pitch/Yaw Display", + category = "HUD", + subcategory = "Farming" + ) + var YawDisplayHud: YawDisplayHud = YawDisplayHud() + + @Switch( + name = "Display Pitch as well", + description = "useful for some slime launcher stuff", + category = "HUD", + subcategory = "Farming" + ) + var showPitch = false + + @Switch( + name = "3 Decimals on Yaw", + description = "are u ok bro", + category = "HUD", + subcategory = "Farming" + ) + var yaw3Decimals = false + + @HUD( + name = "Garden Info Display", + category = "HUD", + subcategory = "Garden" + ) + var GardenInfoHud: GardenInfoHud = GardenInfoHud() + + @Switch( + name = "Empty Composter Notif", + description = "Will display in HUD instead of giga-alert", + category = "HUD", + subcategory = "Garden" + ) + var composterAlert = true + + @Switch( + name = "Farming Milestone Display", + description = "Increasing number go brr", + category = "HUD", + subcategory = "Garden" + ) + var gardenMilestoneDisplay = true + + @Switch( + name = "Visitor Info", + description = "Show number present and time until next", + category = "HUD", + subcategory = "Garden" + ) + var visitorInfo = true + + + fun init() { initialize() addDependency("customMessage", "throttleNotifier") diff --git a/src/main/kotlin/dulkirmod/config/KeyHud.kt b/src/main/kotlin/dulkirmod/config/KeyHud.kt deleted file mode 100644 index ca7b2e4..0000000 --- a/src/main/kotlin/dulkirmod/config/KeyHud.kt +++ /dev/null @@ -1,16 +0,0 @@ -package dulkirmod.config -import cc.polyfrost.oneconfig.hud.TextHud -import dulkirmod.features.chat.DungeonKeyDisplay - - -class KeyHud : TextHud(true) { - - override fun getLines(lines: MutableList<String>?, example: Boolean) { - if (example) { - lines?.add(0, "Wither Key Display") - return - } - if (DungeonKeyDisplay.hasKey) - lines?.add(0, "Key Obtained") - } -}
\ No newline at end of file |
