コード例 #1
0
        // Function from file: anomaly.dm
        public override bool start(  )
        {
            dynamic T = null;

            T = GlobalFuncs.safepick(GlobalFuncs.get_area_turfs(this.impact_area));

            if (Lang13.Bool(T))
            {
                this.newAnomaly = new Obj_Effect_Anomaly_Flux(T);
            }
            return(false);
        }
コード例 #2
0
        // Function from file: signaler.dm
        public override bool receive_signal(Signal signal = null, bool?receive_method = null, dynamic receive_param = null)
        {
            Obj_Effect_Anomaly A = null;


            if (!(signal != null))
            {
                return(false);
            }

            if (signal.encryption != this.code)
            {
                return(false);
            }

            foreach (dynamic _a in Lang13.Enumerate(GlobalFuncs.get_turf(this), typeof(Obj_Effect_Anomaly)))
            {
                A = _a;

                A.anomalyNeutralize();
            }
            return(false);
        }