Jump to content

[Mod]Pregmod+SWP Side Effects


Recommended Posts

  • 2 weeks later...
  • 4 weeks later...

There was some significant errors that were sorted out in the version I just uploaded, should hopefully be functional again.

9 hours ago, mijhy said:

You get a pink error about an array when you hover over the pill icon, directly after you take a pill with the mod enabled. I think it sorts itself out after a couple  of time advances

This should hopefully be fixed in the latest version, it has to do with when the womb generation happens. There's some edge cases where a pill wears off, and then the player takes a new pill at the same time slot, where there may errors that I haven't found.

Link to comment

I had trouble getting my character pregnant on the latest version. What fixed it for me was changing the passage tag of `:: Player Fertilization Check` from `advance_day_post` to `nightly`. Seems to me like the passage with the tag `advance_day_post`  was never executed or the changed variables somewhere lost their value. I have the latest game version also so the passage tag should be available. Does anybody have the same problem?

Link to comment
17 hours ago, Rogell said:

I had trouble getting my character pregnant on the latest version. What fixed it for me was changing the passage tag of `:: Player Fertilization Check` from `advance_day_post` to `nightly`. Seems to me like the passage with the tag `advance_day_post`  was never executed or the changed variables somewhere lost their value. I have the latest game version also so the passage tag should be available. Does anybody have the same problem?

 

It worked fine for me but I had also modified the code a bit in my own file.

 

