public override void WriteXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            if (ItemText != null)
            {
                ele.TryPathTo("ItemText", true, out subEle);
                ItemText.WriteXML(subEle, master);
            }
            if (ResultText != null)
            {
                ele.TryPathTo("ResultText", true, out subEle);
                ResultText.WriteXML(subEle, master);
            }
            if (Flags != null)
            {
                ele.TryPathTo("Flags", true, out subEle);
                Flags.WriteXML(subEle, master);
            }
            if (DisplayNote != null)
            {
                ele.TryPathTo("DisplayNote", true, out subEle);
                DisplayNote.WriteXML(subEle, master);
            }
            if (SubMenu != null)
            {
                ele.TryPathTo("SubMenu", true, out subEle);
                SubMenu.WriteXML(subEle, master);
            }
            if (Script != null)
            {
                ele.TryPathTo("Script", true, out subEle);
                Script.WriteXML(subEle, master);
            }
            if (Conditions != null)
            {
                ele.TryPathTo("Conditions", true, out subEle);
                foreach (var entry in Conditions)
                {
                    XElement newEle = new XElement("Condition");
                    entry.WriteXML(newEle, master);
                    subEle.Add(newEle);
                }
            }
        }