Hi guys, i am currently trying to update some of my personal mods and i ran into some problems with function names since i skipped a few version. It would be great if you guys can point me in the right direction.
1. All the function that requires map as parameter i can just used this.map or this.wearer.map right?
2. Faction.ofColony is Faction.ofPlayer now right?
3. What happened to HediffSet.RestorePart? How do i heal missing part now?
4. What happened to listerPawn.PawnsHostileToColony? I know is this.map.mapPawns now, but it lack any function to detect hostile.
5. How do i get the SoundInfo for the function PlayOneShot? Do i just make a new empty SoundInfo?
Thanks for the help in advance.
1. All the function that requires map as parameter i can just used this.map or this.wearer.map right?
2. Faction.ofColony is Faction.ofPlayer now right?
3. What happened to HediffSet.RestorePart? How do i heal missing part now?
4. What happened to listerPawn.PawnsHostileToColony? I know is this.map.mapPawns now, but it lack any function to detect hostile.
5. How do i get the SoundInfo for the function PlayOneShot? Do i just make a new empty SoundInfo?
Thanks for the help in advance.