Skip to content

Commit

Permalink
Added hidden quest ids and items for Zaralek Caverns and Emerald Drea…
Browse files Browse the repository at this point in the history
…m. TomTom buggy
  • Loading branch information
jrob8577 committed Nov 22, 2023
1 parent f524db1 commit 49a06d0
Show file tree
Hide file tree
Showing 5 changed files with 600 additions and 25 deletions.
3 changes: 2 additions & 1 deletion components/helpers/create_auto_sizing_frame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ function helpers:create_auto_sizing_frame(parent, title_text, frame_enabled)
function frame:recalculate_height()
self:SetHeight(0.1)

for _, child in ipairs(frame.children) do
for index, child in ipairs(frame.children) do
-- not sure if font string's get height method will return correctly here...
log(nil, "recalculate_height", 1, "h", frame_name .. " " .. title_text .. " " .. self:GetHeight())
self:SetHeight(self:GetHeight() + (child.visible and (child.initial_height + ELEMENT_PADDING_Y) or 0))
end
end
Expand Down
4 changes: 3 additions & 1 deletion core/constants/skills.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ ns.constants.map_ids = {
OhnAhranPlains = 2023,
AzureSpan = 2024,
Thaldraszus = 2025,
Valdrakken = 2112 -- Need to verify this
Valdrakken = 2112,
ZaralekCavern = 2175,
EmeraldDream = 2200
}

ns.constants.professions.SKILL_CURRENCIES = {
Expand Down
2 changes: 1 addition & 1 deletion src/panels/friends.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local theme = ns.theme
local constants = ns.constants
local media = ns.media

local frame_name = addon .. "_faction_frame"
local frame_name = addon .. "_friend_frame"
local friends = CreateFrame("Frame", frame_name)

function friends:init(parent)
Expand Down
3 changes: 3 additions & 0 deletions src/panels/professions/setup_mob_drops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local _, ns = ...
local profession_helpers = ns.constants.professions.helpers
local SKILL_SUBSECTIONS = ns.constants.SKILL_SUBSECTIONS
local SKILL_IDS = ns.constants.professions.SKILL_IDS
local log = ns.debug.log

local MOB_DROPS = {
title = "Weekly Mob Drops",
Expand Down Expand Up @@ -252,6 +253,8 @@ local setup_mob_drops = function(profession_data)

if #remaining_waypoints > 0 then
for _, waypoint in ipairs(remaining_waypoints) do
log(nil, "mob_drops", 1, "waypoint", string.format("%d (%f, %f)", waypoint.map, waypoint.x, waypoint.y))

TomTom:AddWaypoint(waypoint.map, waypoint.x, waypoint.y, waypoint.options)
end
end
Expand Down
Loading

0 comments on commit 49a06d0

Please sign in to comment.