Skip to content

Commit

Permalink
Fix lua error for LoreObject
Browse files Browse the repository at this point in the history
This removes the remaining LoreObjects.
  • Loading branch information
Dathwada committed Sep 6, 2024
1 parent 933d0b9 commit 868906c
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 156 deletions.
24 changes: 12 additions & 12 deletions plugins/11_TheWarWithin/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ ns.groups.I_ONLY_NEED_ONE_TRIP = Group('i_only_need_one_trip', 236316, {
achievement = 40623
})

ns.groups.KHAZ_ALGAR_LORE_HUNTER = Group('khaz_algar_lore_hunter', 4419344, {
defaults = ns.GROUP_HIDDEN,
type = ns.group_types.ACHIEVEMENT,
achievement = 40762
})
-- ns.groups.KHAZ_ALGAR_LORE_HUNTER = Group('khaz_algar_lore_hunter', 4419344, {
-- defaults = ns.GROUP_HIDDEN,
-- type = ns.group_types.ACHIEVEMENT,
-- achievement = 40762
-- })

ns.groups.LOST_AND_FOUND = Group('lost_and_found', 4635200, {
defaults = ns.GROUP_HIDDEN,
Expand Down Expand Up @@ -178,14 +178,14 @@ ns.groups.DRAGONRACE = Group('dragonrace', 1100022, {
-------------------------------------------------------------------------------
---------------------------- KHAZ ALGAR LORE HUNTER ---------------------------
-------------------------------------------------------------------------------
--[[
local LoreObject = Class('LoreObject', Collectible, {
icon = 4419344,
group = ns.groups.KHAZ_ALGAR_LORE_HUNTER
})

ns.node.LoreObject = LoreObject
]]
-- local LoreObject = Class('LoreObject', Collectible, {
-- icon = 4419344,
-- group = ns.groups.KHAZ_ALGAR_LORE_HUNTER
-- })

-- ns.node.LoreObject = LoreObject

-------------------------------------------------------------------------------
------------------------------- SKYRIDING GLYPH -------------------------------
-------------------------------------------------------------------------------
Expand Down
82 changes: 41 additions & 41 deletions plugins/11_TheWarWithin/zones/azj_kahet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -761,49 +761,49 @@ map.nodes[06001200] = ItsyBitsySpider({
-------------------------------------------------------------------------------
--------------------- ACHIEVEMENT: KHAZ ALGAR LORE HUNTER ---------------------
-------------------------------------------------------------------------------
--[[
cot.nodes[77557018] = LoreObject({
parent = map.id,
rewards = {
Achievement({id = 40762, criteria = 69385}),
Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
Reputation({id = 2607, gain = 85})
}
}) -- Forgotten Shadecaster
map.nodes[75443325] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69387}),
Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
Reputation({id = 2607, gain = 85})
}
}) -- Kah'teht
map.nodes[54071889] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69388}),
Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
Reputation({id = 2607, gain = 85})
}
}) -- Mad Nerubian

cot.nodes[08533058] = LoreObject({
parent = map.id,
rewards = {
Achievement({id = 40762, criteria = 69386}),
Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
Reputation({id = 2607, gain = 85})
}
}) -- Neglected Shadecaster
-- cot.nodes[77557018] = LoreObject({
-- parent = map.id,
-- rewards = {
-- Achievement({id = 40762, criteria = 69385}),
-- Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
-- Reputation({id = 2607, gain = 85})
-- }
-- }) -- Forgotten Shadecaster

-- map.nodes[75443325] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69387}),
-- Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
-- Reputation({id = 2607, gain = 85})
-- }
-- }) -- Kah'teht

-- map.nodes[54071889] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69388}),
-- Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
-- Reputation({id = 2607, gain = 85})
-- }
-- }) -- Mad Nerubian

-- cot.nodes[08533058] = LoreObject({
-- parent = map.id,
-- rewards = {
-- Achievement({id = 40762, criteria = 69386}),
-- Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
-- Reputation({id = 2607, gain = 85})
-- }
-- }) -- Neglected Shadecaster

