mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Simplified virginity checks
Updated names in the SexHistoryComp
This commit is contained in:
parent
67c2328ad6
commit
ab485c677f
7 changed files with 83 additions and 86 deletions
|
@ -1,5 +1,4 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience.Virginity
|
||||
|
@ -46,6 +45,10 @@ namespace RJWSexperience.Virginity
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remove virginity trait and spawn blood filth if applicable
|
||||
/// </summary>
|
||||
/// <returns>Degree of the removed trait</returns>
|
||||
public static int? RemoveVirginTrait(Pawn pawn)
|
||||
{
|
||||
Trait virgin = pawn.story?.traits?.GetTrait(RsDefOf.Trait.Virgin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue