diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index ee61ba1..a227293 100644 Binary files a/1.3/Assemblies/RJW_Menstruation.dll and b/1.3/Assemblies/RJW_Menstruation.dll differ diff --git a/1.3/Defs/Recipe_Surgery/Recipes_Surgery_Breast.xml b/1.3/Defs/Recipe_Surgery/Recipes_Surgery_Breast.xml index b15a8bd..e19496d 100644 --- a/1.3/Defs/Recipe_Surgery/Recipes_Surgery_Breast.xml +++ b/1.3/Defs/Recipe_Surgery/Recipes_Surgery_Breast.xml @@ -7,10 +7,10 @@ Medicine 0.2 400 - false - -
  • Human
  • -
    + false + +
  • Human
  • +
    100
  • @@ -56,10 +56,25 @@ Surgery_ContractNipple - Constract the nipples. + Contract the nipples. RJW_Menstruation.Recipe_ContractNipple contracting nipples - + + Surgery_DarkenNipple + + Darken the nipples. + RJW_Menstruation.Recipe_DarkenNipple + darkening nipples + + + + Surgery_LightenNipple + + Lighten the nipples. + RJW_Menstruation.Recipe_LightenNipple + lightening nipples + + diff --git a/1.3/MilkModule/Assemblies/MilkModule.dll b/1.3/MilkModule/Assemblies/MilkModule.dll index 8adbfd6..7d6e01e 100644 Binary files a/1.3/MilkModule/Assemblies/MilkModule.dll and b/1.3/MilkModule/Assemblies/MilkModule.dll differ diff --git a/1.3/SexperienceModule/Assemblies/SexperienceModule.dll b/1.3/SexperienceModule/Assemblies/SexperienceModule.dll index 9a21a19..63289ff 100644 Binary files a/1.3/SexperienceModule/Assemblies/SexperienceModule.dll and b/1.3/SexperienceModule/Assemblies/SexperienceModule.dll differ diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs index d0ba153..57d6e5a 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs @@ -349,6 +349,12 @@ namespace RJW_Menstruation UpdateNipples(); } + public void AdjustNippleColorImmediately(float amount) + { + baseAlpha = Mathf.Clamp01(baseAlpha + amount); + UpdateNipples(); + } + public void AdjustAreolaSizeImmediately(float amount) { baseAreola = Mathf.Clamp01(baseAreola + amount); diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/Recipe_Surgery.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/Recipe_Surgery.cs index 154ffe5..6473ac4 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/Recipe_Surgery.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/Recipe_Surgery.cs @@ -69,4 +69,20 @@ namespace RJW_Menstruation breast.AdjustNippleSizeImmediately(-0.2f); } } + + public class Recipe_DarkenNipple : Recipe_BreastSurgery + { + protected override void SurgeryResult(HediffComp_Breast breast) + { + breast.AdjustNippleColorImmediately(0.2f); + } + } + + public class Recipe_LightenNipple : Recipe_BreastSurgery + { + protected override void SurgeryResult(HediffComp_Breast breast) + { + breast.AdjustNippleColorImmediately(-0.2f); + } + } } diff --git a/changelogs.txt b/changelogs.txt index 1cb8910..6f5e70f 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -8,6 +8,7 @@ Version 1.0.7.5 - Properly calculate cramp pain falloff again. - Climacteric and menopause are now per-womb, appearing in the womb dialog instead of as hediffs. Any old hediffs should disappear upon loading the save. - Added new property to vaginas to multiply the number of eggs available. Archotech vaginas will have quadruple the normal amount. + - Add new surgery to lighten and darken nipples. - Support for Animal Genetics (Continued) when using multiple pregnancy. Version 1.0.7.4