29
edits
m (Padding for mining mastery requirement) |
Supersting (talk | contribs) (Adding expansion icon to monster drop table, if the code is good.) |
||
Line 662: | Line 662: | ||
local monster = GameData.getEntityByID('monsters', drop.id) | local monster = GameData.getEntityByID('monsters', drop.id) | ||
if monster ~= nil then | if monster ~= nil then | ||
table.insert(dropRows, {source = Icons.Icon({monster.name, type='monster'}), type = '[[Monster]]', minqty = drop.minQty, qty = drop.maxQty, weight = drop.dropWt, totalWeight = drop.totalWt}) | table.insert(dropRows, {source = Icons.getExpansionIcon(drop.id) .. Icons.Icon({monster.name, type='monster'}), type = '[[Monster]]', minqty = drop.minQty, qty = drop.maxQty, weight = drop.dropWt, totalWeight = drop.totalWt}) | ||
end | end | ||
end | end |
edits