panel: combine similar ui code into functions

also add new panel options for Hearth, Thistle Tea and Flash Powder.
This commit is contained in:
jmgibson1981
2025-03-03 01:19:04 -07:00
committed by GitHub
parent e813f32a7e
commit 92d3eebf10
2 changed files with 122 additions and 142 deletions
+4
View File
@@ -1069,6 +1069,10 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
"combat:" .. T["Combat Timer"],
"ammo:" .. T["Ammo Counter"],
"soulshard:" .. T["Soulshard Counter"],
"bindlocation:" .. T["Hearth"],
"thistletea:" .. T["Thistle Tea"],
"flashpowder:" .. T["Flash Powder"],
"blindpowder:" .. T["Blinding Powder"],
"bagspace:" .. T["Bagspace"]
},
["tooltip_position"] = {