feat: Option to disable Missing Items highlight for items with a semicolon (#212)

This commit is contained in:
jani270
2025-07-06 23:50:08 +02:00
committed by GitHub
parent d92a326fe3
commit 7ca5edc8e7
3 changed files with 7 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ object PowerUserTools : FirmamentFeature {
val exportUIRecipes by keyBindingWithDefaultUnbound("export-recipe")
val exportNpcLocation by keyBindingWithDefaultUnbound("export-npc-location")
val highlightNonOverlayItems by toggle("highlight-non-overlay") { false }
val dontHighlightSemicolonItems by toggle("dont-highlight-semicolon-items") { false }
}
override val config

View File

@@ -215,6 +215,8 @@ object ItemExporter {
return
}
val stack = event.slot.stack ?: return
val id = event.slot.stack.skyBlockId?.neuItem
if (PowerUserTools.TConfig.dontHighlightSemicolonItems && id != null && id.contains(";")) return
val isExported = nonOverlayCache.getOrPut(stack.skyBlockId ?: return) {
RepoDownloadManager.repoSavedLocation.resolve("itemsOverlay")
.resolve(ExportedTestConstantMeta.current.dataVersion.toString())