Skip to content

Commit

Permalink
Core: Added tracking for Machine Defense Unit 1-11
Browse files Browse the repository at this point in the history
  • Loading branch information
rdw-software committed Sep 1, 2024
1 parent 13930af commit e15a07c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Core/EventHandlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1777,6 +1777,11 @@ function R:OnLootReady(event, ...)
end
end

if Rarity.isOpening and Rarity.lastNode and Rarity.lastNode == L["Awakened Cache"] then
Rarity:Debug("Detected Opening on " .. Rarity.lastNode .. " (method = SPECIAL)")
addAttemptForItem("Machine Defense Unit 1-11", "mounts")
end

-- Handle opening Opera Chest (Holoviewers)
if Rarity.isFishing and Rarity.isOpening and Rarity.lastNode and (Rarity.lastNode == L["Opera Chest"]) then
local names = { "Holoviewer: The Timeless One", "Holoviewer: The Lady of Dreams" }
Expand Down
1 change: 1 addition & 0 deletions DB/Nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,5 @@ R.opennodes = {
[L["Obsidian Grand Cache"]] = true,
[L["Frozen Coffer"]] = true,
[L["Dreamseed Cache"]] = true,
[L["Awakened Cache"]] = true,
}
1 change: 1 addition & 0 deletions Locales.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local L
L = LibStub("AceLocale-3.0"):NewLocale("Rarity", "enUS", true)

-- L["AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"] = true
L["Awakened Cache"] = true
L["Machine Defense Unit 1-11"] = true
L["Malfunctioning Mechsuit"] = true
L["Dauntless Imperial Lynx"] = true
Expand Down

0 comments on commit e15a07c

Please sign in to comment.