code stringlengths 0 56.1M | repo_name stringlengths 3 57 | path stringlengths 2 176 | language stringclasses 672
values | license stringclasses 8
values | size int64 0 56.8M |
|---|---|---|---|---|---|
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
using RimWorld;
using Verse;
namespace rjw
{
public class HediffComp_Ovipositor : HediffComp
{
public IntRange eggInterval;
private int nextEggTick;
private static HediffDef_InsectEgg UnknownEgg = DefDatabase<HediffDef_InsectEgg>.Get... | jojo1541/rjw | 1.5/Source/Hediffs/Comps/HediffComp_Ovipositor.cs | C# | mit | 4,379 |
using Verse;
using RimWorld;
using Multiplayer.API;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using ShowParts = rjw.RJWSettings.ShowParts;
using System.Text;
using System;
namespace rjw
{
/// <summary>
/// Comp for rjw hediff parts
/// </summary>
public class HediffComp_SexPart : Hed... | jojo1541/rjw | 1.5/Source/Hediffs/Comps/HediffComp_SexPart.cs | C# | mit | 15,290 |
using Verse;
using RimWorld;
namespace rjw
{
/// <summary>
/// FeelingBroken raise/lower severity
/// </summary>
public class HediffCompProperties_FeelingBrokenSeverityReduce : HediffCompProperties
{
public HediffCompProperties_FeelingBrokenSeverityReduce()
{
this.compClass = typeof(HediffComp_FeelingBrok... | jojo1541/rjw | 1.5/Source/Hediffs/HediffComp_FeelingBroken.cs | C# | mit | 3,721 |
using System.Linq;
using Verse;
using RimWorld;
using System.Text;
using Multiplayer.API;
using UnityEngine;
using System.Collections.Generic;
using rjw.Modules.Genitals.Enums;
using RimWorld.QuestGen;
using System;
namespace rjw
{
//TODO figure out how this thing works and move eggs to comps
[StaticConstructorOnSt... | jojo1541/rjw | 1.5/Source/Hediffs/HediffDef_SexPart.cs | C# | mit | 2,887 |
using Verse;
using RimWorld;
namespace rjw
{
public class Hediff_ArtificialSexPart : Hediff_AddedPart, ISexPartHediff
{
public override bool ShouldRemove => false;
public HediffDef_SexPart Def => def as HediffDef_SexPart;
public HediffWithComps AsHediff => this;
public override float Severity {
get =>... | jojo1541/rjw | 1.5/Source/Hediffs/Hediff_ArtificialSexPart.cs | C# | mit | 860 |
using RimWorld;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace rjw
{
public class Cocoon : HediffWithComps
{
public int tickNext;
public override void PostMake()
{
Severity = 1.0f;
SetNextTick();
}
public override void ExposeData()
{
base.ExposeData();
Scribe_Va... | jojo1541/rjw | 1.5/Source/Hediffs/Hediff_Cocoon.cs | C# | mit | 3,255 |
using Verse;
using RimWorld;
namespace rjw
{
public class Hediff_NaturalSexPart : HediffWithComps, ISexPartHediff
{
public override bool ShouldRemove => false;
public HediffDef_SexPart Def => def as HediffDef_SexPart;
public HediffWithComps AsHediff => this;
public override float Severity {
get => bas... | jojo1541/rjw | 1.5/Source/Hediffs/Hediff_NaturalSexPart.cs | C# | mit | 1,221 |
using Verse;
//Hediff worker for pawns' "lay down and submit" button
namespace rjw
{
public class Hediff_Submitting: HediffWithComps
{
public override bool ShouldRemove {
get
{
Pawn daddy = pawn.CarriedBy;
if (daddy != null && daddy.Faction == pawn.Faction)
{
return true;
}
else
... | jojo1541/rjw | 1.5/Source/Hediffs/Hediff_Submitting.cs | C# | mit | 364 |
using Verse;
using UnityEngine;
using rjw.Modules.Shared.Extensions;
namespace rjw
{
// Would be nice to call this just 'ISexPart', but ILewdablePart already exists and represents something similar but different.
public interface ISexPartHediff
{
HediffDef_SexPart Def { get; }
T GetComp<T>() where T : HediffCo... | jojo1541/rjw | 1.5/Source/Hediffs/ISexPartHediff.cs | C# | mit | 1,110 |
using System.Collections.Generic;
using Verse;
namespace rjw
{
public class PartAdder
{
public float chance = 0f;
public string rjwPart;
public List<string> bodyParts;
}
}
| jojo1541/rjw | 1.5/Source/Hediffs/PartAdder.cs | C# | mit | 185 |
using Verse;
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
namespace rjw
{
public static class PartSizeCalculator
{
public static bool TryGetLength(Hediff hediff, out float length)
{
if (!hediff.TryGetComp<HediffComp_SexPart>(out var comp))
{
length = 0;
return ... | jojo1541/rjw | 1.5/Source/Hediffs/PartSizeCalculator.cs | C# | mit | 9,035 |
using Verse;
using RimWorld;
using System.Collections.Generic;
namespace rjw
{
public class PartSizeConfigDef : Def
{
public bool bodysizescale = false; // rescales parts sizes based on bodysize of initial owner race
/// <summary>
/// Human standard would be 1.0. Null for no weight display.
/// </sum... | jojo1541/rjw | 1.5/Source/Hediffs/PartSizeConfigDef.cs | C# | mit | 457 |
using Verse;
using RimWorld;
using System.Collections.Generic;
using System.Linq;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects.Parts;
namespace rjw
{
public class SexFluidDef : Def
{
public ThingDef filth;
public ThingDef consumable;
public float consumableFluidRatio = 1;
p... | jojo1541/rjw | 1.5/Source/Hediffs/SexFluidDef.cs | C# | mit | 1,243 |
using Verse;
namespace rjw
{
public abstract class SexFluidIngestionDoer
{
public abstract void Ingested(Pawn pawn, SexFluidDef fluid, float amount, ISexPartHediff fromPart, ISexPartHediff toPart = null);
}
} | jojo1541/rjw | 1.5/Source/Hediffs/SexFluidIngestionDoer.cs | C# | mit | 214 |
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace rjw
{
public class InteractionExtension : DefModExtension
{
/// <summary>
/// </summary>
public string RMBLabel = ""; // rmb menu
public string rjwSextype = ""; // xxx.rjwSextype
public List<string> rulepack_defs = ... | jojo1541/rjw | 1.5/Source/Interactions/InteractionExtension.cs | C# | mit | 382 |
using System.Collections.Generic;
using System.Text;
using RimWorld;
using Verse;
namespace rjw
{
internal class InteractionWorker_AnalSexAttempt : InteractionWorker
{
//initiator - rapist
//recipient - victim
public static bool AttemptAnalSex(Pawn initiator, Pawn recipient)
{
//--Log.Message(xxx.get_pa... | jojo1541/rjw | 1.5/Source/Interactions/InteractionWorker_SexAttempt.cs | C# | mit | 4,156 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
public class JobDriver_BestialityForFemale : JobDriver_SexBaseInitiator
{
public IntVec3 SleepSpot => Bed.SleepPosOfAssignedPawn(pawn);
public override bool TryMakePreToilReservations(bool errorO... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_BestialityForFemale.cs | C# | mit | 3,923 |
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
public class JobDriver_BestialityForMale : JobDriver_Rape
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return pawn.Reserve(Target, job, 1, 0, null... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_BestialityForMale.cs | C# | mit | 6,282 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
/// <summary>
/// This is the driver for animals mounting breeders.
/// </summary>
public class JobDriver_Breeding : JobDriver_Rape
{
public override bool TryMakePreToilReservations(bool errorOn... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Breeding.cs | C# | mit | 3,335 |
using RimWorld;
using System.Collections.Generic;
using UnityEngine;
using Verse;
using Verse.AI;
namespace rjw
{
//biotech JobDriver_ControlMech
public class JobDriver_HackMechPregnancy : JobDriver
{
private const TargetIndex MechInd = TargetIndex.A;
private Pawn Mech => (Pawn)job.GetTarget(TargetIndex.A).Thi... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_HackMechPregnancy.cs | C# | mit | 1,371 |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_Knotted : JobDriver_Goto
{
/// <summary>
/// Number of ticks to smooth out the start and end transitions.
/// </summary>
const int TweenTic... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Knotted.cs | C# | mit | 5,321 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
public class JobDriver_Masturbate : JobDriver_SexBaseInitiator
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return true; // No reservations needed.
}
public virt... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Masturbate.cs | C# | mit | 2,294 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
/// <summary>
/// This is the driver for animals mating.
/// </summary>
public class JobDriver_Mating : JobDriver_Rape
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Mating.cs | C# | mit | 2,935 |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_Rape : JobDriver_SexBaseInitiator
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return pawn.Reserve(Target, job, xxx.max_rapists_per_prisoner, 0, null, ... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Rape.cs | C# | mit | 2,592 |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_RapeComfortPawn : JobDriver_Rape
{
protected override IEnumerable<Toil> MakeNewToils()
{
if (RJWSettings.DebugRape) ModLog.Message("" + this.GetType().ToString() + "::MakeNewToil... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeComfortPawn.cs | C# | mit | 3,143 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Verse.Sound;
namespace rjw
{
public class JobDriver_ViolateCorpse : JobDriver_Rape
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return pawn.Reserve(Target, job, 1, -1, null, errorOnFailed);
}
p... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeCorpse.cs | C# | mit | 2,510 |
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
internal class JobDef_RapeEnemy : JobDef
{
public List<JobDef> interruptJobs;
public List<string> TargetDefNames = new List<string>();
public int priority = 0;
... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemy.cs | C# | mit | 6,822 |
using RimWorld;
using Verse;
namespace rjw
{
internal class JobDriver_RapeEnemyByAnimal : JobDriver_RapeEnemy
{
public override bool CanUseThisJobForPawn(Pawn rapist)
{
if (rapist.CurJob != null && (rapist.CurJob.def != JobDefOf.LayDown || rapist.CurJob.def != JobDefOf.Wait_Wander || rapist.CurJob.def != JobD... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemyByAnimal.cs | C# | mit | 424 |
using RimWorld;
using Verse;
namespace rjw
{
internal class JobDriver_RapeEnemyByHumanlike : JobDriver_RapeEnemy
{
public override bool CanUseThisJobForPawn(Pawn rapist)
{
if (rapist.CurJob != null && (rapist.CurJob.def != JobDefOf.LayDown || rapist.CurJob.def != JobDefOf.Wait_Wander || rapist.CurJob.def != J... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemyByHumanlike.cs | C# | mit | 400 |
using System.Linq;
using RimWorld;
using Verse;
namespace rjw
{
internal class JobDriver_RapeEnemyByInsect : JobDriver_RapeEnemy
{
public override bool CanUseThisJobForPawn(Pawn rapist)
{
if (rapist.CurJob != null && (rapist.CurJob.def != JobDefOf.LayDown || rapist.CurJob.def != JobDefOf.Wait_Wander || rapist... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemyByInsect.cs | C# | mit | 1,343 |
using RimWorld;
using Verse;
namespace rjw
{
internal class JobDriver_RapeEnemyByMech : JobDriver_RapeEnemy
{
public override bool CanUseThisJobForPawn(Pawn rapist)
{
if (rapist.CurJob != null && (rapist.CurJob.def != JobDefOf.LayDown || rapist.CurJob.def != JobDefOf.Wait_Wander || rapist.CurJob.def != JobDe... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemyByMech.cs | C# | mit | 578 |
using RimWorld;
using Verse;
namespace rjw
{
internal class JobDriver_RapeEnemyToParasite : JobDriver_RapeEnemy
{
//not implemented
public JobDriver_RapeEnemyToParasite()
{
this.requireCanRape = false;
}
public override bool CanUseThisJobForPawn(Pawn rapist)
{
if (rapist.CurJob != null && (rapist... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeEnemyToParasite.cs | C# | mit | 489 |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Verse.Sound;
namespace rjw
{
public class JobDriver_RandomRape : JobDriver_Rape
{
//Add some stuff. planning became bersek when failed to rape.
}
} | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_RapeRandom.cs | C# | mit | 256 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using Verse.Sound;
using Multiplayer.API;
using System.Linq;
using System;
namespace rjw
{
public abstract class JobDriver_Sex : JobDriver
{
public readonly TargetIndex iTarget = TargetIndex.A; //pawn or corpse
public readonly Target... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_Sex.cs | C# | mit | 16,957 |
using RimWorld;
using System.Linq;
using Verse;
using Verse.AI;
using System.Collections.Generic;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
namespace rjw
{
public abstract class JobDriver_SexBaseInitiator : JobDriver_Sex
{
public void Start()
{
bool isWhoring = false;
b... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexBaseInitiator.cs | C# | mit | 7,518 |
using System;
using System.Collections.Generic;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_SexBaseReciever : JobDriver_Sex
{
//give this poor driver some love other than (Partner.jobs?.curDriver is JobDriver_SexBaseReciever)
public List<Pawn> parteners = new();
public override void Ex... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexBaseReciever.cs | C# | mit | 2,210 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
using System;
namespace rjw
{
public class JobDriver_SexBaseRecieverLoved : JobDriver_SexBaseReciever
{
protected override void DoSetup()
{
base.DoSetup();
// More/less hearts based on opinion.
try
{
if (pawn.relation... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexBaseRecieverLoved.cs | C# | mit | 3,423 |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_SexBaseRecieverRaped : JobDriver_SexBaseReciever
{
protected override IEnumerable<Toil> MakeNewToils()
{
DoSetup();
var get_raped = new Toil
{
defaultCompleteMode = To... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexBaseRecieverRaped.cs | C# | mit | 1,754 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_JoinInBed : JobDriver_SexBaseInitiator
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return pawn.Reserve(Target, job, xxx.max_rapists_per_prisoner, 0, null, errorOnFa... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexCasual.cs | C# | mit | 2,450 |
using System;
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_SexQuick : JobDriver_SexBaseInitiator
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return ... | jojo1541/rjw | 1.5/Source/JobDrivers/JobDriver_SexQuick.cs | C# | mit | 4,094 |
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
using System.Collections.Generic;
using Multiplayer.API;
namespace rjw
{
//Rape to Prisoner of QuestPrisonerWillingToJoin
class JobGiver_AIRapePrisoner : ThinkNode_JobGiver
{
[SyncMethod]
public static Pawn find_victim(Pawn pawn, Map m)
{
floa... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_AIRapePrisoner.cs | C# | mit | 2,657 |
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Pawn tries to find animal to do loving/raping.
/// </summary>
public class JobGiver_Bestiality : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn pawn)
{
if (pawn.Drafted) return null;
// Most checks are now done ... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_Bestiality.cs | C# | mit | 3,414 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Attempts to give a breeding job to an eligible animal.
/// </summary>
public class JobGiver_Breed : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn animal)
{
//ModLog.Message(" JobGiver_Breed::TryGiveJob( " + xxx.get_pawnname(animal... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_Breed.cs | C# | mit | 892 |
using Verse;
using Verse.AI;
using RimWorld;
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
namespace rjw
{
public class JobGiver_ComfortPrisonerRape : ThinkNode_JobGiver
{
[SyncMethod]
public static Pawn find_targetCP(Pawn pawn, Map m)
{
if (!DesignatorsData.rjwComfort.Any()) r... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_ComfortPrisonerRape.cs | C# | mit | 4,363 |
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
public class JobGiver_DoQuickie : ThinkNode_JobGiver
{
/// <summary> Checks all of our potential partners to see if anyone's eligible, returning the most attractive and convenien... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_DoQuickie.cs | C# | mit | 2,119 |
using RimWorld;
using rjw.Modules.Shared.Extensions;
using rjw.Modules.Shared.Logs;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobGiver_JoinInBed : ThinkNode_JobGiver
{
private readonly static ILog _log = LogManager.GetLogger<JobGiver_JoinInBed>();
protected override Job TryGiveJob(Pawn pawn)
{... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_JoinInBed.cs | C# | mit | 2,387 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Attempts to give a lay egg job to an eligible humanoid.
/// </summary>
public class JobGiver_LayEgg : RimWorld.JobGiver_LayEgg
{
}
} | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_LayEgg.cs | C# | mit | 203 |
using RimWorld;
using Verse;
using Verse.AI;
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
namespace rjw
{
public class JobGiver_Masturbate : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn pawn)
{
//--ModLog.Message(" JobGiver_Masturbate::TryGiveJob( " + xxx.get_pawn... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_Masturbate.cs | C# | mit | 1,398 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Attempts to give a mating job with a Bond to an eligible animal.
/// </summary>
public class JobGiver_MateBonded : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn animal)
{
if (!SexUtility.ReadyForLovin(animal))
return null;
... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_MateBonded.cs | C# | mit | 701 |
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
using System.Collections.Generic;
using Multiplayer.API;
namespace rjw
{
public class JobGiver_RandomRape : ThinkNode_JobGiver
{
[SyncMethod]
public Pawn find_victim(Pawn pawn, Map m)
{
float min_fuckability = 0.10f; // Don't rape pawns w... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_RandomRape.cs | C# | mit | 3,404 |
using Verse;
using Verse.AI;
using RimWorld;
namespace rjw
{
/// <summary>
/// Pawn try to find enemy to rape.
/// </summary>
public class JobGiver_RapeEnemy : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn pawn)
{
if (RJWSettings.DebugRape) ModLog.Message(" JobGiver_RapeEnemy::TryGiveJob( " +... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_RapeEnemy.cs | C# | mit | 3,345 |
using RimWorld;
using Verse;
using Verse.AI;
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
namespace rjw
{
public class JobGiver_ViolateCorpse : ThinkNode_JobGiver
{
[SyncMethod]
public static Corpse find_corpse(Pawn pawn, Map m)
{
float min_fuckability = 0.10f; ... | jojo1541/rjw | 1.5/Source/JobGivers/JobGiver_ViolateCorpse.cs | C# | mit | 2,617 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse.AI;
using Verse;
namespace rjw
{
public class MentalState_RandomRape : SexualMentalState
{
public override void PostStart(string reason)
{
base.PostStart(reason);
this.pawn.mindState.canLovinT... | jojo1541/rjw | 1.5/Source/MentalStates/MentalState_RandomRape.cs | C# | mit | 1,007 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using Verse.AI;
using Verse;
namespace rjw
{
public class SexualMentalState : MentalState
{
public override void MentalStateTick()
{
if (this.pawn.IsHashIntervalTick(150))
{
if (xxx.is_satisfied(pawn)... | jojo1541/rjw | 1.5/Source/MentalStates/SexualMentalState.cs | C# | mit | 1,399 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace rjw
{
/// <summary>
/// Helper class for ChJees's Androids mod.
/// </summary>
[StaticConstructorOnStartup]
public static class AndroidsCompatibility
{
public static Type androidCompatType;
public st... | jojo1541/rjw | 1.5/Source/Modules/Androids/AndroidsCompatibility.cs | C# | mit | 1,934 |
using System;
using System.Text;
using System.Linq;
using UnityEngine;
using Verse;
using RimWorld;
using RimWorld.Planet;
namespace rjw.Modules.Benchmark
{
// RimWorld only instantiates WorldComponents that exist, so if benchmarking
// is not enabled, this class does not exist and never gets added to the game.
// ... | jojo1541/rjw | 1.5/Source/Modules/Benchmark/BenchmarkComponent.cs | C# | mit | 2,821 |
using System.Diagnostics;
using System.Collections.Generic;
using Verse;
namespace rjw.Modules.Benchmark
{
#if BENCHMARK
/// <summary>
/// <para>BENCHMARKING ENABLED!</para>
/// <para>A disposable ref-struct that represents a running benchmark.</para>
/// <para>You must enable the `BENCHMARK` compiler constant to ... | jojo1541/rjw | 1.5/Source/Modules/Benchmark/BenchmarkCore.cs | C# | mit | 5,599 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
// Adds options to the right-click menu for bondage gear to equip the gear on prisoners/downed pawns
namespace rjw
{
public class CompBondageGear : CompUsable
{
public override IEnumerable<FloatMenuOption> CompFloatMenuOptions(Pawn paw... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Comps/CompBondageGear.cs | C# | mit | 1,074 |
using RimWorld;
using Verse;
namespace rjw
{
public class CompGetBondageGear : CompUseEffect
{
public override float OrderPriority
{
get
{
return -79;
}
}
public override void DoEffect(Pawn p)
{
base.DoEffect(p);
var app = parent as Apparel;
if ((p.apparel != null) && (app != null))... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Comps/CompGetBondageGear.cs | C# | mit | 356 |
using System;
using RimWorld;
using Verse;
using Multiplayer.API;
namespace rjw
{
public class CompHoloCryptoStamped : ThingComp
{
public string name;
public string key;
[SyncMethod]
public string random_hex_byte()
{
//Rand.PopState();
//Rand.PushState(RJW_Multiplayer.PredictableSeed());
var rv ... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Comps/CompHoloCryptoStamped.cs | C# | mit | 1,649 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
// Adds unlock options to right-click menu for holokeys.
namespace rjw
{
public class CompStampedApparelKey : CompUsable
{
protected string make_label(Pawn pawn, Pawn other)
{
return FloatMenuOptionLabel(pawn) + " on " + ((other =... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Comps/CompStampedApparelKey.cs | C# | mit | 1,904 |
using RimWorld;
using Verse;
namespace rjw
{
public class CompUnlockBondageGear : CompUseEffect
{
public override float OrderPriority
{
get
{
return -69;
}
}
public override void DoEffect(Pawn p)
{
base.DoEffect(p);
var key_stamp = parent.GetComp<CompHoloCryptoStamped>();
if ((key_... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Comps/CompUnlockBondageGear.cs | C# | mit | 1,547 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_StruggleInBondageGear : JobDriver
{
public Apparel target_gear
{
get
{
return (Apparel)TargetA.Thing;
}
}
public override bool TryMakePreToilReservations(bool errorOnFailed)
... | jojo1541/rjw | 1.5/Source/Modules/Bondage/JobDrivers/JobDriver_StruggleInBondageGear.cs | C# | mit | 1,085 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
public class JobDriver_UseItemOn : JobDriver_UseItem
{
public static Toil pickup_item(Pawn p, Thing item)
{
return new Toil
{
initAction = delegate
{
p.carryTracker.TryStartCarry(item, 1);
if (... | jojo1541/rjw | 1.5/Source/Modules/Bondage/JobDrivers/JobDriver_UseItemOn.cs | C# | mit | 3,171 |
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_InstallChastityBelt : Recipe_InstallImplant
{
public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn p, RecipeDef r)
{
return base.GetPartsToApplyOn(p, r);
}
}
public class Recipe_UnlockChastit... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Recipes/Recipe_ChastityBelt.cs | C# | mit | 492 |
using System.Collections.Generic;
using RimWorld;
using Verse;
using Multiplayer.API;
namespace rjw
{
public class Recipe_ForceOffGear : Recipe_Surgery
{
public static bool is_wearing(Pawn p, ThingDef apparel_def)
{
if (p.apparel != null)
foreach (var app in p.apparel.WornApparel)
if (app.def == app... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Recipes/Recipe_ForceOffGear.cs | C# | mit | 2,904 |
using RimWorld;
using Verse;
namespace rjw
{
public class ThoughtWorker_Bound : ThoughtWorker
{
protected override ThoughtState CurrentStateInternal(Pawn p)
{
if (p.apparel != null)
{
bool bound = false, gagged = false;
foreach (var app in p.apparel.WornApparel)
{
var gear_def = app.def a... | jojo1541/rjw | 1.5/Source/Modules/Bondage/Thoughts/ThoughtWorker_Bound.cs | C# | mit | 723 |
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
//public static class bondage_gear_tradeability
//{
// public static void init()
// {
// // Allows bondage gear to be selled by traders
// if (xxx.config.bondage_gear_enabled)
// {... | jojo1541/rjw | 1.5/Source/Modules/Bondage/bondage_gear.cs | C# | mit | 13,130 |
namespace rjw.Modules.Genitals.Enums
{
public enum Gender
{
Male,
Female,
Trap,
Futa,
MaleOvi,
FemaleOvi,
Unknown
}
}
| jojo1541/rjw | 1.5/Source/Modules/Genitals/Enums/Gender.cs | C# | mit | 144 |
using rjw.Modules.Genitals.Enums;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Shared.Extensions;
using rjw.Modules.Shared.Logs;
using System.Linq;
namespace rjw.Modules.Genitals.Helpers
{
public class GenderHelper
{
private static ILog _log = LogManager.GetLogger<GenderHelper>();
public static Ge... | jojo1541/rjw | 1.5/Source/Modules/Genitals/Helpers/GenderHelper.cs | C# | mit | 1,339 |
namespace rjw.Modules.Interactions.Contexts
{
public class InteractionContext
{
public InteractionInputs Inputs { get; set; }
public InteractionInternals Internals { get; set; }
public InteractionOutputs Outputs { get; set; }
public InteractionContext() { }
public InteractionContext(InteractionInputs inpu... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Contexts/InteractionContext.cs | C# | mit | 441 |
using Verse;
namespace rjw.Modules.Interactions.Contexts
{
public class InteractionInputs
{
public Pawn Initiator { get; set; }
public Pawn Partner { get; set; }
public bool IsRape { get; set; }
public bool IsWhoring { get; set; }
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/Contexts/InteractionInputs.cs | C# | mit | 251 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
namespace rjw.Modules.Interactions.Contexts
{
/// <summary>
/// All the stuff stored in there shouldn't be used by other modules ... hence the "internal"
/// </summary>
public class InteractionInternals
{
public InteractionPawn Domin... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Contexts/InteractionInternals.cs | C# | mit | 589 |
using rjw.Modules.Interactions.Objects;
namespace rjw.Modules.Interactions.Contexts
{
public class InteractionOutputs
{
public Interaction Generated { get; set; }
public InteractionOutputs()
{
Generated = new Interaction();
}
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/Contexts/InteractionOutputs.cs | C# | mit | 249 |
using RimWorld;
using Verse;
namespace rjw.Modules.Interactions.Contexts
{
public class SpecificInteractionInputs
{
public Pawn Initiator { get; set; }
public Pawn Partner { get; set; }
public InteractionDef Interaction { get; set; }
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/Contexts/SpecificInteractionInputs.cs | C# | mit | 252 |
using rjw.Modules.Interactions.Defs;
using rjw.Modules.Interactions.Defs.DefFragment;
using rjw.Modules.Interactions.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace rjw.Modules.Interactions.DefModExtensions
{
public class InteractionSelectorExtension : DefModExtension... | jojo1541/rjw | 1.5/Source/Modules/Interactions/DefModExtensions/InteractionSelectorExtension.cs | C# | mit | 610 |
using rjw.Modules.Interactions.Defs;
using rjw.Modules.Genitals.Enums;
using rjw.Modules.Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Defs.DefFragment
{
public class InteractionRequirement
{
//D... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Defs/DefFragment/InteractionRequirement.cs | C# | mit | 1,394 |
using RimWorld;
using rjw.Modules.Interactions.DefModExtensions;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace rjw.Modules.Interactions.Defs
{
public class InteractionDefOf
{
public... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Defs/InteractionDefOf.cs | C# | mit | 2,094 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Enums
{
public enum InteractionTag
{
Reverse,
Fertilization,
EggFertilization,
EggLaying,
Masturbation,
Rape,
Whoring,
Consensual,
Bestiality,
... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Enums/InteractionTag.cs | C# | mit | 364 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Enums
{
public enum InteractionType
{
Masturbation,
Consensual,
Whoring,
Rape,
Bestiality,
Animal,
Necrophilia,
Mechanoid
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/Enums/InteractionType.cs | C# | mit | 300 |
namespace rjw.Modules.Interactions.Enums
{
public enum LewdablePartKind
{
Unsupported,
Penis,
Vagina,
Anus,
FemaleOvipositor,
MaleOvipositor,
Breasts,
Udders, // Unsupported
Hand,
Foot,
Tail,
Mouth,
Beak,
Tongue
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/Enums/LewdablePartKind.cs | C# | mit | 252 |
using KTrie;
using rjw.Modules.Interactions.DefModExtensions;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Shared.Logs;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using Verse;
namespace rjw.Modules.Interactions.Exposable
{
public class HediffWithExtension... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/HediffWithExtensionExposable.cs | C# | mit | 1,523 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Interactions.Objects.Parts;
using rjw.Modules.Shared.Extensions;
using rjw.Modules.Shared.Logs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace rjw.Modules.Inter... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/InteractionExposable.cs | C# | mit | 4,837 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Shared.Extensions;
using rjw.Modules.Shared.Logs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace rjw.Modules.Interactions.Exposable
{
public class InteractionP... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/InteractionPawnExposable.cs | C# | mit | 4,690 |
using RimWorld;
using rjw.Modules.Interactions.DefModExtensions;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Shared.Logs;
using System.Text;
using Verse;
namespace rjw.Modules.Interactions.Exposable
{
public class InteractionWithExtensionExposable : IExposable
{
private static ILog _log = LogManager... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/InteractionWithExtensionExposable.cs | C# | mit | 1,528 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects.Parts;
using rjw.Modules.Shared.Logs;
using System.Collections.Generic;
using System.Text;
using Verse;
namespace rjw.Modules.Interactions.Exposable
{
public class RJWLewdablePartExposable : IExposable
{
private static ILog _log = LogMan... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/RJWLewdablePartExposable.cs | C# | mit | 1,521 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects.Parts;
using rjw.Modules.Shared.Logs;
using System.Text;
using Verse;
namespace rjw.Modules.Interactions.Exposable
{
public class VanillaLewdablePartExposable : IExposable
{
private static ILog _log = LogManager.GetLogger<VanillaLewdable... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Exposable/VanillaLewdablePartExposable.cs | C# | mit | 1,242 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Interactions.Objects.Parts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace rjw.Modules.Interactions.Extensions
{
public sta... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Extensions/EnumerableExtensions.cs | C# | mit | 3,176 |
using rjw.Modules.Interactions.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Extensions
{
public static class GenitalFamilyExtension
{
public static LewdablePartKind ToPartKind(this GenitalFamily self)
... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Extensions/GenitalFamilyExtension.cs | C# | mit | 925 |
using rjw.Modules.Interactions.Defs;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Extensions
{
public static class HediffWithGenitalP... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Extensions/HediffWithGenitalPartExtensions.cs | C# | mit | 1,510 |
using rjw.Modules.Interactions.Defs;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Extensions
{
public static class InteractionWithExt... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Extensions/InteractionWithExtensions.cs | C# | mit | 1,033 |
using LudeonTK;
using RimWorld;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Shared.Extensions;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace rjw.Modules.Interactions.Extensions
{
public static class PawnExtensions
{
public static SexablePawnParts GetSexablePawnParts(thi... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Extensions/PawnExtensions.cs | C# | mit | 7,943 |
using RimWorld;
using rjw.Modules.Interactions.DefModExtensions;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Helpers
{
public static class InteractionHelper
{
public s... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Helpers/InteractionHelper.cs | C# | mit | 865 |
using RimWorld;
using rjw.Modules.Interactions.DefModExtensions;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using rjw.Modules.Interactions.Extensions;
using rjw.Modules... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Helpers/PartHelper.cs | C# | mit | 2,197 |
using rjw.Modules.Interactions.Objects;
namespace rjw.Modules.Interactions
{
public interface ICustomRequirementHandler
{
/// <summary>
/// Will be used to match the field <see cref="InteractionSelectorExtension.customRequirementHandler"/>
/// </summary>
string HandlerKey { get; }
bool FufillRequirements... | jojo1541/rjw | 1.5/Source/Modules/Interactions/ICustomRequirementHandler.cs | C# | mit | 421 |
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Interactions.Internals
{
public interface IInteractionRequirementService
{
bool FufillRequirements... | jojo1541/rjw | 1.5/Source/Modules/Interactions/IInteractionRequirementService.cs | C# | mit | 421 |
using rjw.Modules.Interactions.Contexts;
namespace rjw.Modules.Interactions
{
public interface ILewdInteractionService
{
InteractionOutputs GenerateInteraction(InteractionInputs inputs);
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/ILewdInteractionService.cs | C# | mit | 200 |
using rjw.Modules.Interactions.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace rjw.Modules.Interactions
{
public interface ILewdInteractionValidatorService
{
bool IsValid(InteractionDef interaction... | jojo1541/rjw | 1.5/Source/Modules/Interactions/ILewdInteractionValidatorService.cs | C# | mit | 362 |
using rjw.Modules.Interactions.Contexts;
namespace rjw.Modules.Interactions
{
public interface ISpecificLewdInteractionService
{
InteractionOutputs GenerateSpecificInteraction(SpecificInteractionInputs inputs);
}
}
| jojo1541/rjw | 1.5/Source/Modules/Interactions/ISpecificLewdInteractionService.cs | C# | mit | 224 |
using rjw.Modules.Interactions.Defs.DefFragment;
using rjw.Modules.Interactions.Enums;
using rjw.Modules.Interactions.Extensions;
using rjw.Modules.Interactions.Objects;
using rjw.Modules.Interactions.Objects.Parts;
using rjw.Modules.Shared;
using rjw.Modules.Shared.Enums;
using rjw.Modules.Shared.Extensions;
using rj... | jojo1541/rjw | 1.5/Source/Modules/Interactions/Implementation/InteractionRequirementService.cs | C# | mit | 7,596 |