title: compiler is throwing me an error i cannot trace
body: <p>error is: Function and definition differ</p>
  
  <pre><code>int GetItemBaseMaterialType(string sItem)//uses resrefs
  {
  string sMaterial = GetSubString(sItem, 9,3);
  if(sMaterial == "ada") return 1;
  if(sMaterial == "drk") return 3;
  if(sMaterial == "mth" || sItem == "nx1_breastplate01" | "nw_maarcl037" | "nx1_chainmail01") return 5;
  if(sMaterial == "rdh") return 9;
  if(sMaterial == "slh") return 10
  if(sMaterial == "uhh") return 11;
  if(sMaterial == "wyh") return 12;
  
  }
  </code></pre>
  
  <p>point of function is to return an int based on a string passed to the function; adding more strings so not in a hurry to resolve this</p>
  
  <p>thanks in advance</p>