public override ThinkNode DeepCopy(bool resolve = true)
        {
            JobGiver_TendWounded obj = (JobGiver_TendWounded)base.DeepCopy(resolve);

            obj.radius = radius;
            return(obj);
        }
Exemplo n.º 2
0
 public static void SearchForWorkTendWounded(List <Pawn> pawns)
 {
     foreach (var pawn in pawns)
     {
         var jg     = new JobGiver_TendWounded();
         var result = jg.TryIssueJobPackage(pawn, default(JobIssueParams));
         if (result.Job != null)
         {
             pawn.jobs.TryTakeOrderedJob(result.Job);
         }
     }
 }