Module:Items/SourceTables: Difference between revisions

changed a couple field names
(added a p.getItemMonsterSources for use in a table for Mazunki)
(changed a couple field names)
Line 987: Line 987:
if chance > 0 then
if chance > 0 then
-- Item drops when the monster is killed
-- Item drops when the monster is killed
table.insert(resultArray, {monster = monster.id, chance = chance, weight = weight, minQty = minQty, maxQty = maxQty})
table.insert(resultArray, {id = monster.id, dropWt = chance, totalWt = weight, minQty = minQty, maxQty = maxQty})
end
end
end
end