mirror of
https://gitgud.io/Ed86/rjw-std.git
synced 2026-06-18 13:26:02 +00:00
Compare commits
No commits in common. "70525e692e1eca6288b9d402dff9d618ae74623c" and "09fd18354af1681bedb6db39429381990b7a10b8" have entirely different histories.
70525e692e
...
09fd18354a
5 changed files with 12 additions and 23 deletions
Binary file not shown.
|
|
@ -31,8 +31,8 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="0Harmony">
|
||||
<HintPath>..\..\..\..\..\..\..\workshop\content\294100\2009463077\Current\Assemblies\0Harmony.dll</HintPath>
|
||||
<Reference Include="0Harmony, Version=2.3.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Lib.Harmony.2.3.3\lib\net472\0Harmony.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Assembly-CSharp">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="RJW">
|
||||
<HintPath>..\..\..\..\rjw-master\1.5\Assemblies\RJW.dll</HintPath>
|
||||
<HintPath>..\..\..\..\rjw\1.5\Assemblies\RJW.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ using HarmonyLib;
|
|||
using System;
|
||||
using rjw;
|
||||
using RimWorld;
|
||||
using rjw.Modules.Interactions.Helpers;
|
||||
|
||||
namespace rjwstd
|
||||
{
|
||||
|
|
@ -25,7 +24,7 @@ namespace rjwstd
|
|||
{
|
||||
foreach (Hediff hed in Parts)
|
||||
{
|
||||
if (!(HediffHelper.IsNaturalSexPart(hed.def)))
|
||||
if (!(hed is Hediff_PartBaseNatural))
|
||||
continue;
|
||||
|
||||
var boob = pawn.health.hediffSet.GetFirstHediffOfDef(boobitis.hediff_def).Severity;
|
||||
|
|
@ -38,23 +37,14 @@ namespace rjwstd
|
|||
var hedstage = hed.CurStageIndex;
|
||||
//GenderHelper.ChangeSex(pawn, () =>
|
||||
//{
|
||||
|
||||
HediffComp_SexPart part = hed.TryGetComp<HediffComp_SexPart>();
|
||||
part.UpdateSeverity(hed.Severity + boob * 0.01f); // ~0.7 beast grow
|
||||
|
||||
hed.Severity += boob * 0.01f; // ~0.7 beast grow
|
||||
//});
|
||||
|
||||
|
||||
/*
|
||||
* The cup size doesn't increase with the severity change, not sure if its RJW itself or something here. - Nalzurin
|
||||
*/
|
||||
if (hedstage < hed.CurStageIndex)
|
||||
if (hedstage < hed.CurStageIndex)
|
||||
{
|
||||
|
||||
PartSizeCalculator.TryGetCupSize(hed, out float size);
|
||||
PartSizeExtension.TryGetCupSize(hed, out float size);
|
||||
var cupSize = (int)size;
|
||||
var cup = BraSizeConfigDef.GetCupSizeLabel(cupSize);
|
||||
|
||||
var cup = PartStagesDef.GetCupSizeLabel(cupSize);
|
||||
|
||||
string message_title = boobitis.LabelCap;
|
||||
string message_text = "RJW_BreastsHaveGrownFromBoobitis".Translate(xxx.get_pawnname(pawn), pawn.Possessive(), hed.def.label.ToLower(), cup, boobitis.LabelCap).CapitalizeFirst();
|
||||
|
|
|
|||
|
|
@ -41,14 +41,14 @@ namespace rjwstd
|
|||
}
|
||||
public static bool PartsImmune(Pawn pawn, List<Hediff> list = null)
|
||||
{
|
||||
List<string> tagslist;
|
||||
List<string> propslist;
|
||||
if (!list.NullOrEmpty())
|
||||
if (list.Any())
|
||||
foreach (var y in list)
|
||||
{
|
||||
tagslist = ((HediffDef_SexPart)y.def).partTags;
|
||||
if (!tagslist.NullOrEmpty())
|
||||
if (tagslist.Contains("STDImmune"))
|
||||
PartProps.TryGetProps(y, out propslist);
|
||||
if (!propslist.NullOrEmpty())
|
||||
if (propslist.Contains("STDImmune"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<ModMetaData>
|
||||
<modVersion IgnoreIfNoMatchingField="True">1.0</modVersion>
|
||||
<name>RimJobWorld - STD</name>
|
||||
<author>Ed86</author>
|
||||
<url>https://gitgud.io/Ed86/rjw-std</url>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue