Module:Attributes

local itemreward = "" -- formats item name for i = 1, table.getn(contact) do       itemreward = contact[i] if string.find(itemreward, "%(Pride%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Pride%)") - 2) .. " "       elseif string.find(itemreward, "%(Greed%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Greed%)") - 2) .. " "       elseif string.find(itemreward, "%(Envy%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Envy%)") - 2) .. " "       elseif string.find(itemreward, "%(Wrath%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Wrath%)") - 2) .. " "       elseif string.find(itemreward, "%(Lust%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Lust%)") - 2) .. " "       elseif string.find(itemreward, "%(Gluttony%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Gluttony%)") - 2) .. " "       elseif string.find(itemreward, "%(Sloth%)") then contact[i] = itemreward .. string.sub(itemreward, 1, string.find(itemreward, "%(Sloth%)") - 2) .. " "       end end