feat: expand learner tooltip controls

This commit is contained in:
Xurkon
2026-06-06 14:30:07 -05:00
parent 1f3de0e02e
commit 1ca426ee9f
7 changed files with 148 additions and 19 deletions
@@ -53,13 +53,19 @@ describe("QuestieLearner data source mode", function()
assert.is_true(has(defaults, "learnerTooltips = true"))
assert.is_true(has(defaults, "learnerTooltipShowSpawn = true"))
assert.is_true(has(defaults, "learnerTooltipShowConfidence = true"))
assert.is_true(has(defaults, "learnerTooltipShowTotalSpawns = true"))
assert.is_true(has(defaults, "learnerTooltipAutoResize = true"))
assert.is_true(has(defaults, "learnerTooltipUseSecondary = false"))
assert.is_true(has(general, "Learner Tooltips"))
assert.is_true(has(general, "Enable learner tooltips"))
assert.is_true(has(general, "Show total spawns learned"))
assert.is_true(has(general, "Use secondary learner tooltip"))
assert.is_true(has(tip, "function QuestieTooltips:ResizeTooltip(tooltip)"))
assert.is_true(has(handler, "QuestieTooltips:ResizeTooltip(GameTooltip)"))
assert.is_true(has(handler, "QuestieTooltips:ResizeTooltip(self)"))
assert.is_true(has(learner, "learnerTooltipShowSpawn"))
assert.is_true(has(learner, "_CountLearnedNpcSpawns(entry)"))
assert.is_true(has(learner, "_ShowLearnerTooltipFrame(GameTooltip, rendered)"))
end)
it("allows learner mode to draw pins from a single learned spawn when needed", function()