4,951
edits
Falterfire (talk | contribs) m (typing is hard) |
Falterfire (talk | contribs) (Slightly tweaked formatting of p.getCombatPassiveSlotItems (also created getBonesTable but ended up putting that in Module:Prayer)) |
||
Line 893: | Line 893: | ||
table = table..'!colspan="2"|Item\r\n! Passive\r\n' | table = table..'!colspan="2"|Item\r\n! Passive\r\n' | ||
for i, item in | local itemArray = Items.getItems(function(item) return item.isPassiveItem and true or false end) | ||
for i, item in Shared.skpairs(itemArray) do | |||
table = table..'|-\r\n' | |||
table = table..'! '..Icons.Icon({item.name, type='item', notext='true'})..'\r\n! [['..item.name..']]\r\n' | |||
table = table..'| '..item.description..'\r\n' | |||
end | end | ||