Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Added a manual override for Deadly Toxins Potion
(_getItemSources: Avoid listing Thieving NPCs twice should an item drop as both an area unique & from NPC's loot table)
(Added a manual override for Deadly Toxins Potion)
Line 587: Line 587:
elseif item.id == 'melvorD:Signet_Ring_Half_B' then
elseif item.id == 'melvorD:Signet_Ring_Half_B' then
table.insert(lineArray, 'Killing any monster while wearing '..Icons.Icon({'Gold Topaz Ring', type='item'}))
table.insert(lineArray, 'Killing any monster while wearing '..Icons.Icon({'Gold Topaz Ring', type='item'}))
elseif item.id == 'melvorTotH:Deadly_Toxins_Potion' then
--Adding a special override for Deadly Toxins potions
table.insert(lineArray, 'Brewing [[Lethal Toxins Potion]]s while wearing '..Icons.Icon({'Toxic Makers Gloves', type='item'}))
end
end