2022-11-20 16:33:50 +00:00
|
|
|
|
using rjw;
|
|
|
|
|
using Verse;
|
|
|
|
|
|
|
|
|
|
namespace RJW_Genes
|
|
|
|
|
{
|
|
|
|
|
public class RJW_Gene : Gene
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public override void PostMake()
|
|
|
|
|
{
|
|
|
|
|
base.PostMake();
|
|
|
|
|
if (GenitaliaUtility.PawnStillNeedsGenitalia(pawn))
|
|
|
|
|
Sexualizer.sexualize_pawn(pawn);
|
|
|
|
|
}
|
2023-04-27 00:56:55 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Executed via PawnGenerator.GenerateGenes at Pawn generation
|
|
|
|
|
/// Allows for execution of code that should only happen during PawnGeneration
|
2023-04-30 08:06:53 +00:00
|
|
|
|
///
|
|
|
|
|
/// This has an accompanying patch `Patch_AddNotifyOnGeneration.cs`.
|
2023-04-27 00:56:55 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual void Notify_OnPawnGeneration()
|
|
|
|
|
{
|
|
|
|
|
}
|
2022-11-20 16:33:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|