-- map.nodes[71126233] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69384}),
-- Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
-- Reputation({id = 2607, gain = 85})
-- }
-- }) -- Weathered Shadecaster

map.nodes[71126233] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69384}),
Reputation({id = 2601, gain = 85}), Reputation({id = 2605, gain = 85}),
Reputation({id = 2607, gain = 85})
}
}) -- Weathered Shadecaster
]]
-------------------------------------------------------------------------------
--------------------- ACHIEVEMENT: SMELLING HISTORY ---------------------------
-------------------------------------------------------------------------------
Expand Down
62 changes: 31 additions & 31 deletions plugins/11_TheWarWithin/zones/hallowfall.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local PT = ns.node.ProfessionTreasures
local Rare = ns.node.Rare
local Treasure = ns.node.Treasure

local LoreObject = ns.node.LoreObject
-- local LoreObject = ns.node.LoreObject
local SkyridingGlyph = ns.node.SkyridingGlyph

local Achievement = ns.reward.Achievement
Expand Down Expand Up @@ -1042,40 +1042,40 @@ map.nodes[42145371] = MissingLynx({
--------------------- ACHIEVEMENT: KHAZ ALGAR LORE HUNTER ---------------------
-------------------------------------------------------------------------------

map.nodes[62214557] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69383}),
Reputation({id = 2570, gain = 250})
}
}) -- A Scout's Journal
-- map.nodes[62214557] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69383}),
-- Reputation({id = 2570, gain = 250})
-- }
-- }) -- A Scout's Journal

map.nodes[71433667] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69382}),
Reputation({id = 2570, gain = 250})
}
}) -- A Tattered Note
-- map.nodes[71433667] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69382}),
-- Reputation({id = 2570, gain = 250})
-- }
-- }) -- A Tattered Note

map.nodes[78244041] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69381}),
Reputation({id = 2570, gain = 250})
}
}) -- A Weathered Tome
-- map.nodes[78244041] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69381}),
-- Reputation({id = 2570, gain = 250})
-- }
-- }) -- A Weathered Tome

map.nodes[25085371] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69380}),
Reputation({id = 2570, gain = 250})
}
}) -- A Worn Down Book
-- map.nodes[25085371] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69380}),
-- Reputation({id = 2570, gain = 250})
-- }
-- }) -- A Worn Down Book

map.nodes[25723845] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69379}),
Reputation({id = 2570, gain = 250})
}
}) -- Captain's Chest
-- map.nodes[25723845] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69379}),
-- Reputation({id = 2570, gain = 250})
-- }
-- }) -- Captain's Chest

-------------------------------------------------------------------------------
------------------------- ACHIEVEMENT: MERELDAR MENACE ------------------------
Expand Down
72 changes: 36 additions & 36 deletions plugins/11_TheWarWithin/zones/isle_of_dorn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local PT = ns.node.ProfessionTreasures
local Rare = ns.node.Rare
local Treasure = ns.node.Treasure

local LoreObject = ns.node.LoreObject
-- local LoreObject = ns.node.LoreObject
local SkyridingGlyph = ns.node.SkyridingGlyph

local Achievement = ns.reward.Achievement
Expand Down Expand Up @@ -662,41 +662,41 @@ map.nodes[71904721] = SkyridingGlyph({
--------------------- ACHIEVEMENT: KHAZ ALGAR LORE HUNTER ---------------------
-------------------------------------------------------------------------------

map.nodes[37295254] = LoreObject({
note = L['in_water'],
rewards = {
Achievement({id = 40762, criteria = 69369}),
Reputation({id = 2590, gain = 250})
}
}) -- Galan's Edict

map.nodes[44083014] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69371}),
Reputation({id = 2590, gain = 250})
}
}) -- Stone of The Unbound

