public override ThinkNode DeepCopy(bool resolve = true) { JobGiver_RescueNearby obj = (JobGiver_RescueNearby)base.DeepCopy(resolve); obj.radius = radius; return(obj); }
public static void SearchForWorkRescueFallen(List <Pawn> pawns) { foreach (var pawn in pawns) { var jg = new JobGiver_RescueNearby(); var result = jg.TryIssueJobPackage(pawn, default(JobIssueParams)); if (result.Job != null) { pawn.jobs.TryTakeOrderedJob(result.Job); } } }