4,951
edits
(_getItemSources/_getItemLootSourceTable: Refactor monster drops code) |
Falterfire (talk | contribs) (Added brute force overrides for Gold Topaz Ring and Signet Ring Halves) |
||
Line 566: | Line 566: | ||
if Shared.contains(Items.EasterEggs, item.name) then | if Shared.contains(Items.EasterEggs, item.name) then | ||
table.insert(lineArray, '[[Easter Eggs]]') | table.insert(lineArray, '[[Easter Eggs]]') | ||
end | |||
--Gold Topaz Ring drops from any action (when not wearing a Gold Topaz Ring) | |||
--Also handling Signet Ring things here | |||
if item.name == 'Gold Topaz Ring' then | |||
table.insert(lineArray, 'Any non-combat action if not worn (Instead of '..Icons.Icon({"Signet Ring Half (a)", type="item"})..')') | |||
table.insert(lineArray, 'Killing any monster if not worn (Instead of '..Icons.Icon({"Signet Ring Half (b)", type="item"})..')') | |||
elseif item.name == 'Signet Ring Half (a)' then | |||
table.insert(lineArray, 'Any non-combat action while wearing '..Icons.Icon({'Gold Topaz Ring', type='item'})) | |||
elseif item.name == 'Signet Ring Half (b)' then | |||
table.insert(lineArray, 'Killing any monster while wearing '..Icons.Icon({'Gold Topaz Ring', type='item'})) | |||
end | end | ||