I want command to return list of hediffs or let me know if pawn has specific hediff in cs code. I can write a search if I have a list.
Can you direct me spot with list of functions that can be called on pawn or tell how to do (if pawn has hediff with def = x)
x will be specific condition def
Sorry no clue about it.
But i would look at the vanilla code of the health window.
Normaly all hediff are listed there.