mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
1.1.2.0
This commit is contained in:
parent
5dcca34ee7
commit
442f2870e0
43 changed files with 708 additions and 9 deletions
|
@ -9,14 +9,14 @@ namespace RJWSexperience
|
|||
[HarmonyPatch(typeof(PawnGenerator), "GeneratePawn", new Type[] { typeof(PawnGenerationRequest) })]
|
||||
public static class Rimworld_Patch_GeneratePawn
|
||||
{
|
||||
public static void Postfix(PawnGenerationRequest request, ref Pawn __result)
|
||||
public static void Postfix(ref Pawn __result)
|
||||
{
|
||||
if (__result == null)
|
||||
return;
|
||||
|
||||
bool doVirginTrait = true;
|
||||
|
||||
if (SexperienceMod.Settings.History.EnableRecordRandomizer && !request.Newborn && xxx.is_human(__result))
|
||||
if (SexperienceMod.Settings.History.EnableRecordRandomizer && __result.DevelopmentalStage != DevelopmentalStage.Newborn && xxx.is_human(__result))
|
||||
doVirginTrait = SexHistory.RecordRandomizer.Randomize(__result);
|
||||
|
||||
if (doVirginTrait)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue