17,101
edits
Falterfire (talk | contribs) (Fixed indenting) |
(Amend incomplete category & indentation) |
||
Line 155: | Line 155: | ||
end | end | ||
if patches == nil then | if patches == nil then | ||
return "ERROR: Invalid area name.[[Category:Pages with script errors" | return "ERROR: Invalid area name.[[Category:Pages with script errors]]" | ||
end | end | ||
Line 211: | Line 211: | ||
table.sort(smithList, function(a, b) | table.sort(smithList, function(a, b) | ||
if a.smithingLevel ~= b.smithingLevel then | |||
return a.smithingLevel < b.smithingLevel | |||
else | |||
return a.name < b.name | |||
end end) | |||
for i, item in Shared.skpairs(smithList) do | for i, item in Shared.skpairs(smithList) do | ||
result = result..'\r\n|-' | result = result..'\r\n|-' |