コード例 #1
0
        // Function from file: alien.dm
        public virtual void alien_evolve(Mob_Living_Carbon_Alien_Humanoid_Royal new_xeno = null)
        {
            this.WriteMsg("<span class='noticealien'>You begin to evolve!</span>");
            this.visible_message("<span class='alertalien'>" + this + " begins to twist and contort!</span>");

            if (this.mind != null)
            {
                this.mind.transfer_to(new_xeno);
            }
            GlobalFuncs.qdel(this);
            return;
        }
コード例 #2
0
        // Function from file: humanoid.dm
        public override void alien_evolve(Mob_Living_Carbon_Alien_Humanoid_Royal new_xeno = null)
        {
            Ent_Dynamic A = null;

            this.drop_l_hand();
            this.drop_r_hand();

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

                this.stomach_contents.Remove(A);
                new_xeno.stomach_contents.Add(A);
                A.loc = new_xeno;
            }
            base.alien_evolve(new_xeno);
            return;
        }