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
|
@ -74,7 +74,7 @@ namespace RJWSexperience
|
|||
|
||||
public static void UpdateLust(SexProps props, float satisfaction, float baseSatisfaction)
|
||||
{
|
||||
float? lust = props.pawn.records?.GetValue(VariousDefOf.Lust);
|
||||
float? lust = props.pawn.records?.GetValue(RsDefOf.Record.Lust);
|
||||
|
||||
if (lust == null)
|
||||
return;
|
||||
|
@ -97,7 +97,7 @@ namespace RJWSexperience
|
|||
return;
|
||||
|
||||
LogManager.GetLogger<DebugLogProvider>("LustUtility").Message($"{props.pawn.NameShortColored}'s lust changed by {lustDelta} (from {lust})");
|
||||
props.pawn.records.AddTo(VariousDefOf.Lust, lustDelta);
|
||||
props.pawn.records.AddTo(RsDefOf.Record.Lust, lustDelta);
|
||||
}
|
||||
|
||||
private static float LustIncrementFactor(float lust)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue