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; }
public LordToil_StartSermom(Pawn preacher, BuildingAltar altar) { this.preacher = preacher; this.altar = altar; }