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
|
@ -20,11 +20,11 @@ namespace RJWSexperience
|
|||
{
|
||||
if (__instance.Sexprops.isRape && __instance.Sexprops.isReceiver)
|
||||
{
|
||||
__instance.pawn?.skills?.Learn(VariousDefOf.Sex, 0.05f, true);
|
||||
__instance.pawn?.skills?.Learn(RsDefOf.Skill.Sex, 0.05f, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
__instance.pawn?.skills?.Learn(VariousDefOf.Sex, 0.35f, true);
|
||||
__instance.pawn?.skills?.Learn(RsDefOf.Skill.Sex, 0.35f, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ namespace RJWSexperience
|
|||
{
|
||||
LustUtility.UpdateLust(props, satisfaction, base_sat_per_fuck);
|
||||
CumUtility.FillCumBuckets(props);
|
||||
props.pawn.records?.Increment(VariousDefOf.OrgasmCount);
|
||||
props.pawn.records?.Increment(RsDefOf.Record.OrgasmCount);
|
||||
if (SexperienceMod.Settings.EnableSexHistory && props.hasPartner())
|
||||
props.pawn.TryGetComp<SexHistoryComp>()?.RecordSatisfaction(props.partner, props, satisfaction);
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ namespace RJWSexperience
|
|||
{
|
||||
public static void Postfix(Pawn pawn)
|
||||
{
|
||||
SkillRecord sexskill = pawn.skills.GetSkill(VariousDefOf.Sex);
|
||||
SkillRecord sexskill = pawn.skills.GetSkill(RsDefOf.Skill.Sex);
|
||||
if (sexskill != null)
|
||||
{
|
||||
sexskill.passion = Passion.Major;
|
||||
|
|
|
@ -32,11 +32,11 @@ namespace RJWSexperience
|
|||
if (!pawn.relations.DirectRelationExists(PawnRelationDefOf.Parent, newMother))
|
||||
return;
|
||||
|
||||
Trait virgin = newMother.story?.traits?.GetTrait(VariousDefOf.Virgin, Virginity.TraitDegree.FemaleVirgin);
|
||||
Trait virgin = newMother.story?.traits?.GetTrait(RsDefOf.Trait.Virgin, Virginity.TraitDegree.FemaleVirgin);
|
||||
if (virgin != null)
|
||||
{
|
||||
newMother.story.traits.RemoveTrait(virgin);
|
||||
newMother.story.traits.GainTrait(new Trait(VariousDefOf.Virgin, Virginity.TraitDegree.FemaleAfterSurgery));
|
||||
newMother.story.traits.GainTrait(new Trait(RsDefOf.Trait.Virgin, Virginity.TraitDegree.FemaleAfterSurgery));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue