private void Resurrect() { Pawn innerPawn = Corpse.InnerPawn; ResurrectionUtility.ResurrectWithSideEffects(innerPawn); Messages.Message("MessagePawnResurrected".Translate(innerPawn), innerPawn, MessageTypeDefOf.PositiveEvent); Item.SplitOff(1).Destroy(); }
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); }