rjw-genes/Source/Genes/GenitaliaSize/Gene_TightAnus.cs

28 lines
545 B
C#
Raw Normal View History

using Verse;
using rjw;
using System;
namespace RJW_Genes
{
public class Gene_TightAnus : Gene
{
public override void PostMake()
{
base.PostMake();
if (GenitaliaUtility.PawnStillNeedsGenitalia(pawn))
Sexualizer.sexualize_pawn(pawn);
SizeAdjuster.AdjustAllAnusSizes(pawn, 0.5f, 1.0f);
}
public override void PostAdd()
{
base.PostAdd();
SizeAdjuster.AdjustAllAnusSizes(pawn, 0.5f, 1.0f);
}
}
}