Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Added abyssal level support for Thieving Loot sources
(Ceil Summoning recipes and fixed max abyssal recipe costs; Fixes for Abyssal Level/XP;)
(Added abyssal level support for Thieving Loot sources)
Line 946: Line 946:
sourceTxt = Icons.Icon({thiefRow.npc, type='thieving'})
sourceTxt = Icons.Icon({thiefRow.npc, type='thieving'})
end
end
local levelNum = thiefRow.abyssalLevel or thiefRow.level
local isAbyssal = thiefRow.abyssalLevel ~= nil
table.insert(dropRows, {
table.insert(dropRows, {
source = sourceTxt,  
source = sourceTxt,
level = Icons._SkillReq("Thieving", thiefRow.level),
level = Icons._GetSkillReq("Thieving", levelNum, false, isAbyssal),
levelNum = thiefRow.level,
levelNum = levelNum,
minqty = thiefRow.minQty,  
minqty = thiefRow.minQty,  
qty = thiefRow.maxQty,  
qty = thiefRow.maxQty,