-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/beta' into base-stats
- Loading branch information
Showing
37 changed files
with
465 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemProfitTrackerConfig.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemsOnGroundConfig.java
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/main/java/at/hannibal2/skyhanni/config/features/slayer/ItemsOnGroundConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package at.hannibal2.skyhanni.config.features.slayer | ||
|
||
import at.hannibal2.skyhanni.config.FeatureToggle | ||
import com.google.gson.annotations.Expose | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption | ||
|
||
class ItemsOnGroundConfig { | ||
@Expose | ||
@ConfigOption( | ||
name = "Enabled", | ||
desc = "Show the name and price of items laying on the ground. §cOnly in slayer areas!" | ||
) | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
var enabled: Boolean = true | ||
|
||
@Expose | ||
@ConfigOption(name = "Minimum Price", desc = "Items below this price will be ignored.") | ||
@ConfigEditorSlider(minValue = 1f, maxValue = 1000000f, minStep = 1f) | ||
var minimumPrice: Int = 50000 | ||
} |
28 changes: 13 additions & 15 deletions
28
...eatures/slayer/RngMeterDisplayConfig.java → .../features/slayer/RngMeterDisplayConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
package at.hannibal2.skyhanni.config.features.slayer; | ||
package at.hannibal2.skyhanni.config.features.slayer | ||
|
||
import at.hannibal2.skyhanni.config.FeatureToggle; | ||
import at.hannibal2.skyhanni.config.core.config.Position; | ||
import com.google.gson.annotations.Expose; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; | ||
|
||
public class RngMeterDisplayConfig { | ||
import at.hannibal2.skyhanni.config.FeatureToggle | ||
import at.hannibal2.skyhanni.config.core.config.Position | ||
import com.google.gson.annotations.Expose | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption | ||
|
||
class RngMeterDisplayConfig { | ||
@Expose | ||
@ConfigOption(name = "Enabled", desc = "Display amount of bosses needed until next RNG meter drop.") | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean enabled = true; | ||
var enabled: Boolean = true | ||
|
||
@Expose | ||
@ConfigOption(name = "Warn Empty", desc = "Warn when no item is set in the RNG Meter.") | ||
@ConfigEditorBoolean | ||
public boolean warnEmpty = false; | ||
var warnEmpty: Boolean = false | ||
|
||
@Expose | ||
@ConfigOption(name = "Hide Chat", desc = "Hide the RNG meter message from chat if current item is selected.") | ||
@ConfigEditorBoolean | ||
public boolean hideChat = true; | ||
var hideChat: Boolean = true | ||
|
||
@Expose | ||
@ConfigLink(owner = RngMeterDisplayConfig.class, field = "enabled") | ||
public Position pos = new Position(410, 110, false, true); | ||
|
||
@ConfigLink(owner = RngMeterDisplayConfig::class, field = "enabled") | ||
var pos: Position = Position(410, 110, false, true) | ||
} |
26 changes: 0 additions & 26 deletions
26
src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerBossWarningConfig.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerBossWarningConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package at.hannibal2.skyhanni.config.features.slayer | ||
|
||
import at.hannibal2.skyhanni.config.FeatureToggle | ||
import com.google.gson.annotations.Expose | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption | ||
|
||
class SlayerBossWarningConfig { | ||
@Expose | ||
@ConfigOption(name = "Enabled", desc = "Send a title when your boss is about to spawn.") | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
var enabled: Boolean = false | ||
|
||
@Expose | ||
@ConfigOption(name = "Percent", desc = "The percentage at which the title and sound should be sent.") | ||
@ConfigEditorSlider(minStep = 1f, minValue = 50f, maxValue = 90f) | ||
var percent: Int = 80 | ||
|
||
@Expose | ||
@ConfigOption( | ||
name = "Repeat", | ||
desc = "Resend the title and sound on every kill after reaching the configured percent value." | ||
) | ||
@ConfigEditorBoolean | ||
var repeat: Boolean = false | ||
} |
73 changes: 41 additions & 32 deletions
73
.../config/features/slayer/SlayerConfig.java → ...ni/config/features/slayer/SlayerConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,94 @@ | ||
package at.hannibal2.skyhanni.config.features.slayer; | ||
package at.hannibal2.skyhanni.config.features.slayer | ||
|
||
import at.hannibal2.skyhanni.config.FeatureToggle; | ||
import at.hannibal2.skyhanni.config.features.slayer.blaze.BlazeConfig; | ||
import at.hannibal2.skyhanni.config.features.slayer.endermen.EndermanConfig; | ||
import at.hannibal2.skyhanni.config.features.slayer.vampire.VampireConfig; | ||
import com.google.gson.annotations.Expose; | ||
import io.github.notenoughupdates.moulconfig.annotations.Accordion; | ||
import io.github.notenoughupdates.moulconfig.annotations.Category; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; | ||
|
||
public class SlayerConfig { | ||
import at.hannibal2.skyhanni.config.FeatureToggle | ||
import at.hannibal2.skyhanni.config.features.slayer.blaze.BlazeConfig | ||
import at.hannibal2.skyhanni.config.features.slayer.endermen.EndermanConfig | ||
import at.hannibal2.skyhanni.config.features.slayer.vampire.VampireConfig | ||
import com.google.gson.annotations.Expose | ||
import io.github.notenoughupdates.moulconfig.annotations.Accordion | ||
import io.github.notenoughupdates.moulconfig.annotations.Category | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption | ||
|
||
class SlayerConfig { | ||
// TODO rename to "enderman" | ||
@Expose | ||
@Category(name = "Enderman", desc = "Enderman Slayer Feature") | ||
@Accordion | ||
// TODO rename to "enderman" | ||
public EndermanConfig endermen = new EndermanConfig(); | ||
var endermen: EndermanConfig = EndermanConfig() | ||
|
||
// TODO rename to "blaze" | ||
@Expose | ||
@Category(name = "Blaze", desc = "Blaze Slayer Features") | ||
// TODO rename to "blaze" | ||
public BlazeConfig blazes = new BlazeConfig(); | ||
var blazes: BlazeConfig = BlazeConfig() | ||
|
||
@Expose | ||
@Category(name = "Vampire", desc = "Vampire Slayer Features") | ||
public VampireConfig vampire = new VampireConfig(); | ||
var vampire: VampireConfig = VampireConfig() | ||
|
||
@Expose | ||
@ConfigOption(name = "Item Profit Tracker", desc = "") | ||
@Accordion | ||
public ItemProfitTrackerConfig itemProfitTracker = new ItemProfitTrackerConfig(); | ||
var itemProfitTracker: SlayerProfitTrackerConfig = SlayerProfitTrackerConfig() | ||
|
||
@Expose | ||
@ConfigOption(name = "Items on Ground", desc = "") | ||
@Accordion | ||
public ItemsOnGroundConfig itemsOnGround = new ItemsOnGroundConfig(); | ||
var itemsOnGround: ItemsOnGroundConfig = ItemsOnGroundConfig() | ||
|
||
@Expose | ||
@ConfigOption(name = "RNG Meter Display", desc = "") | ||
@Accordion | ||
public RngMeterDisplayConfig rngMeterDisplay = new RngMeterDisplayConfig(); | ||
var rngMeterDisplay: RngMeterDisplayConfig = RngMeterDisplayConfig() | ||
|
||
@Expose | ||
@ConfigOption(name = "Boss Spawn Warning", desc = "") | ||
@Accordion | ||
public SlayerBossWarningConfig slayerBossWarning = new SlayerBossWarningConfig(); | ||
var slayerBossWarning: SlayerBossWarningConfig = SlayerBossWarningConfig() | ||
|
||
@Expose | ||
@ConfigOption(name = "Miniboss Highlight", desc = "Highlight Slayer Mini-Boss in blue color.") | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean slayerMinibossHighlight = false; | ||
var slayerMinibossHighlight: Boolean = false | ||
|
||
@Expose | ||
@ConfigOption(name = "Line to Miniboss", desc = "Add a line to every Slayer Mini-Boss around you.") | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean slayerMinibossLine = false; | ||
var slayerMinibossLine: Boolean = false | ||
|
||
@Expose | ||
@ConfigOption(name = "Line to Miniboss Width", desc = "The width of the line pointing to every Slayer Mini-Boss around you.") | ||
@ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10) | ||
public int slayerMinibossLineWidth = 3; | ||
@ConfigOption( | ||
name = "Line to Miniboss Width", | ||
desc = "The width of the line pointing to every Slayer Mini-Boss around you." | ||
) | ||
@ConfigEditorSlider(minStep = 1f, minValue = 1f, maxValue = 10f) | ||
var slayerMinibossLineWidth: Int = 3 | ||
|
||
@Expose | ||
@ConfigOption(name = "Hide Mob Names", desc = "Hide the name of the mobs you need to kill in order for the Slayer boss to spawn. Exclude mobs that are damaged, corrupted, runic or semi rare.") | ||
@ConfigOption( | ||
name = "Hide Mob Names", | ||
desc = "Hide the name of the mobs you need to kill in order for the Slayer boss to spawn. " + | ||
"Exclude mobs that are damaged, corrupted, runic or semi rare." | ||
) | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean hideMobNames = false; | ||
var hideMobNames: Boolean = false | ||
|
||
@Expose | ||
@ConfigOption(name = "Quest Warning", desc = "Warn when wrong Slayer quest is selected, or killing mobs for the wrong Slayer.") | ||
@ConfigOption( | ||
name = "Quest Warning", | ||
desc = "Warn when wrong Slayer quest is selected, or killing mobs for the wrong Slayer." | ||
) | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean questWarning = true; | ||
var questWarning: Boolean = true | ||
|
||
@Expose | ||
@ConfigOption(name = "Quest Warning Title", desc = "Send a title when warning.") | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
public boolean questWarningTitle = true; | ||
var questWarningTitle: Boolean = true | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerProfitTrackerConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package at.hannibal2.skyhanni.config.features.slayer | ||
|
||
import at.hannibal2.skyhanni.config.FeatureToggle | ||
import at.hannibal2.skyhanni.config.core.config.Position | ||
import com.google.gson.annotations.Expose | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink | ||
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption | ||
|
||
class SlayerProfitTrackerConfig { | ||
@Expose | ||
@ConfigOption( | ||
name = "Enabled", | ||
desc = "Count all items you pick up while doing slayer, " + | ||
"keeping track of how much you pay for starting slayers and calculating the overall profit." | ||
) | ||
@ConfigEditorBoolean | ||
@FeatureToggle | ||
var enabled: Boolean = true | ||
|
||
@Expose | ||
@ConfigLink(owner = SlayerProfitTrackerConfig::class, field = "enabled") | ||
var pos: Position = Position(20, 20, false, true) | ||
} |
Oops, something went wrong.