Jump to content

[mod] RJW Menstruation


Recommended Posts

20210209224034.jpg.f2885b5e262777d72a3890ad4cd50f2b.jpg

JobDriver threw exception in initAction for pawn AA_Cinderlisk437659 driver=JobDriver_Breeding (toilIndex=2) driver.job=(Breed (Job_1422198) A=Thing_Human1112)
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <567df3e0919241ba98db88bec4c6696f>:0 
  at rjw.SexUtility.SelectSextype (Verse.Pawn pawn, Verse.Pawn partner, System.Boolean rape, System.Boolean whoring, Verse.Pawn receiving, System.Collections.Generic.List`1[T] sexScores) [0x00220] in <dfb88f34960c4d7d980c5fa14d00ab6d>:0 
  at (wrapper dynamic-method) rjw.JobDriver_SexBaseInitiator.rjw.JobDriver_SexBaseInitiator.Start_Patch2(rjw.JobDriver_SexBaseInitiator)

 

 

In cum time, the background will report the wrong scarlet letter

Link to comment
12 hours ago, amrolee said:

20210209224034.jpg.f2885b5e262777d72a3890ad4cd50f2b.jpg

JobDriver threw exception in initAction for pawn AA_Cinderlisk437659 driver=JobDriver_Breeding (toilIndex=2) driver.job=(Breed (Job_1422198) A=Thing_Human1112)
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <567df3e0919241ba98db88bec4c6696f>:0 
  at rjw.SexUtility.SelectSextype (Verse.Pawn pawn, Verse.Pawn partner, System.Boolean rape, System.Boolean whoring, Verse.Pawn receiving, System.Collections.Generic.List`1[T] sexScores) [0x00220] in <dfb88f34960c4d7d980c5fa14d00ab6d>:0 
  at (wrapper dynamic-method) rjw.JobDriver_SexBaseInitiator.rjw.JobDriver_SexBaseInitiator.Start_Patch2(rjw.JobDriver_SexBaseInitiator)

 

 

In cum time, the background will report the wrong scarlet letter

 

That's RJW's error code. Not this mod.

Link to comment
On 2/1/2021 at 10:01 AM, motd1233 said:

RJW Menstruation [WIP]


Note - I didn't make any of artwork in this mod. i got them from other open source  project h-game, violated heroine.

Note - If this mode not working with your race, just let me know your race's vagina type.

 

Description

 

 This mod replace RJW's impregnation method and simulate menstruation cycle of human female.

 

 

Features

 

  • Cum and egg tracker - tracks fluids and eggs in womb and simulate fertilization and implantation. this makes female get pregnant in certain period
  • H-game style status window and icon - display detailed informations of womb. you can turn off this in mod settings.
  • Hyperfertility pills makes pawn ovulate instantly if pawn is in follicular or luteal state.
  • Race specific cum and fetus image (only human race in this mod for now. you can make custom fetus image)
  • Get mood debuffs and effects during in period.
  • Climacteric effects

 

 

Race Compatibility

 

  This mod will work well if your race mod uses RJW's human vagina. If not, you can make patch file using xml code in below

 

  Reveal hidden contents


<!-- one cycle = folicularIntervalDays + lutealIntervalDays -->
<!-- folicularIntervalDays includes bleedingIntervalDays.  -->
<!-- bleedingIntervalDays must be smaller than folicularIntervalDays  -->
<!-- unit of maxCumCapacity is ml -->

<Patch>
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/rjw.HediffDef_PartBase[defName="Vagina"]</xpath>
		<value>
			<comps>
				<li Class="RJW_Menstruation.CompProperties_Menstruation">
					<maxCumCapacity>500</maxCumCapacity>
					<baseImplantationChanceFactor>1.0</baseImplantationChanceFactor>
					<basefertilizationChanceFactor>1.0</basefertilizationChanceFactor>
					<deviationFactor>0.05</deviationFactor>
					<folicularIntervalDays>14</folicularIntervalDays>
					<lutealIntervalDays>14</lutealIntervalDays>
					<bleedingIntervalDays>6</bleedingIntervalDays>
					<recoveryIntervalDays>10</recoveryIntervalDays>
					<eggLifespanDays>3</eggLifespanDays>
					<wombTex>Womb/Womb</wombTex>
					<vagTex>Genitals/Vagina</vagTex>
					<ovaryPower>420</ovaryPower>
				</li>
			</comps>
		</value>
	</Operation>
  
  	<Operation Class="PatchOperationAdd">
		<xpath>Defs/rjw.HediffDef_PartBase[defName="HydraulicVagina"]</xpath>
		<value>
			<comps>
				<li Class="RJW_Menstruation.CompProperties_Menstruation">
					<maxCumCapacity>500</maxCumCapacity>
					<wombTex>Womb/Womb</wombTex>
					<vagTex>Genitals/BionicVagina</vagTex>
					<infertile>true</infertile>
				</li>
			</comps>
		</value>
	</Operation>
  
  	<Operation Class="PatchOperationAdd">
		<xpath>Defs/rjw.HediffDef_PartBase[defName="Anus"]</xpath>
		<value>
			<comps>
				<li Class="RJW_Menstruation.CompProperties_Anus">
					<analTex>Genitals/Anal</analTex>
				</li>
			</comps>
		</value>
	</Operation>

 

 

And add custom fetus image and cum color using codes in below

 

  Reveal hidden contents


<Defs>
  <RJW_Menstruation.DNADef>
    <defName>Human</defName> <!-- write race defName -->
    <label>human fetus</label>
	<fetusTexPath>Fetus/Fetus_Default</fetusTexPath>
	<cumColor>(255,255,255,255)</cumColor> <!-- RGBA -->
	<cumTickness>0.2</cumTickness> <!-- 1.0 = never natural flow out. if this value get over 1.0, cum will propagation self in womb -->
  </RJW_Menstruation.DNADef>
</Defs>

 

 

 

juskom95 wrote some patches for other races. if you are using RJW Race Support, put these files below in Patches folder.

 

 

 

 

Requirements

 


hi, could you adapt the menstruation mod to rimworld version 1.2?

 

Changelogs

 

  Reveal hidden contents

Version 1.0.0.10
 - fixed cycle acceleration option was not saved.
 - cum capacity decreased greatly.
 - blood amount during in period decreased.

 

Version 1.0.0.9

*Note* Remove this mod files before update
 - update for RJW 4.6.0 (if you didn't update RJW, you don't need to update this mod)
   - removed patch file for IUD.

 

Version 1.0.0.8
 - added option for disable menopause.

Version 1.0.0.7
 - fixed errors when attatch new vagina.
 - ovulation stage produces multiple eggs and number of eggs are determined by race's litter size curve.
   - but still, only one egg can proceed to pregnancy.
 - added new attribute ovaryPower to CompProperties_Menstruation.
   - default value is almost unlimited that never comes menopause.
   - every ovulation decreases ovaryPower.
   - when ovaryPower is low, climacteric begins.
   - during in climacteric, cycles become irregular and lose fertility in progress.
   - ovulation using hyperfertility pills consumes ovaryPower double times.
   - hyperfertility pills decrease additional ovaryPower (abuse of hyperfertility pills will cause premature menopause)
   - climacteric and menopause decrease sex drive and satisfaction.
 - added ovary regeneration pill that can prevent climacteric.  
   - ovary regeneration pill increases 30% of ovaryPower. (no limit, cannot cure climacteric)
 - in period hediff decrease sex drive and satisfaction.

Version 1.0.0.6
 - if pawn is fertility stat is 0, stage is fixed at none.
 - added option for fetus information level.
   - depend on information level, pregnant stage display as luteal stage
 - rewrote misspelled DNADef attribute and mod title in mod settings

Version 1.0.0.5
 - womb cum capacity is affected by pawn's bodysize
 - changed cum volume calculate method.
   - cum volume is affected by pawn's bodysize
   - generic cum volume decreased.
   - if pawn has messy quirk, cum volume increases 4~8times.
 - cum textures are dependent on womb texture

Version 1.0.0.4

 - fixed errors when runtimeGC removed pawns in cum list.

 - added menstrual cramp - now pawns will get mood debuff during in period

 - merged some stages into one stage

Version 1.0.0.3

 - fixed sometimes hediffcomp stops working.

 - changed initializing method

 - added patches for generic vagina and dragon vagina

Version 1.0.0.2

 - add options for turn on/off vagina/womb image in status window

Version 1.0.0.1

 - supports for other type of vagina

 - custom images support for vagina&anus

 

 

 


 

 

Link to comment

Error when feeding hyperfert pill to male pawn (newest rjw + newest mentruation mod):

 



JobDriver threw exception in initAction for pawn Jojo driver=JobDriver_DoBill (toilIndex=25) driver.job=(DoBill (Job_13372862) A=Thing_Alien_Leeani2933866 B=Thing_RJW_FertPill3489663 C=(102, 0, 79))
System.NullReferenceException: Object reference not set to an instance of an object.
  at RJW_Menstruation.FertPillOutcomDoer.DoIngestionOutcomeSpecial (Verse.Pawn pawn, Verse.Thing ingested) [0x00024] in <863a8271bd61444aa511333f37383235>:0
  at RimWorld.IngestionOutcomeDoer.DoIngestionOutcome (Verse.Pawn pawn, Verse.Thing ingested) [0x0000d] in <6326ac03f61f45efb3178f3bfd084139>:0
  at (wrapper dynamic-method) Verse.Thing.Verse.Thing.Ingested_Patch1(Verse.Thing,Verse.Pawn,single)
  at RimWorld.Recipe_AdministerIngestible.ApplyOnPawn (Verse.Pawn pawn, Verse.BodyPartRecord part, Verse.Pawn billDoer, System.Collections.Generic.List`1[T] ingredients, RimWorld.Bill bill) [0x00035] in <6326ac03f61f45efb3178f3bfd084139>:0
  at RimWorld.Bill_Medical.Notify_IterationCompleted (Verse.Pawn billDoer, System.Collections.Generic.List`1[T] ingredients) [0x00029] in <6326ac03f61f45efb3178f3bfd084139>:0
  at Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__0 () [0x000bb] in <6326ac03f61f45efb3178f3bfd084139>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <6326ac03f61f45efb3178f3bfd084139>:0
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.<>c__DisplayClass2_0:<DoRecipeWork>b__1()
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch3(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:Verse.Game.UpdatePlay_Patch2(Game)
Verse.Root_Play:Update()

 

You've made some nice improvements. Thanks :3

Link to comment

@motd1233 This is an awesome mod that I've been having fun so thanks for bringing it to us. I have a request for consideration if possible.

 

- An option so one can decide if we want period blood to be shown on the floors of our bases or alternatively if we were able to craft tampons/pads for female colonists to wear for periods that will absorb the blood and prevent blood from appearing on the floors of bases, they will need to be replaced as needed, used ones burnt in furnace, discarded, buried etc.

Link to comment

It seems that pawns that are in period cant satisfy their sex need and that causes them to be stuck in never ending raping loop (as if not bug but they cant refill their sex need and start to rape everything to refill it but they cant ) i suggest to revert sex satisfaction debuff and instead add vulnerability debuff

Link to comment
10 hours ago, Montyi said:

It seems that pawns that are in period cant satisfy their sex need and that causes them to be stuck in never ending raping loop (as if not bug but they cant refill their sex need and start to rape everything to refill it but they cant ) i suggest to revert sex satisfaction debuff and instead add vulnerability debuff

 

I think adjusting vulnerability stat is not proper to adjust sex drive. Instead, i will decrease satisfaction debuff and set sex need for it.

 

4 hours ago, imer888 said:

first hour I wanted to say that it is a very good mod and that it promises, but could you adapt it to version 1.2?

 

This mod is already 1.2.

 

17 minutes ago, Cutbone66 said:

Is the planned cumflaiton going to conflict with the cumflation in Licentia Labs?

 

No, It won't.

Link to comment
4 hours ago, shuppy19 said:

how can we get tampon and pads ? 

 

At a tailoring bench/table.

You can select which materials to make them out of but it seems to not matter in terms of Absorbable stat or quality, you won't be making Masterwork Tampons lol.

 

1.png.0b6a1420fe414b8607bc05d797fe828a.png 2.png.b256fbc0da8eb62dd26cd440e8deef72.png

 

@motd1233 Thank you for putting in tampons and pads! be nice if women got a little mood boost from wearing a pad during a period better than leaking blood down their legs.

The market prices for them are fairly high? my colony could become very rich by just focusing on and selling sanitary pads which in terms of balance could be cheaty.

 

 

3.png.bf9961946258dd00a30e14dfebee9e2d.png

Link to comment
3 hours ago, 7KeysCurtain said:

 

At a tailoring bench/table.

You can select which materials to make them out of but it seems to not matter in terms of Absorbable stat or quality, you won't be making Masterwork Tampons lol.

 

1.png.0b6a1420fe414b8607bc05d797fe828a.png 2.png.b256fbc0da8eb62dd26cd440e8deef72.png

 

@motd1233 Thank you for putting in tampons and pads! be nice if women got a little mood boost from wearing a pad during a period better than leaking blood down their legs.

The market prices for them are fairly high? my colony could become very rich by just focusing on and selling sanitary pads which in terms of balance could be cheaty.

 

 

3.png.bf9961946258dd00a30e14dfebee9e2d.png

 

That's because synthread is quite expensive fabric in rimworld.  It's law material value is $40.

 

The mood debuffs will be added soon.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use