Ludeon Forums

RimWorld => Mods => Help => Topic started by: Falk81 on December 02, 2021, 12:14:02 AM

Title: How to do (if pawn has hediff with def = x)
Post by: Falk81 on December 02, 2021, 12:14:02 AM
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
Title: Re: How to do (if pawn has hediff with def = x)
Post by: Canute on December 02, 2021, 03:35:12 AM
Sorry no clue about it.
But i would look at the vanilla code of the health window.
Normaly all hediff are listed there.