(for: each _spermnum, ...(range:1,$cum_amount))[
  (set:_spermage to 0)
  (set:_spermresiliance to ($npc's "cumresiliance") - 1 + (random:0,2))
  (set:_spermmotility to ($npc's "cumvigor") - 1 + (random:0,2))
  (set:_currsperm to (dm:"npc",$npc,"age",_spermage,"resiliance",_spermresiliance,"motility",_spermmotility))
  (set:_loadinwomb to it + (a:(_currsperm)))
  (set:_spermnum to it + 1)
]

 

I believe (set:_spermnum to it + 1) should not be there

 

I shortened the code to calculate $ovulationsoon for fun. It just loops through the next 4 cycles, being sure to mod back to 1 if it hits it

 

  :: Fertility Desc
  ...
  (else:)[
      <!--If any of next 4 days are ovulation-->
      (set:$ovulationsoon to 0)
      (set:_nextstage to $placeincycle)

      (for: each _i, ...(range:1,4))[
        (set:_nextstage to (it + 1))
        (if:(_nextstage > (length of "cycle" of $character's "womb")))[
          (set:_nextstage to 1)
        ]
        (if:((_nextstage) of "cycle" of $character's "womb") is 4)[
          (set:$ovulationsoon to 1)
        ]
      ]
      ...


You could save the code a lot of memory by just storing NPC's data in the womb once, and having sets of loads grouped underneath them. Rather than having the full NPC data stored once for each load. Although this would involve some re-organising and making sure to 'pick out loads randomly' when checking fertilization for fairness' sake ? harlowe is a funny language, gets a bit wordy for nested data structures

 

I also merged Pregmod's and BR Pill's code in sex creampie and it pretty much works, except I have a bug where 'contractual sex' sometimes the creampie dialogue is run through instantly (the behaviour runs but you don't get to see anything) and now I'm not sure if it's one of the mod's fault or my own ? I noted the BR Pill mod made an optional allowance in their code for the Baby Album mod (rip for now) so it might be possible to collaborate if you wanted.

 

Spoiler
:: sex creampie {"position":"1100,12475","size":"100,100"}
{
  (display:"npc fill in details")(display:"sex creampie image")
  (set:$curr_base_fert to it + 1)
  (set:$stats's "creampies received" to $stats's "creampies received" + 1)
  <div class='options'><mark>
  
  (unless:(datanames:$npc) contains "ballsize")
  [
    (set:$npc's "ballsize" to (random:1,10))
  ]
  (unless:(datanames:$npc) contains "cumfactor")
  [
    (set:$npc's "cumfactor" to (random:5,10))
    (if:$npc contains "breeder")[
      (set:$npc's "cumfactor" to it + (random:1,4))
    ]
  ]

(set:$cum_amount to (ceil:(($npc's "ballsize" * $npc's "cumfactor")/10) + (random:-2,2)))
(set:$index to (text:$npc's "ballsize"))
(set:$cum_desc_creampie to (text:$cum_amount) + " " + ($index of (dm:
"1",(either:"weak","thick","small","warm"),
"2",(either:"weak","thick","small","warm","hot"),
"3",(either:"fat","thick","heavy","warm","warm, wet"),
"4",(either:"big","thick","sticky","warm","hot"),
"5",(either:"big","thick","sticky","warm","hot","fat"),
"6",(either:"big","thick","sticky","warm","hot"),
"7",(either:"big","thick","sticky","warm","hot","mega"),
"8",(either:"big","thick","sticky","warm","hot","powerful","heavy"),
"9",(either:"big","thick","sticky","warm","hot","powerful","heavy","massive","potent","womb-smearing","womb-filling"),
"10",(either:"big","thick","sticky","warm","hot","powerful","heavy","massive","potent","womb-smearing","womb-filling"))) + " " + (either:"jets","spurts","squirts","jets","spurts","ropes","spurts","spurts"))
(set:$preg_chance_mod to (max:((($cum_amount)/2)-2), 0.1))
(set:$stats's "creampie total" to it + ($cum_amount * 2))
(if:($cum_amount > 10) and ($character's "side effects" contains "Nanobots") and not ($character's "side effects" contains "Excitable Ovaries"))[
  (set:$character's "side effects" to it + (a:"Excitable Ovaries"))<mark>(css:"font-size:3vmin")[Side effect gained: Excitable Ovaries.] (css:"font-size:2vmin")(print:"\n")The nanobots react with the flood of semen entering your womb, bonding with your ovaries</mark>(print:"\n")
]

(display:"Player Womb Storage")

(if:(random:1,2) is 1)[
  (print:(upperfirst:$npc's "name"))
  (either:"injected you with $cum_desc_creampie","filled you with $cum_desc_creampie","inseminated you with $cum_desc_creampie","loaded down your pussy with $cum_desc_creampie","filled you with $cum_desc_creampie")
  (either:"of cum","of his sperm","of cum","of jizz","of semen","of cum","of his cum").
](else:)[
  (print:$cum_desc_creampie)
  (either:"of cum","of his sperm","of cum","of jizz","of semen","of cum","of his cum")
  (either:"fill your pussy","fill your womb","are shot into you","fill you up").
]

(print:"(")(print:(ceil:$preg_chance_mod*100))% normal pregnancy chance(print:")")
(print:" ")
(set:$chance to $pregnancy_chance * $preg_chance_mod)


(if:$character's "pregnant" is "true")[
  (unless:$pregnancy_notification is "Impregnation Notifications: Disabled")[
    (set:$img_type to "already pregnant")You're already pregnant.
]]
(else:)[
  (unless:(passage:"__mods__")'s source contains "Pregmod")[
    (if:(random:1,100) > $chance)[
      (set:$img_type to "swimming")
    ](else:)[
      (set:$img_type to "fertilized")(set:$preg_npc to $npc)(set:$character's "pregnant" to "true")

      (if:(passage:"__mods__")'s source contains "Baby Album")[
        (display:"baby data")
      ]
      (if:$pill_timer > 88)[
        (set:$pregnant_discover_timer to 80)
        ]
      (else:)[
        (set:$pregnant_discover_timer to $pill_timer + 1)
      ]
    ]
  ]
]</mark> </div>

(unless:$pill_taken is "Breeder" or ($character's "side effects" contains "Broodmother"))[(if:$character's "side effects" contains "creampie addict")[
  (set:$new_status to (dm:
	"status","feeling happy",
	"emoji","?",
	"strength",5,
	"length",4,
	"cause","From that creampie.",
	"charm buff",1,
	"intellect buff",0,
	"fitness buff",0,
	))(display:"new status")]]
(if:$pill_taken is "Breeder" or ($character's "side effects" contains "Broodmother"))[
  <div class='options'>(set:$orgasm_type to "breeder")(display:"sex orgasm")(print:"")(set:$today_events to $today_events + (a:"orgasm"))
  (set:$new_mood to (dm:
	"mood","feeling FUCKING AMAZING",
	"emoji","?",
	"strength",10,
	"length",10,
	"cause","From that creampie.",
	"charm buff",4,
	"intellect buff",0
	))(display:"new mood")</div>]
(if:$character's "side effects" contains "cumslut")[
  <div class='options'>(display:"cumslut orgasm")(print:"")(set:$today_events to $today_events + (a:"orgasm"))(set:$new_mood to (dm:
	"mood","feeling FUCKING AMAZING",
	"emoji","?",
	"strength",8,
	"length",8,
	"cause","from that creampie.",
	"charm buff",4,
	"intellect buff",0
	))(display:"new mood")</div>]
(if:$expiry > 0)[(set:$character's "pregnant" to "false")(set:$character's "pregnancy known" to "false")]
(display:"sex creampie closeup")(set:$text to (a:))(set:$cum_text to (a:))
}

 

 

Edited by mijhy
Link to comment

You can purchase all the mod-added male enhancements in Mutatio even if you don't have enough essence, essentially (pun intended) going into negative numbers.

I also got "Extra fertile" side effect as male, after being kicked out of her house by a bar girl, despite not having any sex with her (traded cock size for essence points previously so she wasn't interested).

Tested later with the same setup, but took the pill after visiting Mutatio and sucking off one guy in the mall. For some reason my character was "ashamed" after this, despite having high feminity already. Forced to go back home right after and then cancelled evening bar plans. In both cases the effect triggered in the same evening, at home, just before going to sleep.

Edited by belegost
Link to comment
  • 2 weeks later...

I found after being pregnant the $placeincycle was up to a large number of days and never being reset. Symptom of this was the pill display bugging saying it couldn't find objects in cycle. After I added a check in :: Fertility Desc to reset it to 1 if too large it solved the problem for me.

 

:: Fertility Desc
{

  (if:(datanames:$character) contains "womb")[
    (if:$placeincycle > (length of "cycle" of $character's "womb"))[
      (set:$placeincycle to 1)
    ]

 

Link to comment
  • 2 weeks later...
On 12/10/2023 at 6:40 PM, Megumin. said:

What do you mean by gamified pregnancy? Seems like nobody can explain what this mod does to pregnancy.

 

Your character will cycle through levels of fertility. At high levels they are almost certain to ovulate. At low level they are almost certain to get rid of egg. When you get creampied, NPC will deposit sperm in your womb that will slowly decay in number and quality. On advancing a new day, if you have ovulated the mod will give any sperm present in womb a chance to fertilise the egg. It has different cycles of fertility levels for different pills.

Link to comment
59 minutes ago, mijhy said:

 

Your character will cycle through levels of fertility. At high levels they are almost certain to ovulate. At low level they are almost certain to get rid of egg. When you get creampied, NPC will deposit sperm in your womb that will slowly decay in number and quality. On advancing a new day, if you have ovulated the mod will give any sperm present in womb a chance to fertilise the egg. It has different cycles of fertility levels for different pills.

 

Does this require you to have the nanobots? Lore-wise, most X-change pills have built-in pregnancy prevention, so I was wondering it the mod does the cycle for everyone, or just the people who have the special SWP stuff in their system.

Link to comment

This mod conflicts with the Male modpill mod, and the porn mod just to inform you. I'm hoping some sort of patch comes out. The conflict is in male code mod: girl cum, pill mod: girl sex aftermath + sex creampie, and porn mod: girl sex aftermath. Searching the code isnt fruitful for me cause in the pregmod i cant find reference to girl cum or girl sex aftermath, only sex creampie.

Link to comment
17 hours ago, Kokocho said:

This mod conflicts with the Male modpill mod, and the porn mod just to inform you. I'm hoping some sort of patch comes out. The conflict is in male code mod: girl cum, pill mod: girl sex aftermath + sex creampie, and porn mod: girl sex aftermath. Searching the code isnt fruitful for me cause in the pregmod i cant find reference to girl cum or girl sex aftermath, only sex creampie.

i just ran the loader and its the other way around. this mod isnt the one causing the conflict it the pill mod.

also keep in mind that mod authors are not the be all and end all. if ya got a copy made of the file then use it for practice and start chopping and editing to see what fixes it.

as a great man once said, "Be the change you want to see"

mod_results.txt

Edited by storky17
file upload
Link to comment
On 12/19/2023 at 1:33 PM, mijhy said:

 

Your character will cycle through levels of fertility. At high levels they are almost certain to ovulate. At low level they are almost certain to get rid of egg. When you get creampied, NPC will deposit sperm in your womb that will slowly decay in number and quality. On advancing a new day, if you have ovulated the mod will give any sperm present in womb a chance to fertilise the egg. It has different cycles of fertility levels for different pills.

 This is correct. Put more simply, it replaces the vanilla fertility chance with a simplified version of the real life human fertility cycle including ovulation phases etc.

 

On 12/19/2023 at 2:34 PM, emes said:

 

Does this require you to have the nanobots? Lore-wise, most X-change pills have built-in pregnancy prevention, so I was wondering it the mod does the cycle for everyone, or just the people who have the special SWP stuff in their system.

Kind of. Each pill has its own cycle reflecting their vanilla fertility likelihood. Basics, by default, do not ovulate and thus cannot get pregnant. However, if you gain side effects from the SWP side, those side effects can result in increased fertility, including with basic pills.

 

20 hours ago, RenFL2 said:

Can we get an updated description page? Changelog says new features, but no documentation has been added.

I don't want to put all of the various side effects on the description page, as I want to let players discover the side effects during play. New features generally refers to additions to side effect functionality, and other details that I don't particularly want in the mod description. The mods aren't encrypted, so if someone really wants to they can always poke around the files and find out themselves.

Link to comment
11 hours ago, storky17 said:

i just ran the loader and its the other way around. this mod isnt the one causing the conflict it the pill mod.

also keep in mind that mod authors are not the be all and end all. if ya got a copy made of the file then use it for practice and start chopping and editing to see what fixes it.

as a great man once said, "Be the change you want to see"

mod_results.txt 658 B · 0 downloads

hmm well heres mine and i'm unsure how to even start chopping or anything like that i made copies but couldnt find the things it conflicts with. edit: so what i did was change some of the letters in each one to numbers to fix the conflicts, i'm unsure what will happen in the long run but it seems everything is working so far

mod_results.txt

Edited by Kokocho
Link to comment

I think I found error; in :: Player Sperm Kill Check [advance_day_pre], womb check should be added. Because otherwise Player Womb Removal has removed it I believe. In fact maybe this code should just remove womb instead?

 

:: Player Sperm Kill Check [advance_day_pre]
...
] (else-if:($character's "gender" is "male") and ((datanames:$character) contains "womb"))[
  (set:("sperminwomb" of $character's "womb") to (a:))
]
}

 

Edited by mijhy
Link to comment
On 12/20/2023 at 9:43 PM, Kokocho said:

hmm well heres mine and i'm unsure how to even start chopping or anything like that i made copies but couldnt find the things it conflicts with. edit: so what i did was change some of the letters in each one to numbers to fix the conflicts, i'm unsure what will happen in the long run but it seems everything is working so far

mod_results.txt 859 B · 7 downloads

its not the zip but specifically the nano bots mod. still looking through it. i might just be the difference in the writing.

the Girl aftermath on the br porn mod file is line 253-57 ish. i am cutting it and seeing what happens

Link to comment
On 12/29/2023 at 1:27 PM, genericuser27 said:

Is anyone else having a hard time getting side effects to show up? 

 

I'm on the plus pill and have been fucked willy by a 10/10 cock and I don't get the side effect.

 

AFAIK the only way to activate the SWP Nanobot side effects is to first purchase one of the male oriented SWP pills in the mall. After that the mod gives you 'nanobots' and allows you to aquire other effects.

To that end I think it would be cool if there were one or two other ways to aquire the nanobots.

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