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 |
|---|---|---|---|---|---|
namespace rjw
{
public enum GenitalTag
{
CanPenetrate,
CanBePenetrated,
CanFertilize,
CanBeFertilized,
CanEgg,
CanFertilizeEgg,
CanLactate
}
} | jojo1541/rjw | 1.5/Source/Modules/Shared/Enums/GenitalTag.cs | C# | mit | 163 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Shared.Enums
{
public enum PawnState
{
Healthy,
Downed,
Unconscious,
Dead
}
}
| jojo1541/rjw | 1.5/Source/Modules/Shared/Enums/PawnState.cs | C# | mit | 231 |
using System;
using Verse;
namespace rjw.Modules.Shared.Extensions
{
public static class BodyPartRecordExtension
{
/// <summary>
/// Check if body part is missing. Unlike vanilla <see cref="HediffSet.PartIsMissing"/>,
/// this method takes into account artificial replacements.
/// </summary>
/// <exceptio... | jojo1541/rjw | 1.5/Source/Modules/Shared/Extensions/BodyPartRecordExtension.cs | C# | mit | 1,057 |
using System;
using Verse;
namespace rjw.Modules.Shared.Extensions
{
public static class PawnExtensions
{
public static string GetName(this Pawn pawn)
{
if (pawn == null)
{
return "null";
}
if (String.IsNullOrWhiteSpace(pawn.Name?.ToStringFull) == false)
{
return pawn.Name.ToStringFull;
... | jojo1541/rjw | 1.5/Source/Modules/Shared/Extensions/PawnExtensions.cs | C# | mit | 365 |
using System;
using UnityEngine;
using Verse;
namespace rjw.Modules.Shared.Helpers
{
public static class AgeHelper
{
public const int ImmortalRaceAgeClamp = 25;
public const int NonHumanRaceAgeClamp = 25;
public static int ScaleToHumanAge(Pawn pawn, int humanLifespan = 80)
{
float pawnAge = pawn.ageTra... | jojo1541/rjw | 1.5/Source/Modules/Shared/Helpers/AgeHelper.cs | C# | mit | 2,914 |
using System.Collections.Generic;
using System.Linq;
using Multiplayer.API;
using rjw.Modules.Shared;
using UnityEngine;
using Verse;
namespace rjw
{
public static class RandomHelper
{
/// <remarks>this is not foolproof</remarks>
public static TType WeightedRandom<TType>(IList<Weighted<TType>> weights)
{
i... | jojo1541/rjw | 1.5/Source/Modules/Shared/Helpers/RandomHelper.cs | C# | mit | 642 |
using rjw.Modules.Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace rjw.Modules.Shared
{
public interface IPawnStateService
{
PawnState Detect(Pawn pawn);
}
}
| jojo1541/rjw | 1.5/Source/Modules/Shared/IPawnStateService.cs | C# | mit | 271 |
using rjw.Modules.Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace rjw.Modules.Shared.Implementation
{
public class PawnStateService : IPawnStateService
{
public static IPawnStateService Instance { get; private... | jojo1541/rjw | 1.5/Source/Modules/Shared/Implementation/PawnStateService.cs | C# | mit | 701 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Shared.Logs
{
public interface ILog
{
void Debug(string message);
void Debug(string message, Exception e);
void Message(string message);
void Message(string message, Exce... | jojo1541/rjw | 1.5/Source/Modules/Shared/Logs/ILog.cs | C# | mit | 487 |
namespace rjw.Modules.Shared.Logs
{
public interface ILogProvider
{
bool IsActive { get; }
}
}
| jojo1541/rjw | 1.5/Source/Modules/Shared/Logs/ILogProvider.cs | C# | mit | 103 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Shared.Logs
{
public static class LogManager
{
private class Logger : ILog
{
private readonly string _loggerTypeName;
private readonly ILogProvider _logProvider;
pu... | jojo1541/rjw | 1.5/Source/Modules/Shared/Logs/LogManager.cs | C# | mit | 2,582 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Shared
{
public static class Multipliers
{
public const float Never = 0f;
public const float AlmostNever = 0.1f;
public const float VeryRare = 0.2f;
public const float ... | jojo1541/rjw | 1.5/Source/Modules/Shared/Multipliers.cs | C# | mit | 612 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rjw.Modules.Shared
{
public class Weighted<TType>
{
public TType Element { get; set; }
public float Weight { get; set; }
public Weighted(float weight, TType element)
{
Weight = w... | jojo1541/rjw | 1.5/Source/Modules/Shared/Weighted.cs | C# | mit | 360 |
#nullable enable
using System.Linq;
using Verse;
using rjw.Modules.Shared.Logs;
using rjw.Modules.Interactions.DefModExtensions;
using static rjw.Genital_Helper;
using Sex = rjw.GenderHelper.Sex;
using Seeded = rjw.Modules.Rand.Seeded;
namespace rjw.Modules.Testing
{
static class TestHelper
{
static readonly ILo... | jojo1541/rjw | 1.5/Source/Modules/Testing/TestHelper.cs | C# | mit | 6,149 |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace rjw
{
public class Need_Sex : Need_Seeker
{
public bool isInvisible => pawn.Map == null;
private static float decay_per_day = 0.3f;
// TODO: make these threshold values constants or at least static
// readonly properties... | jojo1541/rjw | 1.5/Source/Needs/Need_Sex.cs | C# | mit | 5,134 |
using Verse;
namespace rjw
{
/// <summary>
/// Looks up and returns a BodyPartTagDef defined in the XML
/// </summary>
public static class BodyPartTagDefOf {
public static BodyPartTagDef RJW_Fertility
{
get
{
if (a == null) a = (BodyPartTagDef)GenDefDatabase.GetDef(typeof(BodyPartTagDef), "RJW_Ferti... | jojo1541/rjw | 1.5/Source/PawnCapacities/BodyPartTagDefOf.cs | C# | mit | 395 |
using RimWorld;
using System;
using System.Collections.Generic;
using UnityEngine;
using Verse;
namespace rjw
{
/// <summary>
/// Calculates a pawn's fertility based on its age and fertility sources
/// </summary>
public class PawnCapacityWorker_Fertility : PawnCapacityWorker
{
public override float CalculateCa... | jojo1541/rjw | 1.5/Source/PawnCapacities/PawnCapacityWorker_Fertility.cs | C# | mit | 5,265 |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("RimJobWorld")]
[assembly: AssemblyDescrip... | jojo1541/rjw | 1.5/Source/Properties/AssemblyInfo.cs | C# | mit | 1,350 |
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
using UnityEngine;
using RimWorld;
using Verse.Sound;
namespace rjw.MainTab
{
[StaticConstructorOnStartup]
public static class DesignatorCheckbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Com... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/DesignatorCheckbox.cs | C# | mit | 2,754 |
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
using UnityEngine;
using RimWorld;
using Verse.Sound;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public abstract class PawnColumnCheckbox : PawnColumnWorker
{
public static readonly Texture2D CheckboxOnTex;
publi... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnCheckbox.cs | C# | mit | 2,494 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_BreedAnimal : PawnColumnWorker_Checkbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/Breeding_Pawn_on");
public static read... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_BreedAnimal.cs | C# | mit | 1,000 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_BreedHumanlike : PawnColumnWorker_Checkbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/Breeding_Pawn_on");
public static r... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_BreedHumanlike.cs | C# | mit | 1,002 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_BreederAnimal : PawnColumnWorker_Checkbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/Breeding_Pawn_on");
public static re... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_BreederAnimal.cs | C# | mit | 1,026 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_Comfort : PawnColumnWorker_Checkbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/ComfortPrisoner_on");
public static readon... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_Comfort.cs | C# | mit | 931 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_Hero : PawnColumnCheckbox
{
//public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/Hero_on");
//public static readonly Texture2D Chec... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_Hero.cs | C# | mit | 1,740 |
using RimWorld;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Checkbox
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_Whore : PawnColumnWorker_Checkbox
{
public static readonly Texture2D CheckboxOnTex = ContentFinder<Texture2D>.Get("UI/Commands/Service_on");
public static readonly Texture... | jojo1541/rjw | 1.5/Source/RJWTab/Checkboxes/PawnColumnWorker_Whore.cs | C# | mit | 905 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace rjw.MainTab.DefModExtensions
{
public class RJW_PawnTable : DefModExtension
{
public string label;
}
}
| jojo1541/rjw | 1.5/Source/RJWTab/DefModExtensions/RJW_PawnTable.cs | C# | mit | 251 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Icon
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_IsBreeder : PawnColumnWorker_Icon
{
private static readonly Texture2D comfortOn = ... | jojo1541/rjw | 1.5/Source/RJWTab/Icons/PawnColumnWorker_IsBreeder.cs | C# | mit | 954 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Icon
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_IsComfort : PawnColumnWorker_Icon
{
private readonly Texture2D comfortOn = Content... | jojo1541/rjw | 1.5/Source/RJWTab/Icons/PawnColumnWorker_IsComfort.cs | C# | mit | 893 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Icon
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_IsPrisoner : PawnColumnWorker_Icon
{
private static readonly Texture2D comfortOn =... | jojo1541/rjw | 1.5/Source/RJWTab/Icons/PawnColumnWorker_IsPrisoner.cs | C# | mit | 848 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace rjw.MainTab.Icon
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_IsSlave : PawnColumnWorker_Icon
{
private readonly Texture2D comfortOn = ContentFi... | jojo1541/rjw | 1.5/Source/RJWTab/Icons/PawnColumnWorker_IsSlave.cs | C# | mit | 887 |
using RimWorld;
using UnityEngine;
using Verse;
using static rjw.GenderHelper;
namespace rjw.MainTab.Icon
{
[StaticConstructorOnStartup]
public class PawnColumnWorker_RJWGender : PawnColumnWorker_Gender
{
public static readonly Texture2D hermIcon = ContentFinder<Texture2D>.Get("UI/Icons/Gender/Genders", true);
... | jojo1541/rjw | 1.5/Source/RJWTab/Icons/PawnColumnWorker_RJWGender.cs | C# | mit | 661 |
using System.Collections.Generic;
using System.Linq;
using Verse;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using rjw.MainTab.DefModExtensions;
namespace rjw.MainTab
{
[StaticConstructorOnStartup]
public class RJW_PawnTableList
{
public List<PawnTableDef> getdefs()
{
var defs = new List<Pawn... | jojo1541/rjw | 1.5/Source/RJWTab/MainTabWindow.cs | C# | mit | 3,335 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
using Verse;
namespace rjw.MainTab
{
public abstract class PawnColumnWorker_TextCenter : PawnColumnWorker_Text
{
public override void DoCell(Rect rect, Pawn pawn, PawnTable table)
{
... | jojo1541/rjw | 1.5/Source/RJWTab/PawnColumnWorker_TextCenter.cs | C# | mit | 803 |
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using rjw;
using Verse;
namespace rjw.MainTab
{
public class RJW_PawnTable_Animals : PawnTable_Animals
{
public RJW_PawnTable_Animals(PawnTableDef def, Func<IEnumerable<Pawn>> pawnsGetter, int uiWidth, int uiHeight) : base(def, paw... | jojo1541/rjw | 1.5/Source/RJWTab/PawnTable_Animals.cs | C# | mit | 1,314 |
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using rjw;
using Verse;
namespace rjw.MainTab
{
public class RJW_PawnTable_Humanlikes : PawnTable_PlayerPawns
{
public RJW_PawnTable_Humanlikes(PawnTableDef def, Func<IEnumerable<Pawn>> pawnsGetter, int uiWidth, int uiHeight) : bas... | jojo1541/rjw | 1.5/Source/RJWTab/PawnTable_Humanlikes.cs | C# | mit | 1,285 |
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using RimWorld;
using Verse;
using Sex = rjw.GenderHelper.Sex;
namespace rjw
{
// Less straightforward than part removal as this recipe can potentially be applied on pawn generation
public class Recipe_InstallPart : Recipe_InstallArtificialBody... | jojo1541/rjw | 1.5/Source/Recipes/Install_Part/Recipe_InstallPart.cs | C# | mit | 3,182 |
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_AddMultiPart : Recipe_InstallPart
{
// Record tale without removing pre-existing parts
protected override void OnSurgerySuccess(Pawn pawn, BodyPartRecord part, Pawn billDoer, List<Thing> ingredi... | jojo1541/rjw | 1.5/Source/Recipes/Recipe_AddMultiPart.cs | C# | mit | 1,471 |
using RimWorld;
using System.Collections.Generic;
using Verse;
namespace rjw
{
/// <summary>
/// Removes heddifs (restraints/cocoon)
/// </summary>
public class Recipe_RemoveRestraints : Recipe_RemoveHediff
{
public override bool AvailableOnNow(Thing pawn, BodyPartRecord part = null)
{
return true;
}
... | jojo1541/rjw | 1.5/Source/Recipes/Recipe_Restraints.cs | C# | mit | 734 |
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_RemoveAnus : Recipe_RemovePart
{
protected override bool ValidFor(Pawn p)
{
return base.ValidFor(p) && Genital_Helper.has_anus(p) && !Genital_Helper.anus_blocked(p);
}
}
} | jojo1541/rjw | 1.5/Source/Recipes/Remove_Part/Recipe_RemoveAnus.cs | C# | mit | 286 |
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_RemoveBreasts : Recipe_RemovePart
{
protected override bool ValidFor(Pawn p)
{
return base.ValidFor(p) && Genital_Helper.has_breasts(p) && !Genital_Helper.breasts_blocked(p);
}
}
} | jojo1541/rjw | 1.5/Source/Recipes/Remove_Part/Recipe_RemoveBreasts.cs | C# | mit | 295 |
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_RemoveGenitals : Recipe_RemovePart
{
protected override bool ValidFor(Pawn p)
{
return base.ValidFor(p) && Genital_Helper.has_genitals(p) && !Genital_Helper.genitals_blocked(p);
}
}
} | jojo1541/rjw | 1.5/Source/Recipes/Remove_Part/Recipe_RemoveGenitals.cs | C# | mit | 298 |
using System.Collections.Generic;
using Multiplayer.API;
using RimWorld;
using Verse;
namespace rjw
{
public class Recipe_RemovePart : Recipe_RemoveBodyPart
{
private const int HarvestGoodwillPenalty = -80;
protected virtual bool ValidFor(Pawn p)
{
return !xxx.is_slime(p);//|| xxx.is_demon(p)
}
publi... | jojo1541/rjw | 1.5/Source/Recipes/Remove_Part/Recipe_RemovePart.cs | C# | mit | 2,368 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace rjw
{
public class PawnRelationWorker_Child_Beast : PawnRelationWorker_Child
{
public override bool InRelation(Pawn me, Pawn other)
{
if (!xxx.is_animal(o... | jojo1541/rjw | 1.5/Source/Relations/BeastPawnRelationWorkers.cs | C# | mit | 4,540 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace rjw
{
public class PawnRelationWorker_Child_Humanlike : PawnRelationWorker_Child
{
public override bool InRelation(Pawn me, Pawn other)
{
if (xxx.is_anima... | jojo1541/rjw | 1.5/Source/Relations/HumanlikeBloodRelationWorkers.cs | C# | mit | 4,520 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace rjw
{
/// <summary>
/// Checks for relations, workaround for relation checks that rely on other relation checks, since the vanilla inRelation checks have been pr... | jojo1541/rjw | 1.5/Source/Relations/RelationChecker.cs | C# | mit | 7,015 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace rjw.RenderNodeWorkers
{
public class PawnRenderNodeWorker_Apparel_DrawNude : PawnRenderSubWorker
{
public override bool CanDrawNowSub(PawnRenderNode node, PawnDrawParms parms)... | jojo1541/rjw | 1.5/Source/RenderNodeWorkers/PawnRenderNodeWorker_Apparel_DrawNude.cs | C# | mit | 353 |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}</ProjectGuid>
<OutputType>Library</OutputType>
<NoStdLib>... | jojo1541/rjw | 1.5/Source/RimJobWorld.Main.csproj | csproj | mit | 3,481 |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2024
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RimJobWorld.Main", "RimJobWorld.Main.csproj", "{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}"
EndProject
Global
Gl... | jojo1541/rjw | 1.5/Source/RimJobWorld.Main.sln | sln | mit | 1,105 |
using System;
using UnityEngine;
using Verse;
using System.Collections.Generic;
namespace rjw
{
public class RJWDebugSettings : ModSettings
{
private static Vector2 scrollPosition;
private static float height_modifier = 0f;
public static void DoWindowContents(Rect inRect)
{
Rect outRect = new Rect(0f, 30... | jojo1541/rjw | 1.5/Source/Settings/RJWDebugSettings.cs | C# | mit | 12,065 |
using System;
using UnityEngine;
using Verse;
namespace rjw
{
public class RJWHookupSettings : ModSettings
{
public static bool HookupsEnabled = true;
public static bool QuickHookupsEnabled = true;
public static bool NoHookupsDuringWorkHours = true;
public static bool ColonistsCanHookup = true;
public stat... | jojo1541/rjw | 1.5/Source/Settings/RJWHookupSettings.cs | C# | mit | 7,542 |
using System;
using UnityEngine;
using Verse;
namespace rjw
{
public class RJWPregnancySettings : ModSettings
{
public static bool humanlike_pregnancy_enabled = true;
public static bool animal_pregnancy_enabled = true;
public static bool animal_pregnancy_notifications_enabled = true;
public static bool best... | jojo1541/rjw | 1.5/Source/Settings/RJWPregnancySettings.cs | C# | mit | 19,708 |
using System;
using UnityEngine;
using Verse;
namespace rjw
{
public class RJWSettings : ModSettings
{
public static bool animal_on_animal_enabled = false;
public static bool animal_on_human_enabled = false;
public static bool bestiality_enabled = false;
public static bool necrophilia_enabled = false;
priv... | jojo1541/rjw | 1.5/Source/Settings/RJWSettings.cs | C# | mit | 19,193 |
using UnityEngine;
using Verse;
using Multiplayer.API;
namespace rjw.Settings
{
public class RJWSettingsController : Mod
{
public RJWSettingsController(ModContentPack content) : base(content)
{
GetSettings<RJWSettings>();
}
public override string SettingsCategory()
{
return "RJWSettingsOne".Translat... | jojo1541/rjw | 1.5/Source/Settings/RJWSettingsController.cs | C# | mit | 2,509 |
using System;
using System.Collections.Generic;
using UnityEngine;
using Verse;
namespace rjw
{
// TODO: Add option for logging pregnancy chance after sex (dev mode only?)
// TODO: Add an alernate more complex system for pregnancy calculations, by using bodyparts, genitalia, and size (similar species -> higher chanc... | jojo1541/rjw | 1.5/Source/Settings/RJWSexSettings.cs | C# | mit | 17,104 |
using Verse;
namespace rjw
{
public class config : Def
{
// TODO: Clean these.
public float minor_pain_threshold; // 0.3
public float significant_pain_threshold; // 0.6
public float extreme_pain_threshold; // 0.95
public float base_chance_to_hit_prisoner; // 50
public int min_ticks_between_hits... | jojo1541/rjw | 1.5/Source/Settings/config.cs | C# | mit | 464 |
using RimWorld;
using Verse;
namespace rjw
{
// used in Vulnerability StatDef calculation
public class SkillNeed_CapableOfResisting : SkillNeed_BaseBonus
{
public override float ValueFor(Pawn pawn)
{
if (pawn.skills == null)
{
return 1f;
}
int level = NegateSkillBonus(pawn) ? 0 : pawn.skills.G... | jojo1541/rjw | 1.5/Source/Stats/SkillNeed_CapableOfResisting.cs | C# | mit | 786 |
using System;
using UnityEngine;
using Verse;
using Verse.AI;
using RimWorld;
namespace rjw
{
public class ThinkNode_ChancePerHour_Bestiality : ThinkNode_ChancePerHour
{
protected override float MtbHours(Pawn pawn)
{
float base_mtb = xxx.config.comfort_prisoner_rape_mtbh_mul; // Default is 4.0
float desir... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_Bestiality.cs | C# | mit | 2,560 |
using System;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Cooldown for breeding
/// something like 4.0*0.2 = 0.8 hours
/// </summary>
public class ThinkNode_ChancePerHour_Breed : ThinkNode_ChancePerHour
{
protected override float MtbHours(Pawn pawn)
{
return xxx.config.comfort_prisoner... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_Breed.cs | C# | mit | 596 |
using RimWorld;
using Verse;
using Verse.AI;
using System.Linq;
namespace rjw
{
public class ThinkNode_ChancePerHour_Fappin : ThinkNode_ChancePerHour
{
public static float get_fappin_mtb_hours(Pawn pawn)
{
float result = 1f;
result /= 1f - pawn.health.hediffSet.PainTotal;
float efficiency = pawn.hea... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_Fappin.cs | C# | mit | 1,925 |
using System;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Cooldown for breeding
/// something like 4.0*0.2 = 0.8 hours
/// </summary>
public class ThinkNode_ChancePerHour_MateBonded : ThinkNode_ChancePerHour
{
protected override float MtbHours(Pawn pawn)
{
return xxx.config.comfort_pri... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_MateBonded.cs | C# | mit | 601 |
using System;
using UnityEngine;
using Verse;
using Verse.AI;
using RimWorld;
namespace rjw
{
/// <summary>
/// Necro rape corpse
/// </summary>
public class ThinkNode_ChancePerHour_Necro : ThinkNode_ChancePerHour
{
protected override float MtbHours(Pawn pawn)
{
float base_mtb = xxx.config.comfort_prisoner... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_Necro.cs | C# | mit | 2,481 |
using System;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Colonists and prisoners try to rape CP
/// </summary>
public class ThinkNode_ChancePerHour_RapeCP : ThinkNode_ChancePerHour
{
protected override float MtbHours(Pawn pawn)
{
var base_mtb = xxx.con... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ChancePerHour_RapeCP.cs | C# | mit | 2,822 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the non animal is eligible for a Bestiality job
/// </summary>
public class ThinkNode_ConditionalBestiality : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//if (p.Faction != null && p.Faction.IsPlay... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalBestiality.cs | C# | mit | 834 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the animal is eligible for a breed job
/// </summary>
public class ThinkNode_ConditionalCanBreed : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//ModLog.Message("ThinkNode_ConditionalCanBreed " + p)... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalCanBreed.cs | C# | mit | 919 |
using RimWorld;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the animal is eligible for a mating with Bonded pawn
/// </summary>
public class ThinkNode_ConditionalCanMateBonded : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
if (!xxx.is_animal(... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalCanMateBonded.cs | C# | mit | 546 |
using Verse;
using Verse.AI;
using RimWorld;
namespace rjw
{
public class ThinkNode_ConditionalCanRapeCP : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//ModLog.Message("ThinkNode_ConditionalCanRapeCP " + pawn);
if (!RJWSettings.rape_enabled)
return false;
// Hostiles cannot... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalCanRapeCP.cs | C# | mit | 1,535 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Pawn frustrated
/// </summary>
public class ThinkNode_ConditionalFrustrated : ThinkNode_Conditional
{
protected override bool Satisfied (Pawn p)
{
return xxx.is_frustrated(p);
}
}
} | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalFrustrated.cs | C# | mit | 263 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Pawn is horny
/// </summary>
public class ThinkNode_ConditionalHorny : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
return xxx.is_horny(p);
}
}
} | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalHorny.cs | C# | mit | 250 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Pawn HornyOrFrustrated
/// </summary>
public class ThinkNode_ConditionalHornyOrFrustrated : ThinkNode_Conditional
{
protected override bool Satisfied (Pawn p)
{
return xxx.is_hornyorfrustrated(p);
}
}
} | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalHornyOrFrustrated.cs | C# | mit | 284 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the animal can mate(vanilla reproductory sex) with animals.
/// </summary>
public class ThinkNode_ConditionalMate : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//ModLog.Message("ThinkNode_Condition... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalMate.cs | C# | mit | 432 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the pawn can engage in necrophilia.
/// </summary>
public class ThinkNode_ConditionalNecro : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//ModLog.Message("ThinkNode_ConditionalNecro " + p);
if ... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalNecro.cs | C# | mit | 732 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Nymph nothing to do, seek sex-> join in bed
/// </summary>
public class ThinkNode_ConditionalNympho : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
//ModLog.Message("ThinkNode_ConditionalNympho " + p);
if (xxx.is_nymp... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalNympho.cs | C# | mit | 451 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Will nympho rape when frustrated?
/// </summary>
public class ThinkNode_ConditionalNymphoFrustratedRape : ThinkNode_Conditional
{
protected override bool Satisfied (Pawn p)
{
return RJWSettings.NymphFrustratedRape;
}
}
}
| jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalNymphoFrustratedRape.cs | C# | mit | 303 |
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Rapist, chance to trigger random rape
/// </summary>
public class ThinkNode_ConditionalRapist : ThinkNode_Conditional
{
protected override bool Satisfied(Pawn p)
{
if (!RJWSettings.rape_enabled)
return false;
if (xxx.is_animal(p))
... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalRapist.cs | C# | mit | 655 |
using RimWorld;
using System.Collections.Generic;
using Verse;
using Verse.AI;
namespace rjw
{
/// <summary>
/// Called to determine if the pawn can engage in sex.
/// This should be used as the first conditional for sex-related thinktrees.
/// </summary>
public class ThinkNode_ConditionalSexChecks : ThinkNode_Co... | jojo1541/rjw | 1.5/Source/ThinkTreeNodes/ThinkNode_ConditionalSexChecks.cs | C# | mit | 2,284 |
using RimWorld;
using Verse;
namespace rjw
{
public class ThoughtWorker_FeelingBroken : ThoughtWorker
{
public static int Clamp(int value, int min, int max)
{
return (value < min) ? min : (value > max) ? max : value;
}
protected override ThoughtState CurrentStateInternal(Pawn p)
{
var brokenstages ... | jojo1541/rjw | 1.5/Source/Thoughts/ThoughtWorker_FeelingBroken.cs | C# | mit | 721 |
using RimWorld;
using Verse;
namespace rjw
{
public class ThoughtWorker_NeedSex : ThoughtWorker
{
protected override ThoughtState CurrentStateInternal(Pawn p)
{
var sex_need = p.needs.TryGetNeed<Need_Sex>();
if (sex_need != null)
if (xxx.can_do_loving(p))
{
var lev = sex_need.CurLevel;
if (... | jojo1541/rjw | 1.5/Source/Thoughts/ThoughtWorker_NeedSex.cs | C# | mit | 627 |
using RimWorld;
using Verse;
namespace rjw
{
//This thought system of RW is retarded AF. It needs separate thought handler for each hediff.
public abstract class ThoughtWorker_SexChange : ThoughtWorker
{
public virtual HediffDef hediff_served { get; }
protected override ThoughtState CurrentStateInternal(Pawn p... | jojo1541/rjw | 1.5/Source/Thoughts/ThoughtWorker_SexChange.cs | C# | mit | 2,531 |
using Verse;
using Verse.AI.Group;
namespace rjw
{
public class Trigger_SexSatisfy : TriggerFilter
{
private const int CheckInterval = 120;
private const int TickTimeout = 900;
private int currentTick = 0;
public float targetValue = 0.3f;
public Trigger_SexSatisfy(float t)
{
this.targetValue = t;
... | jojo1541/rjw | 1.5/Source/Triggers/Trigger_SexSatisfy.cs | C# | mit | 1,320 |
using RimWorld;
using Verse;
using Verse.AI;
using Multiplayer.API;
namespace rjw
{
/// <summary>
/// Allow pawn to have sex
/// dunno if this should be used to allow manual sex start or limit it behind sort of "hero" designator for RP purposes, so player can only control 1 pawn directly?
/// </summary>
public cl... | jojo1541/rjw | 1.5/Source/WorkGivers/WorkGiver_Sexchecks.cs | C# | mit | 4,512 |
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>RimJobWorld</name>
<author>Ed86</author>
<url>https://gitgud.io/Ed86/rjw</url>
<supportedVersions>
<li>1.1</li>
<li>1.2</li>
<li>1.3</li>
<li>1.4</li>
<li>1.5</li>
</supportedVersions>
<packageId>rim.job.world</packageId>
<modDependencies>
<... | jojo1541/rjw | About/About.xml | XML | mit | 4,150 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>RimJobWorld</identifier>
<version>5.6.0.5</version>
<dependencies/>
<incompatibleWith/>
<loadAfter/>
<suggests/>
<manifestUri>https://gitgud.io/Ed86/rjw/raw/master/About/Manifest.xml</manifestUri>
<downloadUri>https://gitgud.io/Ed86/... | jojo1541/rjw | About/Manifest.xml | XML | mit | 349 |
# Environment setup
## RimWorld dependencies
The `.csproj` file has been configured to automatically detect standard Windows, Linux, and macOS Steam install
locations, and should link dependencies regardless of the project's location on your hard drive. If that works for you,
you don't need to read any farther.
Th... | jojo1541/rjw | CONTRIBUTING.md | Markdown | mit | 2,231 |
@ECHO OFF
SET ThisScriptsDirectory=%~dp0
SET PSSctiptName=Deploy OLD.ps1
SET PowerShellScriptPath=%ThisScriptsDirectory%%PSSctiptName%
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%PowerShellScriptPath%'"; | jojo1541/rjw | Deploy/Deploy OLD.bat | Batchfile | mit | 219 |
# Configurable variables
$repo = '..'
$packing = 'rjw_packing'
$outputFormat = '..\..\RJW-{0}.7z'
$internalPath = 'RJW'
$pathsToRemove = '.git', '.gitattributes', '.gitattributes', '.gitignore', '1.1\Source', '1.2\Source', '1.3\Source', '1.4\Source', '1.5\Source', 'Deploy'
[Console]::ResetColor()
... | jojo1541/rjw | Deploy/Deploy OLD.ps1 | PowerShell | mit | 4,054 |
@ECHO OFF
SET scriptDir=%~dp0
SET psScript=Deploy.ps1
SET pwshScriptPath=%scriptDir%%psScript%
pwsh -NoProfile -ExecutionPolicy Bypass -Command "& '%pwshScriptPath%'";
| jojo1541/rjw | Deploy/Deploy.bat | Batchfile | mit | 169 |
# Configurable variables
$repo = '..'
$packing = 'rjw_packing'
$outputFormat = Join-Path -Path '..\..' -ChildPath 'RJW-{0}.7z'
$internalPath = 'RJW'
$pathsToRemove = '.git', '.gitattributes', '.gitignore', (Join-Path -Path '1.1' -ChildPath 'Source'), (Join-Path -Path '1.2' -ChildPath 'Source'), (Jo... | jojo1541/rjw | Deploy/Deploy.ps1 | PowerShell | mit | 4,287 |
#!/usr/bin/env bash
set -e
scriptDir=$(pwd)
scriptName="Deploy.ps1"
scriptPath=$scriptDir/$scriptName
echo "Reminder: p7zip and PowerShell Core are required."
pwsh -NoProfile -ExecutionPolicy Bypass -Command "& '$scriptPath'"
| jojo1541/rjw | Deploy/Deploy.sh | Shell | mit | 227 |
Multiplayer:
https://github.com/Parexy/Multiplayer
=====================================================
desync:
-?
===================================================== | jojo1541/rjw | Multiplayer.txt | Text | mit | 170 |
OwO what's this?
RimjobWorld is a sex mod that overhauls Rimworld loving, mating and pregnancy mechanics.
Mod supports various sex/hentai fetishes.
Mod is highly configurable and most feature turned off by default, so you can go from vanilla experience to your wild fantasies.
Many additional features(submods) c... | jojo1541/rjw | README.md | Markdown | mit | 1,558 |
5.6.0.5
aelina:
Less stupid scaling. Pawns have 0 severity parts until puberty (stage HumanlikePreTeenager for humanlikes, or 0.5 bodySizeFactor), reaching their full size at Adult.
5.6.0.4
amevarashi:
Fix DesignatorsData fill condition
Clear DesignatorsData when loading the save
aelina:
Fix giant/small xenotypes
5... | jojo1541/rjw | changelog.txt | Text | mit | 164,668 |
=========================================
||| RimJobWorld Community Project |||
=========================================
Special thanks to
Void Main Original Author
UnlimitedHugs HugsLib mod library for Rimworld
pardeike Harmony library
Fluffy Architecture Sense mod DLL
Loverslab Housing this ... | jojo1541/rjw | credits.txt | Text | mit | 1,280 |
-The transgender thoughts sometimes disappear if you perform a chain of sex operations on the same pawn.
Probably some oversight in algorithm that gives thoughts on transition (some underthought chaining of effects).
Fix somewhere in the future.
-Whores with untended diseases (flu, herpes, warts) will try hookup and ... | jojo1541/rjw | known_bugs.txt | Text | mit | 600 |
CORE:
add nymph lord ai, so nymphs can behave as visitors
add sex addiction to demonic parts?
add insects dragging pawns to hives
gene inheritance for insect ovis
workgivers(aka manual control):
-workgiver for sex with humpshrooms, increasing their growth by 1 day, causing addiction, temp? humpshroom-penis futa?
-wor... | jojo1541/rjw | todo or not todo.txt | Text | mit | 3,119 |
InlayHints:
Enabled: No
| whupdup/frame | .clangd | none | gpl-3.0 | 25 |
*.swp
*.swo
*.o
*.a
*.exe
*.lib
*.patch
*.spv
*.lock
.cache
.vs
build*/
install*/
out*/
rbxassetcache
*__pycache__*
| whupdup/frame | .gitignore | Git | gpl-3.0 | 118 |
cmake_minimum_required(VERSION 3.14)
include(FetchContent)
project(
RenderGraph VERSION 1.0
LANGUAGES C CXX ASM ASM_MASM
)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
find_package(GTest REQUIRED)
add_library(Common STATIC
"... | whupdup/frame | CMakeLists.txt | Text | gpl-3.0 | 1,880 |
set(FETCHCONTENT_QUIET OFF CACHE BOOL "Enables QUIET operation for all content population" FORCE)
#list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
FetchContent_Declare(
concurrentqueue
GIT_REPOSITORY https://github.com/cameron314/concurrentqueue
GIT_TAG v1.0.3
)
FetchContent_Declare(
glfw
GI... | whupdup/frame | real/CMakeLists.txt | Text | gpl-3.0 | 3,646 |
target_sources(LibCommon PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/indexed_model.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/obj_loader.cpp"
)
| whupdup/frame | real/asset/CMakeLists.txt | Text | gpl-3.0 | 131 |