Esempio n. 1
0
 private bool CompareQuality(Item a_item)
 {
     // Used to compare the item the player currently has against the problems that are currently wrong with it.
     // Currently compares all the qualites that the problem can have. Needs to be changed to the actuve one.
     foreach (E_Quality itemquality in a_item.m_fixableQuality)
     {
         if (m_currentProblem.GetQuality() == itemquality)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     return(false); // If you hit this then there is a problem.
 }