public override void UpdateAllDuties() { LordToilData_Stage data = Data; for (int i = 0; i < lord.ownedPawns.Count; i++) { lord.ownedPawns[i].mindState.duty = new PawnDuty(DutyDefOf.Defend, data.stagingPoint); lord.ownedPawns[i].mindState.duty.radius = 28f; } }
public LordToil_Stage(IntVec3 stagingLoc) { data = new LordToilData_Stage(); Data.stagingPoint = stagingLoc; }