From 1c0ed30ca4d2d0924a5e5ff35f6bdfd35b6a43b0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 26 Mar 2023 00:30:58 +0100 Subject: Added Visitor Item Preview - Show the base type for the required items next to new visitors (Note that some visitors may require any crop) --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 1 + src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') 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) -> 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 @@ -88,6 +88,12 @@ public class Garden { @ConfigAccordionId(id = 3) 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) -- cgit