Example #1
0
        private void Resurrect()
        {
            Pawn innerPawn = Corpse.InnerPawn;

            ResurrectionUtility.ResurrectWithSideEffects(innerPawn);
            Messages.Message("MessagePawnResurrected".Translate(innerPawn), innerPawn, MessageTypeDefOf.PositiveEvent);
            Item.SplitOff(1).Destroy();
        }
Example #2
0
        private void Resurrect()
        {
            Pawn innerPawn = this.Corpse.InnerPawn;

            ResurrectionUtility.ResurrectWithSideEffects(innerPawn);
            Messages.Message("MessagePawnResurrected".Translate(innerPawn).CapitalizeFirst(), innerPawn, MessageTypeDefOf.PositiveEvent, true);
            this.Item.SplitOff(1).Destroy(DestroyMode.Vanish);
        }