public override bool StateCanOccur(Pawn pawn)
 {
     return(base.StateCanOccur(pawn) && pawn.isOrkoid() && StarvingOrkoidMentalStateUtility.FindPawnToEat(pawn) != null && pawn.needs.food.Starving);
 }
Esempio n. 2
0
 private bool TryFindNewTarget()
 {
     this.target = StarvingOrkoidMentalStateUtility.FindPawnToEat(this.pawn);
     return(this.target != null);
 }