Пример #1
0
        public override void GetProperties(ObjectPropertyList list)
        {
            base.GetProperties(list);

            list.Add(1155708, m_Owner != null ? m_Owner : "Unknown"); // Hunter: ~1_NAME~
            list.Add(1155709, DateKilled);                            // Date of Kill: ~1_DATE~

            if (m_Location != null)
            {
                list.Add(1061114, m_Location); // Location: ~1_val~
            }
            list.Add(1155718, Species.ToString());

            if (MeasuredBy == MeasuredBy.Length)
            {
                list.Add(1155711, MeasuredBy.ToString()); // Length: ~1_VAL~
            }
            else if (MeasuredBy == MeasuredBy.Wingspan)
            {
                list.Add(1155710, MeasuredBy.ToString());       // Wingspan: ~1_VAL~
            }
            else
            {
                list.Add(1072225, MeasuredBy.ToString()); // Weight: ~1_WEIGHT~ stones
            }
        }