HasSkill(id)
set background = 1
for(var/skill/skill in skills)
if(skill.id == id)
return 1
return 0
Basically this proc goes through a players list of skills and returns 1 if the id matches. I was wondering if there was a more efficient way of doing, maybe without using for()?