41 lignes
1.4 KiB
Lua
Fichiers exécutables
41 lignes
1.4 KiB
Lua
Fichiers exécutables
QuestHelper_File["vars.lua"] = "4.0.1.$svnversion$"
|
|
QuestHelper_Loadtime["vars.lua"] = GetTime()
|
|
|
|
QuestHelper_CharVersion = 1
|
|
QuestHelper_Locale = GetLocale() -- This variable is used only for the collected data, and has nothing to do with displayed text.
|
|
QuestHelper_Quests = {}
|
|
QuestHelper_Objectives = {}
|
|
|
|
QuestHelper_FlightInstructors = {}
|
|
QuestHelper_FlightLinks = {}
|
|
QuestHelper_FlightRoutes = {}
|
|
QuestHelper_KnownFlightRoutes = {}
|
|
QuestHelper_SeenRealms = {}
|
|
|
|
-- Just to make sure it's always 'seen' (there's nothing that can be seen, but still...), and therefore always updating.
|
|
QuestHelper:SetFrameStrata("TOOLTIP")
|
|
|
|
QuestHelper.tooltip = CreateFrame("GameTooltip", "QuestHelperTooltip", nil, "GameTooltipTemplate")
|
|
QuestHelper.objective_objects = {}
|
|
QuestHelper.user_objectives = {}
|
|
QuestHelper.quest_objects = {}
|
|
QuestHelper.player_level = 1
|
|
QuestHelper.locale = QuestHelper_Locale
|
|
|
|
QuestHelper.faction = UnitFactionGroup("player")
|
|
|
|
--[[ assert(QuestHelper.faction) ]]
|
|
|
|
QuestHelper.font = {serif=GameFontNormal:GetFont(), sans=ChatFontNormal:GetFont(), fancy=QuestTitleFont:GetFont()}
|
|
|
|
QuestHelper.route = {}
|
|
QuestHelper.to_add = {}
|
|
QuestHelper.to_remove = {}
|
|
QuestHelper.quest_log = {}
|
|
QuestHelper.pos = {nil, {}, 0, 0, 1, "You are here.", 0}
|
|
QuestHelper.sharing = false -- Will be set to true when sharing with at least one user.
|
|
|
|
QHQuestsCompleted = false
|
|
|
|
expected_version = GetAddOnMetadata("QuestHelper", "Version")
|