Update TOC for 12.1. Handle secret values in one of the places they might exist.

This commit is contained in:
SabinDeus 2026-08-07 23:37:50 -04:00
parent 4b1a1af6b3
commit 9c0705f2d3
2 changed files with 70 additions and 67 deletions

View File

@ -495,6 +495,7 @@ function TI_HandleGossipWindow(gorq)
local npcname = UnitName("npc");
if not issecretvalue(npcname) then
TI_AddNPCToTempList(npcname, ListEntry);
if(TI_status.autoadd and (not TI_NPCDB[npcname])) then
@ -573,6 +574,8 @@ function TI_HandleGossipWindow(gorq)
else
TI_debug("npc not in list");
end
end
if(TI_status.usedefault == false) then
TI_debug("npc not in list, default set to off, returning.");
return;

View File

@ -1,5 +1,5 @@
## Interface: 120000, 120001, 50503, 40402, 30405, 20505, 11508
## X-Compatible-With: 120000, 120001, 50503, 40402, 30405, 20505, 11508
## Interface: 120100, 120000, 120001, 50503, 40402, 30405, 20505, 11508
## X-Compatible-With: 120100, 120000, 120001, 50503, 40402, 30405, 20505, 11508
## Title: Turn In
## Notes: Automates the selection of quest and gossip options.
## SavedVariables: TI_status, TI_NPCDB, TI_NPCIndex