Greetings fine folks of the Ludeon Forums. I've worked hard behind the scenes developing a rather large mod, but one of the bits requires me to add a specific Hediff that I created to a pawn when it spawns.
It's rather necessary because it gives all sorts of nice things to it like pain immunity plus immunity to a ton of diseases, oh and it would last pretty much forever.
I got that bit to work, but the part that betrays me is the actual addition. I cannot reliably add the Hediff to that one race of pawns whenever they spawn, and I must admit that after much googling, I am stumped.
So I ask of you, more experienced mod developers to come to my aid and help bring this mod ever closer to release...!
...By telling me how to do it
TL DR: "Dude spawns" -> "Spawns with Hediff/Gets Hediff added instantly"
Have a fine day!
It's rather necessary because it gives all sorts of nice things to it like pain immunity plus immunity to a ton of diseases, oh and it would last pretty much forever.
I got that bit to work, but the part that betrays me is the actual addition. I cannot reliably add the Hediff to that one race of pawns whenever they spawn, and I must admit that after much googling, I am stumped.
So I ask of you, more experienced mod developers to come to my aid and help bring this mod ever closer to release...!
...By telling me how to do it
TL DR: "Dude spawns" -> "Spawns with Hediff/Gets Hediff added instantly"
Have a fine day!