Exemplo n.º 1
0
        public bool CheckCompleted(Mobile m, bool delete)
        {
            for (int i = 0; i < m_Quests.Count; i += 1)
            {
                HeritageQuestInfo info = m_Quests[i];

                if (!info.Check((PlayerMobile)m, delete))
                {
                    return(false);
                }
            }

            return(true);
        }
Exemplo n.º 2
0
        public List <object> FindIncompleted(Mobile m)
        {
            List <object> incomplete = new List <object>();

            incomplete.Add(IncompleteMessage);

            for (int i = 0; i < m_Quests.Count; i += 1)
            {
                HeritageQuestInfo info = m_Quests[i];

                if (!info.Check((PlayerMobile)m))
                {
                    incomplete.Add(info.Title);
                }
            }

            return(incomplete);
        }