private static void loadMacroWaypointData(XmlNodeList nodes)
 {
     foreach (XmlNode node in nodes)
     {
         string name = node.Attributes["name"].Value;
         //Dev.Log("Load Macro: " + name + " as " + node["itemLogic"].InnerText);
         LogicManager.AddMacro(name, node["itemLogic"].InnerText);
     }
 }
        private static void loadAdditiveMacroData(XmlNodeList additiveItems)
        {
            foreach (XmlNode node in additiveItems)
            {
                string name = node.Attributes["name"].Value;
                //Dev.Log("Load Macro: " + name);

                string[] additiveSet = new string[node.ChildNodes.Count];
                for (int i = 0; i < additiveSet.Length; i++)
                {
                    additiveSet[i] = node.ChildNodes[i].InnerText;
                    //Dev.Log("Load " + name + ": " + additiveSet[i]);
                }

                LogicManager.AddMacro(name, string.Join(" | ", additiveSet));
            }
        }