mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
26 lines
669 B
C#
26 lines
669 B
C#
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Executed via PawnGenerator.GenerateGenes at Pawn generation
|
|
/// Allows for execution of code that should only happen during PawnGeneration
|
|
///
|
|
/// This has an accompanying patch `Patch_AddNotifyOnGeneration.cs`.
|
|
/// </summary>
|
|
public virtual void Notify_OnPawnGeneration()
|
|
{
|
|
}
|
|
}
|
|
}
|