diff --git a/CHANGELOG.md b/CHANGELOG.md index 7431d05..bf19239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -128,6 +128,8 @@ Because this is the genes mod, and I find things here quite robust. - Gene: Blocked Masturbation. Pawns cannot masturbate. - {Sexperience} Gene: Living Cumbucket. Pawns with this Gene get "filled" upon sex, and slowly disperse usable gathered cum. - Disease Gene: Infectious Blocked Masturbation +- Gene: Rut. Pawns have a chance to go into heat and need more sex for a day. (Default: 5% chance per day, to go 1 day in heat). +- Disease Gene: Infectious Rut. - Pawns will have negative thoughts about pawns with more genetic diseases than themselves. - Faction Penalties for spreading diseases, stealing genes and aging pawns with age transfer - Patch for [Imphilee Xeno](https://steamcommunity.com/sharedfiles/filedetails/?id=2990674516) by @Bunuffin @@ -178,7 +180,8 @@ Its just meant if you want to drop me a tip. **Since Beta-1** (11-07-2024) - Made the Feminizer and Twinkifier configurable with XML. -- Typos in the Hediff Defs, tweaking of some values. +- Typos in the Hediff Defs, tweaking of some values. +- Living Cum-Bucket & Rut Genes # 2.1.0 (27-06-2024) diff --git a/Common/Defs/GeneDefs/GeneDefs_Breeding.xml b/Common/Defs/GeneDefs/GeneDefs_Breeding.xml index bf67228..c4a4080 100644 --- a/Common/Defs/GeneDefs/GeneDefs_Breeding.xml +++ b/Common/Defs/GeneDefs/GeneDefs_Breeding.xml @@ -41,7 +41,8 @@ rjw_genes_fertile_anus - Xenotypes with this gene have a functional uterus if they do not possess one by means of their vagina. + Xenotypes with this gene have a functional uterus if they do not possess one by + means of their vagina. For males, it is connected to the anal cavity and leads to a normal pregnancy. Genes/Icons/Fertile_anus 54 @@ -115,7 +116,8 @@ rjw_genes_hardwired_progenity - Carriers of this gene need to procreate. They suffer negative effects if they are childless, and have increased capabilities if they reach a high amount of offsprings. + Carriers of this gene need to procreate. They suffer negative effects if they are + childless, and have increased capabilities if they reach a high amount of offsprings. Genes/Icons/RJW_Genes_PheromoneSpit 70 @@ -150,4 +152,23 @@ 0 + + rjw_genes_basic_rut + + Carriers of this gene can enter a state of heat, resulting in drastically higher + sexual activity. + UI/Icons/ColonistBar/Idle + 1 + 1 + 11 + RJW_Genes.Gene_Rut + +
  • + + 60000 + 0.05 +
  • +
    +
    + \ No newline at end of file diff --git a/Common/Defs/GeneDefs/GeneDefs_Diseases.xml b/Common/Defs/GeneDefs/GeneDefs_Diseases.xml index a4afbd0..f0ed2b8 100644 --- a/Common/Defs/GeneDefs/GeneDefs_Diseases.xml +++ b/Common/Defs/GeneDefs/GeneDefs_Diseases.xml @@ -304,4 +304,28 @@
    + + + rjw_genes_infectious_rut + + Carriers of this gene can enter a state of heat, resulting in drastically higher + sexual activity. + UI/Icons/ColonistBar/Idle + 1 + 2 + 11 + RJW_Genes.Gene_Rut + +
  • + + 60000 + 0.05 +
  • +
  • + 0.1 +
  • +
    +
    + + \ No newline at end of file diff --git a/Common/Defs/HediffDefs/Hediffs_Rut.xml b/Common/Defs/HediffDefs/Hediffs_Rut.xml new file mode 100644 index 0000000..6c6ac10 --- /dev/null +++ b/Common/Defs/HediffDefs/Hediffs_Rut.xml @@ -0,0 +1,51 @@ + + + + rjw_genes_genetic_rut + HediffWithComps + + Based on genetics, this pawn is in heat. + (240,200,110) + false + 1.0 + false + false + +
  • + -1.00 +
  • +
    + +
  • + + + 0.50 + + +
  • + BloodPumping + 0.1 +
  • + + +
  • + + 0.4 + + 2.00 + + +
  • + Moving + 0.1 +
  • +
  • + BloodPumping + 0.15 +
  • + + +
    +
    + +
    \ No newline at end of file diff --git a/Source/GeneDefOf.cs b/Source/GeneDefOf.cs index 7b0b2fc..c410aea 100644 --- a/Source/GeneDefOf.cs +++ b/Source/GeneDefOf.cs @@ -75,6 +75,7 @@ namespace RJW_Genes public static readonly GeneDef rjw_genes_insectincubator; public static readonly GeneDef rjw_genes_hardwired_progenity; public static readonly GeneDef rjw_genes_blocked_masturbation; + public static readonly GeneDef rjw_genes_basic_rut; // Cum public static readonly GeneDef rjw_genes_no_cum; @@ -142,6 +143,7 @@ namespace RJW_Genes public static readonly GeneDef rjw_genes_infectious_hypersexuality; public static readonly GeneDef rjw_genes_stretcher; public static readonly GeneDef rjw_genes_infectious_blocked_masturbation; + public static readonly GeneDef rjw_genes_infectious_rut; //Other Defs public static readonly XenotypeDef rjw_genes_succubus; diff --git a/Source/Genes/Breeding/Genes/Gene_Rut.cs b/Source/Genes/Breeding/Genes/Gene_Rut.cs new file mode 100644 index 0000000..9240dcd --- /dev/null +++ b/Source/Genes/Breeding/Genes/Gene_Rut.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Verse; + +namespace RJW_Genes +{ + public class Gene_Rut : Gene + { + public override void Tick() + { + base.Tick(); + + if (pawn == null || pawn.genes == null) + return; + + var chanceExtension = this.def.GetModExtension(); + if (chanceExtension == null) return; + + if (pawn.IsHashIntervalTick(chanceExtension.tickInterval)){ + Random r = new Random(); + if (r.NextDouble() < chanceExtension.eventChance) + { + Hediff rut = pawn.health.GetOrAddHediff(HediffDefOf.rjw_genes_genetic_rut); + rut.Severity = 1; + ModLog.Debug($"Pawn {pawn} gained rjw_genes_genetic_rut based on chance."); + } + } + } + } +} diff --git a/Source/HediffDefOf.cs b/Source/HediffDefOf.cs index 2cc03fc..e06d6fc 100644 --- a/Source/HediffDefOf.cs +++ b/Source/HediffDefOf.cs @@ -23,6 +23,8 @@ namespace RJW_Genes public static readonly HediffDef rjw_genes_twinkification_progress; public static readonly HediffDef rjw_genes_feminization_progress; + public static readonly HediffDef rjw_genes_genetic_rut; + // Note: Counter does meant it counters it, not it's counting [MayRequire("LustLicentia.RJWLabs")] public static readonly HediffDef rjw_genes_cumstuffed_counter; [MayRequire("LustLicentia.RJWLabs")] public static readonly HediffDef rjw_genes_cumflation_counter; diff --git a/Source/Rjw-Genes.csproj b/Source/Rjw-Genes.csproj index 05e2ed3..ddfa721 100644 --- a/Source/Rjw-Genes.csproj +++ b/Source/Rjw-Genes.csproj @@ -81,6 +81,7 @@ +