Anonymous

Module:Items/UseTables: Difference between revisions

From Melvor Idle
Add stealth and releasable souls
(Re-implement modifier skill checks, and clean up itemUseArray accordingly)
(Add stealth and releasable souls)
Line 168: Line 168:
end
end
end
end
end
if item.modifiers.thievingStealth ~= nil then
addUse('melvorD:Thieving')
end
end
end
end
Line 305: Line 308:
if item.prayerPoints ~= nil then
if item.prayerPoints ~= nil then
table.insert(categoryArray, '[[Category:Buriable Items]]')
table.insert(categoryArray, '[[Category:Buriable Items]]')
if not hasUse('melvorD:Prayer') then
addUse('melvorD:Prayer')
end
elseif item.soulPoints ~= nil then
table.insert(categoryArray, '[[Category:Releasable Items]]')
if not hasUse('melvorD:Prayer') then
if not hasUse('melvorD:Prayer') then
addUse('melvorD:Prayer')
addUse('melvorD:Prayer')
239

edits