diff --git a/Common/Defs/Xenotypes/Xenotype_Lifeforce.xml b/Common/Defs/Genes/Xenotype_Lifeforce.xml
similarity index 100%
rename from Common/Defs/Xenotypes/Xenotype_Lifeforce.xml
rename to Common/Defs/Genes/Xenotype_Lifeforce.xml
diff --git a/Common/Patches/Xenotypes/PatchVREPhytokin.xml b/Common/Patches/Xenotypes/PatchVREPhytokin.xml
index 36ab4ed..af7d43c 100644
--- a/Common/Patches/Xenotypes/PatchVREPhytokin.xml
+++ b/Common/Patches/Xenotypes/PatchVREPhytokin.xml
@@ -1,51 +1,50 @@
-
-
- Vanilla Races Expanded - Phytokin
-
-
- Defs/XenotypeDef[defName="VRE_Poluxkin"]/genes
-
- rjw_genes_tight_female_genitalia
- rjw_genes_tight_anus
- rjw_genes_elasticity
- rjw_genes_bisexual
-
-
-
-
+
+
+
+
+ Vanilla Races Expanded - Phytokin
+
+
+ Defs/XenotypeDef[defName="VRE_Poluxkin"]/genes
+
+ rjw_genes_tight_female_genitalia
+ rjw_genes_tight_anus
+ rjw_genes_elasticity
+ rjw_genes_bisexual
+
+
+
+
+
+ Vanilla Races Expanded - Phytokin
+
+
+ Defs/XenotypeDef[defName="VRE_Gauranlenkin"]/genes
+
+ rjw_genes_tight_female_genitalia
+ rjw_genes_tight_anus
+ rjw_genes_elasticity
+ rjw_genes_bisexual
+
+
+
-
-
-
- Vanilla Races Expanded - Phytokin
-
-
- Defs/XenotypeDef[defName="VRE_Gauranlenkin"]/genes
-
- rjw_genes_tight_female_genitalia
- rjw_genes_tight_anus
- rjw_genes_elasticity
- rjw_genes_bisexual
-
-
-
-
-
-
-
-
- Vanilla Races Expanded - Phytokin
-
-
- Defs/XenotypeDef[defName="VRE_Animakin"]/genes
-
- rjw_genes_tight_female_genitalia
- rjw_genes_tight_anus
- rjw_genes_elasticity
- rjw_genes_bisexual
-
-
+
+
+ Vanilla Races Expanded - Phytokin
+
+
+ Defs/XenotypeDef[defName="VRE_Animakin"]/genes
+
+ rjw_genes_tight_female_genitalia
+ rjw_genes_tight_anus
+ rjw_genes_elasticity
+ rjw_genes_bisexual
+
+
+
+
\ No newline at end of file
diff --git a/Source/Genes/Life_Force/IngestionOutcomeDoer_LifeForceOffset.cs b/Source/Genes/Life_Force/IngestionOutcomeDoer_LifeForceOffset.cs
index fdfdefd..a853abe 100644
--- a/Source/Genes/Life_Force/IngestionOutcomeDoer_LifeForceOffset.cs
+++ b/Source/Genes/Life_Force/IngestionOutcomeDoer_LifeForceOffset.cs
@@ -8,15 +8,17 @@ namespace RJW_Genes
///
public class IngestionOutcomeDoer_LifeForceOffset : IngestionOutcomeDoer
{
- public const float FERTILIN_PER_UNIT = 1f;
+ public const float DEFAULT_FERTILIN_PER_UNIT = 1f;
+ public float FertilinPerUnit = 1f;
protected override void DoIngestionOutcomeSpecial(Pawn pawn, Thing ingested)
{
if (GeneUtility.HasLifeForce(pawn) && GeneUtility.IsCumEater(pawn))
{
- float num = ingested.stackCount * FERTILIN_PER_UNIT / 100;
+ float num = ingested.stackCount * this.FertilinPerUnit / 100;
GeneUtility.OffsetLifeForce(GeneUtility.GetLifeForceGene(pawn), num);
}
}
+
}
}
diff --git a/Source/Genes/Life_Force/JobGivers/JobGiver_GetLifeForce.cs b/Source/Genes/Life_Force/JobGivers/JobGiver_GetLifeForce.cs
index 3c0eff6..fdd7279 100644
--- a/Source/Genes/Life_Force/JobGivers/JobGiver_GetLifeForce.cs
+++ b/Source/Genes/Life_Force/JobGivers/JobGiver_GetLifeForce.cs
@@ -39,7 +39,7 @@ namespace RJW_Genes
{
return null;
}
- int num = Mathf.RoundToInt(((gene_lifeforce.targetValue - gene_lifeforce.Value) * 100 + 10) / IngestionOutcomeDoer_LifeForceOffset.FERTILIN_PER_UNIT);
+ int num = Mathf.RoundToInt(((gene_lifeforce.targetValue - gene_lifeforce.Value) * 100 + 10) / IngestionOutcomeDoer_LifeForceOffset.DEFAULT_FERTILIN_PER_UNIT);
if (gatheredCum != null && num > 0)
{
Job job = JobMaker.MakeJob(RimWorld.JobDefOf.Ingest, gatheredCum);