mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Added a Gene for Specified Sex using RJW Logic
This commit is contained in:
parent
bf4303177e
commit
95fc9b89a0
42 changed files with 318 additions and 186 deletions
|
@ -79,5 +79,14 @@ namespace RJW_Genes
|
|||
return candidate.def.defName.ToLower().Contains("bionic") || candidate.def.defName.ToLower().Contains("archo");
|
||||
}
|
||||
|
||||
public static void RemoveAllGenitalia(Pawn pawn)
|
||||
{
|
||||
var parts = Genital_Helper.get_AllPartsHediffList(pawn);
|
||||
foreach (var part in parts)
|
||||
{
|
||||
pawn.health.RemoveHediff(part);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue