4,951
edits
Falterfire (talk | contribs) (Fixed slayer shop list thing for other table) |
Falterfire (talk | contribs) (Adding manual overrides for the first two lore books) |
||
Line 293: | Line 293: | ||
end | end | ||
end | end | ||
--Add the Fire Cape | --Add the special exceptions for Fire/Infernal Cape + lore books | ||
if item.name == 'Fire Cape' then | if item.name == 'Fire Cape' or item.id == 950 then | ||
if string.len(dungeonStr) > 0 then | if string.len(dungeonStr) > 0 then | ||
dungeonStr = dungeonStr..',' | dungeonStr = dungeonStr..',' | ||
Line 301: | Line 301: | ||
end | end | ||
dungeonStr = dungeonStr..Icons.Icon({"Volcanic Cave", type="dungeon", notext=true}) | dungeonStr = dungeonStr..Icons.Icon({"Volcanic Cave", type="dungeon", notext=true}) | ||
elseif item.name == 'Infernal Cape' then | elseif item.name == 'Infernal Cape' or item.id == 951 then | ||
if string.len(dungeonStr) > 0 then | if string.len(dungeonStr) > 0 then | ||
dungeonStr = dungeonStr..',' | dungeonStr = dungeonStr..',' | ||
Line 591: | Line 591: | ||
end | end | ||
--Special exception for the Fire Cape as | --Special exception for the Fire/Infernal Cape and first two lore books as bonus dungeon drops | ||
if item.name == 'Fire Cape' then | if item.name == 'Fire Cape' or item.id == 950 then | ||
local sourceTxt = Icons.Icon({"Volcanic Cave", type="dungeon", notext=true}) | local sourceTxt = Icons.Icon({"Volcanic Cave", type="dungeon", notext=true}) | ||
table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100}) | table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100}) | ||
elseif item.name == 'Infernal Cape' then | elseif item.name == 'Infernal Cape' or item.id == 951 then | ||
local sourceTxt = Icons.Icon({"Infernal Stronghold", type="dungeon", notext=true}) | local sourceTxt = Icons.Icon({"Infernal Stronghold", type="dungeon", notext=true}) | ||
table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100}) | table.insert(dropRows, {source = sourceTxt, type = '[[Dungeon]]', minqty = 1, qty = 1, chance = 100}) |