Example #1
0
 public bool HasQuestItem()
 {
     if (m_QuestHandler.m_QuestItem == "Brown Mushrooms")
     {
         m_MessageHandler.ShowMessage(transform, "Jim", "Thanks for bringing me these brown mushrooms!");
         m_QuestHandler.ResetQuestItem();
         return(true);
     }
     else if (m_QuestHandler.m_QuestItem == "Canoe Paddle")
     {
         m_MessageHandler.ShowMessage(transform, "Jim", "It was on top of the tree?!?! Thanks for getting it for me.");
         m_QuestHandler.ResetQuestItem();
         return(true);
     }
     return(false);
 }