aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-26 00:30:58 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-26 00:30:58 +0100
commit1c0ed30ca4d2d0924a5e5ff35f6bdfd35b6a43b0 (patch)
tree21e75b824750f80f1b1cffd557ecedc271374f73 /src/main/java/at/hannibal2/skyhanni/config
parent7349948b89c569afeb500a19a752d9ec15ad008c (diff)
downloadskyhanni-1c0ed30ca4d2d0924a5e5ff35f6bdfd35b6a43b0.tar.gz
skyhanni-1c0ed30ca4d2d0924a5e5ff35f6bdfd35b6a43b0.tar.bz2
skyhanni-1c0ed30ca4d2d0924a5e5ff35f6bdfd35b6a43b0.zip
Added Visitor Item Preview - Show the base type for the required items next to new visitors (Note that some visitors may require any crop)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
index 53ac4f37e..048f4968a 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -53,6 +53,7 @@ object Commands {
registerCommand("shreloadbingodata") { BingoCardDisplay.command() }
registerCommand("shprintbingohelper") { BingoNextStepHelper.command() }
registerCommand("shsetapikey") { ApiDataLoader.command(it) }
+ registerCommand("shtestgardenvisitors") { LorenzTest.testGardenVisitors() }
}
private fun registerCommand(name: String, function: (Array<String>) -> Unit) {
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
index 559bb68d3..eacdea6cd 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -89,6 +89,12 @@ public class Garden {
public boolean visitorNeedsShowPrice = true;
@Expose
+ @ConfigOption(name = "Item Preview", desc = "Show the base type for the required items next to new visitors. §cNote that some visitors may require any crop.")
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 3)
+ public boolean visitorItemPreview = true;
+
+ @Expose
@ConfigOption(name = "Visitor Inventory", desc = "")
@ConfigAccordionId(id = 1)
@ConfigEditorAccordion(id = 4)