Compare commits
10 Commits
ba1f0713fe
...
8549eb08de
Author | SHA1 | Date |
---|---|---|
Akiyami Solo | 8549eb08de | |
lutepickle | 4e88184f9b | |
lutepickle | 06ccb04a55 | |
Акиями Соло | cdfe9b44b8 | |
Акиями Соло | b21fc85a29 | |
Акиями Соло | 48f020d832 | |
lutepickle | 23ae342722 | |
lutepickle | 509eeabddc | |
lutepickle | 6fabfd6aaf | |
lutepickle | ebbbf8ee7f |
|
@ -9,7 +9,8 @@
|
|||
|
||||
<GeneDef Name="Menstruation_EggLifetime" Abstract="True">
|
||||
<displayCategory>Menstruation</displayCategory>
|
||||
<exclusionTags>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<exclusionTags>
|
||||
<li>Menstruation_EggLifetime</li>
|
||||
</exclusionTags>
|
||||
</GeneDef>
|
||||
|
@ -18,7 +19,7 @@
|
|||
<defName>Menstruation_ShortEggLifetime</defName>
|
||||
<label>short egg lifetime</label>
|
||||
<description>Unfertilized eggs with this gene last three-quarters as long.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/ShortEggLifetime</iconPath>
|
||||
<biostatMet>1</biostatMet>
|
||||
<displayOrderInCategory>10</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
@ -32,7 +33,7 @@
|
|||
<defName>Menstruation_DoubleEggLifetime</defName>
|
||||
<label>double egg lifetime</label>
|
||||
<description>Unfertilized eggs with this gene last twice as long.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/DoubleEggLifetime</iconPath>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<displayOrderInCategory>12</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
@ -46,7 +47,7 @@
|
|||
<defName>Menstruation_QuadEggLifetime</defName>
|
||||
<label>quadrule egg lifetime</label>
|
||||
<description>Eggs with this gene last four times as long.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/QuadEggLifetime</iconPath>
|
||||
<biostatMet>-2</biostatMet>
|
||||
<biostatCpx>1</biostatCpx>
|
||||
<displayOrderInCategory>16</displayOrderInCategory>
|
||||
|
@ -59,7 +60,8 @@
|
|||
|
||||
<GeneDef Name="Menstruation_Estrus" Abstract="True">
|
||||
<displayCategory>Menstruation</displayCategory>
|
||||
<exclusionTags>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<exclusionTags>
|
||||
<li>Menstruation_Estrus</li>
|
||||
</exclusionTags>
|
||||
</GeneDef>
|
||||
|
@ -68,7 +70,7 @@
|
|||
<defName>Menstruation_NeverEstrus</defName>
|
||||
<label>never estrus</label>
|
||||
<description>Carriers of this gene will never go into estrus.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/NeverEstrus</iconPath>
|
||||
<biostatMet>1</biostatMet>
|
||||
<displayOrderInCategory>20</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
@ -82,7 +84,7 @@
|
|||
<defName>Menstruation_FullEstrus</defName>
|
||||
<label>full estrus</label>
|
||||
<description>Carriers of this gene will enter full estrus every menstrual cycle, regardless of vagina type.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/FullEstrus</iconPath>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<biostatCpx>1</biostatCpx>
|
||||
<displayOrderInCategory>25</displayOrderInCategory>
|
||||
|
@ -95,7 +97,8 @@
|
|||
|
||||
<GeneDef Name="Menstruation_Ovulation" Abstract="True">
|
||||
<displayCategory>Menstruation</displayCategory>
|
||||
<exclusionTags>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<exclusionTags>
|
||||
<li>Menstruation_Ovulation</li>
|
||||
</exclusionTags>
|
||||
</GeneDef>
|
||||
|
@ -104,7 +107,7 @@
|
|||
<defName>Menstruation_DoubleOvulation</defName>
|
||||
<label>double ovulation</label>
|
||||
<description>Carriers of this gene will ovulate twice as many eggs.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/DoubleOvulation</iconPath>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<displayOrderInCategory>30</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
@ -118,7 +121,7 @@
|
|||
<defName>Menstruation_QuadOvulation</defName>
|
||||
<label>quadruple ovulation</label>
|
||||
<description>Carriers of this gene will ovulate four times as many eggs.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/QuadOvulation</iconPath>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<displayOrderInCategory>35</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
@ -133,7 +136,7 @@
|
|||
<label>no bleeding</label>
|
||||
<displayCategory>Menstruation</displayCategory>
|
||||
<description>Carriers of this gene will not bleed at the end of their cycle.</description>
|
||||
<iconPath>UI/Genes/Placeholder</iconPath>
|
||||
<iconPath>UI/Genes/NoBleeding</iconPath>
|
||||
<biostatMet>-1</biostatMet>
|
||||
<displayOrderInCategory>40</displayOrderInCategory>
|
||||
<modExtensions>
|
||||
|
|
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 20 KiB |
|
@ -1,5 +1,4 @@
|
|||
using AlienRace;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using RimWorld;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using System.Collections.Generic;
|
||||
using Verse;
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using RimWorld;
|
||||
using System.Linq;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_Menstruation
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using HarmonyLib;
|
||||
using Mono.Cecil.Cil;
|
||||
using RimWorld;
|
||||
using rjw;
|
||||
using System;
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
using RimWorld;
|
||||
using RimWorld.Planet;
|
||||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.Eventing.Reader;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
using Verse.AI;
|
||||
|
||||
namespace RJW_Menstruation
|
||||
{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using RimWorld;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Verse;
|
||||
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_Menstruation
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
using HarmonyLib;
|
||||
using System.Linq;
|
||||
using RimWorld;
|
||||
using Verse;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using Verse;
|
||||
|
||||
namespace RJW_Menstruation
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
using RimWorld;
|
||||
using rjw;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using Verse;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
using AlienRace;
|
||||
using HarmonyLib;
|
||||
using HarmonyLib;
|
||||
using rjw;
|
||||
using rjw.Modules.Interactions.Internals.Implementation;
|
||||
using rjw.Modules.Interactions.Rules.PartKindUsageRules;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using HarmonyLib;
|
||||
using RimWorld;
|
||||
using rjw;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -276,7 +276,10 @@ namespace RJW_Menstruation
|
|||
float res = 0;
|
||||
if (VariousDefOf.Hediff_Heavy_Lactating_Permanent != null)
|
||||
{
|
||||
if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)) milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("hypermilkable"));
|
||||
if (pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Heavy_Lactating_Permanent)
|
||||
|| pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Permanent)
|
||||
|| pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Natural)
|
||||
|| pawn.health.hediffSet.HasHediff(VariousDefOf.Hediff_Lactating_Drug)) milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("milkablehuman"));
|
||||
else milkcomp = pawn.AllComps.FirstOrDefault(x => x.GetType().ToString().ToLower().Contains("milkable"));
|
||||
}
|
||||
else
|
||||
|
|
|
@ -158,7 +158,7 @@ namespace RJW_Menstruation
|
|||
public static readonly HediffDef Hediff_Lactating_Natural = DefDatabase<HediffDef>.GetNamedSilentFail("Lactating_Natural");
|
||||
public static readonly HediffDef Hediff_Lactating_Permanent = DefDatabase<HediffDef>.GetNamedSilentFail("Lactating_Permanent");
|
||||
public static readonly HediffDef Hediff_Heavy_Lactating_Permanent = DefDatabase<HediffDef>.GetNamedSilentFail("Heavy_Lactating_Permanent");
|
||||
public static readonly JobDef Job_LactateSelf_MC = DefDatabase<JobDef>.GetNamedSilentFail("LactateSelf_MC");
|
||||
public static readonly JobDef Job_LactateSelf_MC = DefDatabase<JobDef>.GetNamedSilentFail("MilkSelf");
|
||||
|
||||
// Defs from Sexperience Ideology
|
||||
public static readonly PreceptDef Pregnancy_Elevated = DefDatabase<PreceptDef>.GetNamedSilentFail("Pregnancy_Elevated");
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Version 1.0.9.4
|
||||
- Added graphics for the menstruation genes with thanks to Alpenglow.
|
||||
- Pawns with the egglaying genes from Erin's Corvyia and Outland - Genetics no longer have a menstrual cycle.
|
||||
|
||||
Version 1.0.9.3
|
||||
|
|