Beispiel #1
0
        public bool CheckCompleted(Mobile m, bool delete)
        {
            for (int i = 0; i < m_Quests.Count; i += 1)
            {
                IHeritageQuestInfo info = m_Quests[i];

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

            return(true);
        }
Beispiel #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)
            {
                IHeritageQuestInfo info = m_Quests[i];

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

            return(incomplete);
        }