Ejemplo n.º 1
0
 public LordJob_Sermon(BuildingAltar altar, bool isMorningPrayer = true)
 {
     this.altar = altar;
     if (this.altar != null)
     {
         this.initialPosition = (WatchBuildingUtility.CalculateWatchCells(altar.def, altar.Position, altar.Rotation, altar.Map)).RandomElement();
     }
     else
     {
         this.initialPosition = IntVec3.Invalid;
     }
     this.isMorningPrayer = isMorningPrayer;
 }
Ejemplo n.º 2
0
 public LordToil_StartSermom(Pawn preacher, BuildingAltar altar)
 {
     this.preacher = preacher;
     this.altar    = altar;
 }