コード例 #1
0
 protected override bool Satisfied(Pawn pawn)
 {
     if (StaticCollectionsClass.IsHumanoidHybrid(pawn))
     {
         return(true);
     }
     return(false);
 }
 public override float RandomSelectionWeight(Pawn initiator, Pawn recipient)
 {
     if (StaticCollectionsClass.IsHumanoidHybrid(initiator) && recipient.RaceProps.Humanlike)
     {
         return(1f);
     }
     else
     {
         return(0);
     }
 }