map.nodes[78132785] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69370}),
Reputation({id = 2590, gain = 250})
}
}) -- Titan Console

map.nodes[57222001] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69372}),
Reputation({id = 2590, gain = 250})
}
}) -- Watcher of the North

map.nodes[42128025] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69373}),
Reputation({id = 2590, gain = 250})
}
}) -- Watcher of the South
-- map.nodes[37295254] = LoreObject({
-- note = L['in_water'],
-- rewards = {
-- Achievement({id = 40762, criteria = 69369}),
-- Reputation({id = 2590, gain = 250})
-- }
-- }) -- Galan's Edict

-- map.nodes[44083014] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69371}),
-- Reputation({id = 2590, gain = 250})
-- }
-- }) -- Stone of The Unbound

-- map.nodes[78132785] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69370}),
-- Reputation({id = 2590, gain = 250})
-- }
-- }) -- Titan Console

-- map.nodes[57222001] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69372}),
-- Reputation({id = 2590, gain = 250})
-- }
-- }) -- Watcher of the North

-- map.nodes[42128025] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69373}),
-- Reputation({id = 2590, gain = 250})
-- }
-- }) -- Watcher of the South

-------------------------------------------------------------------------------
-------------------------------- DISTURBED DIRT -------------------------------
Expand Down
72 changes: 36 additions & 36 deletions plugins/11_TheWarWithin/zones/ringing_deeps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local Rare = ns.node.Rare
local Treasure = ns.node.Treasure
local Vendor = ns.node.Vendor

local LoreObject = ns.node.LoreObject
-- local LoreObject = ns.node.LoreObject
local SkyridingGlyph = ns.node.SkyridingGlyph

local Achievement = ns.reward.Achievement
Expand Down Expand Up @@ -663,41 +663,41 @@ map.nodes[44315026] = GobblinWithGlublurp({
--------------------- ACHIEVEMENT: KHAZ ALGAR LORE HUNTER ---------------------
-------------------------------------------------------------------------------

map.nodes[39311739] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69374}),
Reputation({id = 2594, gain = 250})
}
}) -- A Skull on a Sign

map.nodes[64945614] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69378}),
Reputation({id = 2594, gain = 250})
}
}) -- Kobold Warning Sign

map.nodes[51477241] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69376}),
Reputation({id = 2594, gain = 250})
}
}) -- Submerged Sign

map.nodes[71364240] = LoreObject({
rewards = {
Achievement({id = 40762, criteria = 69375}),
Reputation({id = 2594, gain = 250})
}
}) -- Warning: Collapsed Tunnel

map.nodes[50215826] = LoreObject({
note = L['in_small_cave'],
rewards = {
Achievement({id = 40762, criteria = 69377}),
Reputation({id = 2594, gain = 250})
}
}) -- Wax-Drenched Sign
-- map.nodes[39311739] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69374}),
-- Reputation({id = 2594, gain = 250})
-- }
-- }) -- A Skull on a Sign

-- map.nodes[64945614] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69378}),
-- Reputation({id = 2594, gain = 250})
-- }
-- }) -- Kobold Warning Sign

-- map.nodes[51477241] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69376}),
-- Reputation({id = 2594, gain = 250})
-- }
-- }) -- Submerged Sign

-- map.nodes[71364240] = LoreObject({
-- rewards = {
-- Achievement({id = 40762, criteria = 69375}),
-- Reputation({id = 2594, gain = 250})
-- }
-- }) -- Warning: Collapsed Tunnel

-- map.nodes[50215826] = LoreObject({
-- note = L['in_small_cave'],
-- rewards = {
-- Achievement({id = 40762, criteria = 69377}),
-- Reputation({id = 2594, gain = 250})
-- }
-- }) -- Wax-Drenched Sign

-------------------------------------------------------------------------------
-------------------- ACHIEVEMENT: TO ALL THE SLIMES I LOVE --------------------
Expand Down

0 comments on commit 868906c

Please sign in to comment.