Make SexHistory namespace

This commit is contained in:
amevarashi 2022-06-13 10:51:09 +05:00
parent abb73e61e1
commit 784abb6036
13 changed files with 13 additions and 9 deletions

View file

@ -1,5 +1,6 @@
using RimWorld;
using rjw;
using RJWSexperience.SexHistory;
using Verse;
namespace RJWSexperience

View file

@ -87,7 +87,7 @@ namespace RJWSexperience
{
if (pawn.IsVirgin())
{
pawn.TryGetComp<SexHistoryComp>()?.RecordFirst(partner, props);
pawn.TryGetComp<SexHistory.SexHistoryComp>()?.RecordFirst(partner, props);
if (Virginity.TraitHandler.RemoveVirginTrait(pawn, partner, props))
{
Messages.Message(Keyed.RS_LostVirgin(pawn.LabelShort, partner.LabelShort), MessageTypeDefOf.NeutralEvent, true);

View file

@ -1,6 +1,6 @@
using RimWorld;
using rjw;
using RJWSexperience.UI;
using RJWSexperience.SexHistory.UI;
using UnityEngine;
using Verse;

View file

@ -1,4 +1,5 @@
using RJWSexperience.Logs;
using RJWSexperience.SexHistory;
using System.Collections.Generic;
using System.Linq;
using Verse;

View file

@ -1,5 +1,6 @@
using HarmonyLib;
using RJWSexperience.Logs;
using RJWSexperience.SexHistory;
using System.Collections.Generic;
using System.Reflection;
using Verse;

View file

@ -5,6 +5,7 @@ using rjw.Modules.Interactions.Enums;
using RJWSexperience.Cum;
using RJWSexperience.ExtensionMethods;
using RJWSexperience.Logs;
using RJWSexperience.SexHistory;
using System.Collections.Generic;
using UnityEngine;
using Verse;

View file

@ -16,7 +16,7 @@ namespace RJWSexperience
bool doVirginTrait = true;
if (SexperienceMod.Settings.History.EnableRecordRandomizer && !request.Newborn && xxx.is_human(__result))
doVirginTrait = RecordRandomizer.Randomize(__result);
doVirginTrait = SexHistory.RecordRandomizer.Randomize(__result);
if (doVirginTrait)
Virginity.TraitHandler.AddVirginTrait(__result);

View file

@ -1,7 +1,7 @@
using UnityEngine;
using Verse;
namespace RJWSexperience
namespace RJWSexperience.SexHistory
{
[StaticConstructorOnStartup]
public static class HistoryUtility

View file

@ -5,7 +5,7 @@ using RimWorld;
using UnityEngine;
using RJWSexperience.Logs;
namespace RJWSexperience
namespace RJWSexperience.SexHistory
{
public static class RecordRandomizer
{

View file

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Linq;
using Verse;
namespace RJWSexperience
namespace RJWSexperience.SexHistory
{
public class SexHistoryComp : ThingComp
{

View file

@ -3,7 +3,7 @@ using RJWSexperience.ExtensionMethods;
using System.Collections.Generic;
using Verse;
namespace RJWSexperience
namespace RJWSexperience.SexHistory
{
public class SexPartnerHistoryRecord : IExposable
{

View file

@ -6,7 +6,7 @@ using System.Text;
using UnityEngine;
using Verse;
namespace RJWSexperience.UI
namespace RJWSexperience.SexHistory.UI
{
public static class RJWUIUtility
{

View file

@ -7,7 +7,7 @@ using UnityEngine;
using Verse;
using Verse.Sound;
namespace RJWSexperience.UI
namespace RJWSexperience.SexHistory.UI
{
public enum PartnerOrderMode
{