Exemplo n.º 1
0
        // Function from file: narsie.dm
        public override void mezzer(  )
        {
            Mob_Living_Carbon M = null;


            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewersExcludeThis(this, 8), typeof(Mob_Living_Carbon)))
            {
                M = _a;


                if (M.stat == 0)
                {
                    if (!GlobalFuncs.iscultist(M))
                    {
                        M.WriteMsg("<span class='cultsmall'>You feel conscious thought crumble away in an instant as you gaze upon " + this.name + "...</span>");
                        M.apply_effect(3, "stun");
                    }
                }
            }
            return;
        }
Exemplo n.º 2
0
        // Function from file: singularity.dm
        public virtual void mezzer(  )
        {
            Mob_Living_Carbon         M  = null;
            Mob_Living_Carbon         H  = null;
            Obj_Item_Clothing_Glasses MS = null;


            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewersExcludeThis(this, 8), typeof(Mob_Living_Carbon)))
            {
                M = _a;


                if (M is Mob_Living_Carbon_Brain)
                {
                    continue;
                }

                if (M.stat == 0)
                {
                    if (M is Mob_Living_Carbon_Human)
                    {
                        H = M;

                        if (((dynamic)H).glasses is Obj_Item_Clothing_Glasses_Meson)
                        {
                            MS = ((dynamic)H).glasses;

                            if (MS.vision_flags == GlobalVars.SEE_TURFS)
                            {
                                H.WriteMsg("<span class='notice'>You look directly into the " + this.name + ", good thing you had your protective eyewear on!</span>");
                                return;
                            }
                        }
                    }
                }
                M.apply_effect(3, "stun");
                M.visible_message("<span class='danger'>" + M + " stares blankly at the " + this.name + "!</span>", "<span class='userdanger'>You look directly into the " + this.name + " and feel weak.</span>");
            }
            return;
        }