Exemplo n.º 1
0
        // Function from file: ripley.dm
        public override dynamic Destroy(  )
        {
            int?        i = null;
            Ent_Dynamic A = null;

            i = null;
            i = 1;

            while ((i ?? 0) <= (this.hides ?? 0))
            {
                new Obj_Item_Asteroid_GoliathHide(this.loc);
                i++;
            }
            this.damage_absorption["brute"] = Lang13.InitialBroken(this.damage_absorption["brute"]);

            foreach (dynamic _a in Lang13.Enumerate(this.cargo, typeof(Ent_Dynamic)))
            {
                A = _a;

                A.loc = this.loc;
                Map13.StepRandom(A);
            }
            this.cargo.Cut();
            return(base.Destroy());
        }