mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Change VariousDefOf to RsDefOf
Fix some IDE messages
This commit is contained in:
parent
8a48d2e463
commit
67c2328ad6
23 changed files with 196 additions and 162 deletions
|
@ -27,7 +27,7 @@ namespace RJWSexperience
|
|||
public static float GetSexStat(this Pawn pawn)
|
||||
{
|
||||
if (xxx.is_human(pawn) && !pawn.Dead)
|
||||
return pawn.GetStatValue(VariousDefOf.SexAbility);
|
||||
return pawn.GetStatValue(RsDefOf.Stat.SexAbility);
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ namespace RJWSexperience
|
|||
/// </summary>
|
||||
public static bool IsVirgin(this Pawn pawn)
|
||||
{
|
||||
return pawn.records.GetValue(VariousDefOf.VaginalSexCount) == 0;
|
||||
return pawn.records.GetValue(RsDefOf.Record.VaginalSexCount) == 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue