예제 #1
0
        // Function from file: other_reagents.dm
        public override void reaction_turf(dynamic T = null, double?volume = null)
        {
            Obj_Effect_Decal_Cleanable    C = null;
            Mob_Living_SimpleAnimal_Slime M = null;


            if ((volume ?? 0) >= 1)
            {
                ((Ent_Static)T).clean_blood();

                foreach (dynamic _a in Lang13.Enumerate(T, typeof(Obj_Effect_Decal_Cleanable)))
                {
                    C = _a;

                    GlobalFuncs.qdel(C);
                }

                foreach (dynamic _b in Lang13.Enumerate(T, typeof(Mob_Living_SimpleAnimal_Slime)))
                {
                    M = _b;

                    M.adjustToxLoss(Rand13.Int(5, 10));
                }
            }
            return;
        }
예제 #2
0
        // Function from file: pyrotechnic_reagents.dm
        public override void reaction_turf(dynamic T = null, double?volume = null)
        {
            Mob_Living_SimpleAnimal_Slime M = null;


            if ((volume ?? 0) >= 5)
            {
                foreach (dynamic _a in Lang13.Enumerate(T, typeof(Mob_Living_SimpleAnimal_Slime)))
                {
                    M = _a;

                    M.adjustToxLoss(Rand13.Int(15, 30));
                }
            }
            return;
        }
예제 #3
0
        // Function from file: corpse.dm
        public override void createCorpse(bool death = false, string ckey = null)
        {
            dynamic A = null;
            Mob_Living_SimpleAnimal_Slime M = null;

            A = Lang13.FindIn(typeof(Mob_Living_SimpleAnimal_Slime), this.loc);

            if (Lang13.Bool(A))
            {
                return;
            }
            M        = new Mob_Living_SimpleAnimal_Slime(this.loc);
            M.colour = this.mobcolour;
            M.adjustToxLoss(9001);
            GlobalFuncs.qdel(this);
            return;
        }