// Function from file: pipes.dm
        public override void nullifyNode(double I = 0)
        {
            Obj_Machinery_Atmospherics oldN = null;

            oldN = this.nodes[I];
            base.nullifyNode(I);

            if (oldN != null)
            {
                oldN.build_network();
            }
            return;
        }
Example #2
0
        // Function from file: air.dm
        public void setup_pipenets(double?z_level = null)
        {
            Obj_Machinery_Atmospherics AM = null;


            foreach (dynamic _a in Lang13.Enumerate(this.atmos_machinery, typeof(Obj_Machinery_Atmospherics)))
            {
                AM = _a;


                if (Lang13.Bool(z_level) && AM.z != z_level)
                {
                    continue;
                }
                AM.build_network();
            }
            return;
        }