mirror of
https://gitgud.io/Stardust3D/rjw-plasticsurgeries.git
synced 2024-08-14 23:57:25 +00:00
dyspareunia support for vaginoplasty
This commit is contained in:
parent
d6114f8de0
commit
05caabf067
6 changed files with 14 additions and 4 deletions
Binary file not shown.
|
@ -20,6 +20,11 @@
|
|||
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
|
||||
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
|
||||
</li>
|
||||
<li>
|
||||
<packageId>NuttySquabble.Dyspareunia</packageId>
|
||||
<displayName>Dyspareunia</displayName>
|
||||
<downloadUrl>https://gitgud.io/NuttySquabble/Dyspareunia</downloadUrl>
|
||||
</li>
|
||||
</modDependencies>
|
||||
<loadAfter>
|
||||
<li>Ludeon.RimWorld</li>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
<Manifest>
|
||||
<identifier>RJW PlasticSurgeries</identifier>
|
||||
<version>4942.0.1.0</version>
|
||||
<version>4942.0.1.1</version>
|
||||
</Manifest>
|
Binary file not shown.
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("4942.0.1.0")]
|
||||
[assembly: AssemblyFileVersion("4942.0.1.0")]
|
||||
[assembly: AssemblyVersion("4942.0.1.1")]
|
||||
[assembly: AssemblyFileVersion("4942.0.1.1")]
|
|
@ -1,6 +1,7 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using System.Collections.Generic;
|
||||
using Dyspareunia;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_PlasticSurgeries
|
||||
|
@ -31,7 +32,11 @@ namespace RJW_PlasticSurgeries
|
|||
|
||||
protected void SurgeryResult(Pawn pawn)
|
||||
{
|
||||
pawn.GetGenitalsList().FindAll(Genital_Helper.is_vagina).ForEach(hed => hed.Severity *= 0.75f);
|
||||
pawn.GetGenitalsList().FindAll(Genital_Helper.is_vagina).ForEach(hed =>
|
||||
{
|
||||
hed.Severity *= 0.75f;
|
||||
PenetrationUtility.AddDamageHediff(Dyspareunia.DamageDefOf.SexStretch, 0.5f, hed, null);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue