This commit is contained in:
BuildTools
2019-07-29 20:32:24 -04:00
parent 182f254e28
commit a89f6030c0
5 changed files with 817 additions and 395 deletions

View File

@@ -11,6 +11,7 @@ package net.runelite.client.plugins.gauntlet;
import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.Range;
@ConfigGroup("Gauntlet")
@@ -18,18 +19,18 @@ public interface GauntletConfig extends Config {
@ConfigItem(
position = 0,
keyName = "highlightResources",
name = "Highlight Resources",
keyName = "highlightResourcesColor",
name = "Highlight Resources (Color)",
description = "Highlights all the resources in each room with a color."
)
default boolean highlightResources() {
default boolean highlightResourcesColor() {
return true;
}
@ConfigItem(
position = 1,
keyName = "highlightResourcesIcons",
name = "Highlight Icons",
name = "Highlight Resources (Icon)",
description = "Highlights all the icons in each room with an icon."
)
default boolean highlightResourcesIcons() {
@@ -38,16 +39,6 @@ public interface GauntletConfig extends Config {
@ConfigItem(
position = 2,
keyName = "countPlayerAttacks",
name = "Count Player Attacks",
description = "Count the player attacks until the boss switches their prayer."
)
default boolean countPlayerAttacks() {
return true;
}
@ConfigItem(
position = 3,
keyName = "countBossAttacks",
name = "Count Boss Attacks",
description = "Count the attacks until the boss switches their style."
@@ -57,32 +48,106 @@ public interface GauntletConfig extends Config {
}
@ConfigItem(
position = 4,
keyName = "showAttackStyle",
name = "Show Attack Styles",
description = "Mark orb with an individual attack style."
position = 3,
keyName = "countPlayerAttacks",
name = "Count Player Attacks",
description = "Count the player attacks until the boss switches their prayer."
)
default boolean showAttackStyle() {
default boolean countPlayerAttacks() {
return true;
}
@ConfigItem(
position = 4,
keyName = "uniquePrayerAudio",
name = "Unique Prayer Audio",
description = "Plays a unique sound whenever the boss is about to shut down your prayer."
)
default boolean uniquePrayerAudio() {
return true;
}
@ConfigItem(
position = 5,
keyName = "overlayBoss",
name = "Overlay the Boss",
description = "Overlay the boss with the color attack style."
keyName = "uniquePrayerVisual",
name = "Unique Prayer Visual",
description = "Prayer attacks will have a unique overlay visual."
)
default boolean overlayBoss() {
return false;
default boolean uniquePrayerVisual() {
return true;
}
@ConfigItem(
position = 6,
keyName = "alertPrayerDrain",
name = "Play Tune on Prayer Attack",
description = "Plays a sound whenever the boss is about to shut down your prayer."
keyName = "uniqueAttackVisual",
name = "Unique Magic & Range Visuals",
description = "Magic and Range attacks will have a unique overlay visual."
)
default boolean alertPrayerDrain() {
default boolean uniqueAttackVisual() {
return false;
}
@ConfigItem(
position = 7,
keyName = "overlayBoss",
name = "Overlay the Boss (Color)",
description = "Overlay the boss with an color denoting it's current attack style."
)
default boolean overlayBoss() {
return true;
}
@ConfigItem(
position = 8,
keyName = "overlayBossPrayer",
name = "Overlay the Boss (Icon)",
description = "Overlay the boss with an icon denoting it's current attack style."
)
default boolean overlayBossPrayer() {
return false;
}
@ConfigItem(
position = 9,
keyName = "overlayTornadoes",
name = "Show Tornado Decay",
description = "Display the amount of ticks left until the tornadoes decay."
)
default boolean overlayTornadoes() {
return true;
}
@ConfigItem(
position = 10,
keyName = "displayTimerWidget",
name = "Show Custom Timer (Widget)",
description = "Display a timer widget that tracks your gauntlet progress."
)
default boolean displayTimerWidget() {
return true;
}
@ConfigItem(
position = 11,
keyName = "displayTimerChat",
name = "Show Custom Timer (Chat)",
description = "Display a chat message that tracks your gauntlet progress."
)
default boolean displayTimerChat() {
return true;
}
@Range(
min = 1,
max = 50
)
@ConfigItem(
position = 12,
keyName = "iconSize",
name = "Global Icon Size",
description = "Globally change the size of icons."
)
default int iconSize() {
return 20;
}
}