/* skill_num.c 2/14/93 ask Dank */
string *skill_names;
int skill_num(string skill) {
if (!skill_names)
skill_names = ({ "null", "sharp", "blunt", "piercing", "unarmed", "parry",
"str", "melee", "carry", "tackle", "bend", "lift", "smithing", "swimming",
"jumping", "dex", "reactiontime", "dodging", "thief", "stealth", "pickpocket",
"hide", "openlock", "findtrap", "removetrap", "backstab", "climb", "missile",
"thrown", "longbow", "shortbow", "crossbow", "sling", "rope", "con",
"bpbonus", "stamina", "systemshock", "poisonresist", "int", "perception",
"resistillusion", "magespells", "mageillumination", "mageshadow",
"magenecromantic", "mageelemental", "mageprotection", "magecure", "mageharm",
"magesorcery", "magebeast", "mageconjure", "makingmageitems", "magerod",
"magestaff", "magewand", "magescroll", "magepotion", "languages", "occult",
"chant", "brew", "dance", "magecraft", "appraise", "art", "gems", "monster",
"treasure", "weapon", "armour", "jewelry", "depth", "tracking", "hunting",
"fishing", "wis", "resistenchant", "priestspells", "priestillumination",
"priestshadow", "priestnecromantic", "priestelemental", "priestprotection",
"priestcure", "priestharm", "priestsorcery", "priestbeast", "priestconjure",
"makingpriestitems", "priestrod", "prieststaff", "priestwand", "priestscroll",
"priestpotion", "firstaid", "priestcraft", "religion", "cha", "alignment",
"loyalty", "persuasion", "artistic", "song", "disguise" });
return member_array(skill, skill_names);
}