Graphic by Hediff - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

CompGraphicByHediff makes an animal change graphic when it has a hediff

    public HediffDef hediffDef;
    [NoTranslate]
    public string newImagePath;
    [NoTranslate]
    public string maskPath = null;
    public bool changeDesiccatedGraphic = false;
    public string dessicatedTxt;
    public int changeGraphicsInterval = 2000;

    //If true graphicData uses CutoutComplex instead of Cutout

    public bool useCutoutComplex = false;

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag.

⚠️ **GitHub.com Fallback** ⚠️