mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Make SexHistory namespace
This commit is contained in:
parent
abb73e61e1
commit
784abb6036
13 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using RJWSexperience.SexHistory;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using RJWSexperience.UI;
|
||||
using RJWSexperience.SexHistory.UI;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using RJWSexperience.Logs;
|
||||
using RJWSexperience.SexHistory;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Verse;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using HarmonyLib;
|
||||
using RJWSexperience.Logs;
|
||||
using RJWSexperience.SexHistory;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using Verse;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using UnityEngine;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience
|
||||
namespace RJWSexperience.SexHistory
|
||||
{
|
||||
[StaticConstructorOnStartup]
|
||||
public static class HistoryUtility
|
||||
|
|
|
@ -5,7 +5,7 @@ using RimWorld;
|
|||
using UnityEngine;
|
||||
using RJWSexperience.Logs;
|
||||
|
||||
namespace RJWSexperience
|
||||
namespace RJWSexperience.SexHistory
|
||||
{
|
||||
public static class RecordRandomizer
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience
|
||||
namespace RJWSexperience.SexHistory
|
||||
{
|
||||
public class SexHistoryComp : ThingComp
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using RJWSexperience.ExtensionMethods;
|
|||
using System.Collections.Generic;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience
|
||||
namespace RJWSexperience.SexHistory
|
||||
{
|
||||
public class SexPartnerHistoryRecord : IExposable
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Text;
|
|||
using UnityEngine;
|
||||
using Verse;
|
||||
|
||||
namespace RJWSexperience.UI
|
||||
namespace RJWSexperience.SexHistory.UI
|
||||
{
|
||||
public static class RJWUIUtility
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using UnityEngine;
|
|||
using Verse;
|
||||
using Verse.Sound;
|
||||
|
||||
namespace RJWSexperience.UI
|
||||
namespace RJWSexperience.SexHistory.UI
|
||||
{
|
||||
public enum PartnerOrderMode
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue