예제 #1
0
 // Token: 0x06006FAF RID: 28591 RVA: 0x0026C808 File Offset: 0x0026B808
 public bool CreateGraveStone()
 {
     Urnstone.KillSim killSim = this.Target.CurrentInteraction as Urnstone.KillSim;
     if (killSim != null)
     {
         killSim.CancelDeath = false;
     }
     this.mWasMemberOfActiveHousehold = (this.Target.Household == Household.ActiveHousehold);
     if (this.Target.DeathReactionBroadcast == null)
     {
         Urnstone.CreateDeathReactionBroadcaster(this.Target);
     }
     this.Actor.SynchronizationLevel  = Sim.SyncLevel.NotStarted;
     this.Target.SynchronizationLevel = Sim.SyncLevel.NotStarted;
     this.mGrave = Urnstone.CreateGrave(this.Target.SimDescription, true, false);
     if (this.mGrave == null)
     {
         return(false);
     }
     this.mDeadSimsHousehold = this.Target.Household;
     this.mGrave.AddToUseList(this.Actor);
     this.mSituation.LastGraveCreated = this.mGrave;
     this.mDeathProgress = GrimReaperSituation.ReapSoul.DeathProgress.GraveCreated;
     return(true);
 }