Jump to content

[Mod][0.23/0.24] My First Time(s) - Virginity Mod


Recommended Posts

Posted

[0.23/0.24] My First Time(s) - Virginity Mod


# My First Times - Virginity Mod
 
This mod introduces virginity so expect something to happen on your first time :)
 
The following are implemented.
 
- Track the virginity status of your female character or clone. Not tracked for demo/stripping and other special events.
- female and male achievements
- Secretary virginity is tracked
- Supports SpikeFun non-con events
- A status tells you if you're a virgin or not and who deflowered you.
- Tracks your deflowering history (Thanks to rrh for this)
- You have a Hymen strength which will be used for the deflowering event.
- A sex stat tracks how many times you were deflowered
- You can escape penetration if you're having second thought using a willpower check.
- Beware that there's condition that would prevent you from resisting at all
- First time event : Your hymen has strength that the npc need to go through. But your pain tolerance is not infinite.
You can suffer from prolonged pain or even pass out!
 
- Options : to how the virginity is reset.
* Never : Like real life, it's only once
* On pill expire : Next time your turn, you'll be a virgin again
* Once per dna : Never reset but is tracked per DNA
 
- Options : minimum hymen strength
* Strength goes from 2 to 10, you can set a minimum. If the new value is above the current one, new value will be displayed after a screen change.
 
- Options : pain modifier
* 75% / 50% : Modifier to the pain you receive during the deflowering event
 
For existing save, your are assumed to be a virgin if vaginal sex stat is 0.  
 
# Future ideas
 
- Status effects that could cause every penetration to be painful (added but no effect yet)
- Compulsion making you want to feel that "first time" experience over and over again
- Treatment to restore your hymen without a need for a transformation or changing the setting
- More visuals for the sex scene
- More flavour texts
- Adding painkillers
 
# Warning
 
This is my first attempt at modding and in that code engine in general.  
I mostly don't understand what i am doing so expect visual/layout/logic bugs.

 

Posted

Interesting concept, love it! Could be overhauled with dialogues too, and maybe special Blacked one (forced from bar drugging and willing)

  • 2 weeks later...
Posted

one strange thing. I choose the option "until pill expire" and when i choose again the same dna the viginity isn't restored. 

 

Posted

Hi, was tinkering a little bit because I wanted to keep the history with the "On pill expire" setting. Right now it only tracks the current situation, so any previous history is forgotten.

Have you considered implementing something like that?


I have a small working in progress version that looks like this:
 

:: init mft variables

// existing code

(set: $dfHistory to (dm: $character's "id", []))
(set: $dfHistory_current to 0)
(set: $dfCount to 0)

:: load mft check
// existing code

/* Can't do anything about past, unknown events so I just ignore them

(set: $dfHistory to (dm: $character's "id", []))
(set: $dfHistory_current to 0)
(set: $dfCount to 0)



 

:: mtf update virgin status

// existing code

// No point in saving the history for temp pills, "On pill expire" it could be lot of entries.
(if:$dfHistory_current is 0 and $character's "temp pill" is "false")[
  (set:dfCount to it + 1) // I'm not sure whether $mft_stats's "deflowered" counts temp pill events or not. 
  (set:$dfHistory_current to (dm:"df id", dfCount, "name", $mtf_npc_name, "day", $day, "time", $time, "location", $current_location, "non-con", $is_spikefun_event))
  (set: $dfSex to true)  // this is to make sure that only the first sex scene updates $dfHistory_current with the result
]


I'm also storing the result of the scene. Pregnancy with mods is a bit more complicated but I'm working on that too.
 

:: deflowered sex result [sex_finish]
  (if: $dfSex)[
    (set: _creampie to $his_choice is "creampie")
    (unless:(passage:"__mods__")'s source contains "Pregmod") or (passage:"__mods__")'s source contains "Fertile Ditz Mods")[
      (set:_pregnant to $character's "pregnant") // base game decides this in "sex creampie" before the scene is over.
    ](else:)[
       (set: _pregnant to 0)
    ]
    (set:$dfHistory_current to it + (dm:"orgasms", $orgasms, "creampied", _creampie, "got pregnant", _pregnant)) 
    (set:$dfSex to false)
  ]


Finally, I'm storing these results when the pill expires.

:: pill expires effect [around]

(if:$resetVirginStatusOption is "On pill expire")[
  // existing code
  (set:$dfHistory's ($character's "id") to it + (a:$dfHistory_current))
  (set:$dfHistory_current to 0)
]
// existing code



Working out how to tell whether pregnancy happened from this intercourse or not - this is a bit more complicated as there are a pregnancy mods that track the father in different ways, but I have a rough idea.

It's still a work in progress, but I thought that I share it - if you think it's something you would like to add but don't want to start from scratch feel free to use the above. 

There may be some typos, and I still need to test it better thought.
 

 

Posted

I didn't think about keeping an history of all deflowering events but it's a very good idea!
I like keeping track of thing to build a character full story, so i totally want to add this.

For temp pills i want to keep track of secretary since you can have sex with your coworkers and stepdad but ignore the others.
I'll look into it and use your code as a base.
Keeping track if that sex event had a creampie and also caused a pregnancy is very hot :)

I don't know about pregmod when 0.24 is released, Fertile Ditz Mod is getting updated but i don't know about pregmod. Maybe Momo Devilduke will have another fixed pregmod as well.

Thanks a lot for the suggestion and code!

Posted

I'm glad that you like the idea.
The code above has a few typos (like an extra ')' in the middle of the (unless:) line), but I have tested and it works with the base game, and in a couple days it will work with Fertile Ditz too. I will post the new version if you want after a bit more testing.

Pregnancy would be easier to check if it had it's own passage and a related tag. Would solve some of the issues with different mods trying to handle it separately.

 
I was wondering about the temp pill, it shouldn't be difficult, it just can be a lot of entry if the setting is "On pill expire" - secretary, stripper, demos, etc.

But then it could be a separate setting - Enable temp pill MFT histories - and then it's up to the player to make the decision.

Posted

If you're not following the mod topic on discord, i am preparing an update.
It includes history but also other things.

For the pregnancy thing though i am not sure why checking mods is required since $character's "pregnant" is set in the base game code? I have is_preg: and knows_preg: macro too.
I could check it and set the value in the history but not display it if the character does not know about it.
As far as i can see, i have all i need in the base game without a need for pregmod or DitzPill.

But i might not understand something which is very likely considering the amount of systems in the base game :)
If you want to share code you're most welcome. I appreciate your interest in my mod.

For the temp pill i specifically only enables secretary and ignore everything else.
Reason is you can have sex with many different people as secretary, including stepdad which is a big deal.
I have to take into account the new sex possibilities with stepdad in the 0.24 as well.

 

Posted (edited)

For when you implement a way to restore the hymen, you can put in a side effect where if you do so too often/too much, your body starts doing it on it's own every morning. Although, as you have added deflowering orgasms, maybe you would get the side effect from having too many of those. (Say, 3+ in one week?)

 

Edit: ACTUALLY! Reverse it. The compulsion could come from the deflowering orgasms, and the side effect from frequent restorations of the hymen. Either one *could* lead to the other, but it's not guaranteed.

Edited by Elaymidoray
Posted
On 5/28/2026 at 9:24 PM, SailorAliceLiddle said:

For the pregnancy thing though i am not sure why checking mods is required since $character's "pregnant" is set in the base game code? I have is_preg: and knows_preg: macro too.
I could check it and set the value in the history but not display it if the character does not know about it.
As far as i can see, i have all i need in the base game without a need for pregmod or DitzPill.

But i might not understand something which is very likely considering the amount of systems in the base game :)
If you want to share code you're most welcome. I appreciate your interest in my mod.


Pregmod has distinct cycles and I am not sure whether it decides on the spot whether you get pregnant or not, I have to look into it.

Fertile Ditz has a "father lottery" system - the father is selected from the NPCs who have active sperm in the womb and runs a daily check for all of them. It takes into account a couple of things to calculate probabilities, like amount, quality and age of the sperm (it degrades over a couple days), the phase in the fertility cycle (if realist is set or Pregmod integration is enabled), pills, side effects, etc. 
So if the MC is deflowered in a scene involving multiple npcs or is very active, father will be unknown when the scene ends and even the pregnancy is uncertain - I ran into scenarios where everyone was unlucky and with 8 potential fathers no conception happened.

Of course this could all be ignored but then there is a discrepancy between the different mods. One mod says the father is Mr Brooke, the other says it Tyrone and I don't like these kind of discrepancies.

 

Quote

If you're not following the mod topic on discord, i am preparing an update.
It includes history but also other things.


I saw the new update and will try it.
 

Quote

For the temp pill i specifically only enables secretary and ignore everything else.
Reason is you can have sex with many different people as secretary, including stepdad which is a big deal.
I have to take into account the new sex possibilities with stepdad in the 0.24 as well.

Yep, so far that's the only temp pill where it makes sense.

Posted
6 hours ago, rrh said:


Pregmod has distinct cycles and I am not sure whether it decides on the spot whether you get pregnant or not, I have to look into it.

Fertile Ditz has a "father lottery" system - the father is selected from the NPCs who have active sperm in the womb and runs a daily check for all of them. It takes into account a couple of things to calculate probabilities, like amount, quality and age of the sperm (it degrades over a couple days), the phase in the fertility cycle (if realist is set or Pregmod integration is enabled), pills, side effects, etc. 
So if the MC is deflowered in a scene involving multiple npcs or is very active, father will be unknown when the scene ends and even the pregnancy is uncertain - I ran into scenarios where everyone was unlucky and with 8 potential fathers no conception happened.

Oh ok make sense. I want to play with Fertile Ditz Pill but was waiting for it to be more mature.
Now i have to wait for it to be ready for 0.24 :)

So for sure i want it to be compatible with DitzPill but it'll wait a bit for now. And can wait if pregmod receives any kind of updates and if it need any special supports.

SpikeFun is also going to chance a lot since it is already buggy with 0.23.6 so i probably have to revisit it later on.

 

Let me know what you think about the update. Past history is not displayed yet, just the current pill situation.
I'll probably do that for the next version.
0.24 adds a completely new status page but it still unknown how mod interract with most of the part there.
I might need to add the history somewhere else, maybe using the computer.

Posted
13 hours ago, Elaymidoray said:

For when you implement a way to restore the hymen, you can put in a side effect where if you do so too often/too much, your body starts doing it on it's own every morning. Although, as you have added deflowering orgasms, maybe you would get the side effect from having too many of those. (Say, 3+ in one week?)

 

Edit: ACTUALLY! Reverse it. The compulsion could come from the deflowering orgasms, and the side effect from frequent restorations of the hymen. Either one *could* lead to the other, but it's not guaranteed.

You're onto something here! I like where that is going.
I thought of a healing process but not how. I'll think about it :)

Posted

A heads up on the Fertile Ditz $fd_potential_fathers topic:

Fertile Ditz is very inconsistent on handling the NPCs and most of the time just randomly generates one - I had to change the code in several places to make it load the actual npc and not just generate a new one every time for booty calls.

 

Potential fathers suffers from the same issue - it picks one randomly from the whole set even though it stores the day of conception.
For example: there is an npc in $fd_potential_fathers with the day: 10 and and $fd_rcycle's "conception_day" has the value of 19. The code will happily pick the the father that tried 9 days before the conception and ignores the only npc that is stored for day: 19.
It's also prone to store npcs that shouldn't be there - facials very rarely end in pregnancy.

 

Great to see the integration, just mind the hidden hand grenades :)

Posted
On 5/30/2026 at 11:20 AM, SailorAliceLiddle said:

You're onto something here! I like where that is going.
I thought of a healing process but not how. I'll think about it :)


Simple might be best here. Mutatio could give a way to "manually" heal, but split it into 2 options. The safe, expensive way, -OR- the risky cheap way. The cheap way cost almost nothing but comes with (temporary?) side effects. You can either lean into the ones already in game, or create your own. When I'm more awake, I can brainstorm a few that could fit the flavor of your mod.

Posted
11 hours ago, rrh said:

A heads up on the Fertile Ditz $fd_potential_fathers topic:

Fertile Ditz is very inconsistent on handling the NPCs and most of the time just randomly generates one - I had to change the code in several places to make it load the actual npc and not just generate a new one every time for booty calls.

 

Potential fathers suffers from the same issue - it picks one randomly from the whole set even though it stores the day of conception.
For example: there is an npc in $fd_potential_fathers with the day: 10 and and $fd_rcycle's "conception_day" has the value of 19. The code will happily pick the the father that tried 9 days before the conception and ignores the only npc that is stored for day: 19.
It's also prone to store npcs that shouldn't be there - facials very rarely end in pregnancy.

 

Great to see the integration, just mind the hidden hand grenades :)


I asked the Author of the Ditz for pointers and i got a piece of code out of it. It's only for the playtest version though.
Hopefully it works ^^

Posted
31 minutes ago, SailorAliceLiddle said:


I asked the Author of the Ditz for pointers and i got a piece of code out of it. It's only for the playtest version though.
Hopefully it works ^^

I tried it and so far it seems to work well. The "Your base fitness decreased" was a jump scare though ::D

Posted
9 hours ago, Elaymidoray said:


Simple might be best here. Mutatio could give a way to "manually" heal, but split it into 2 options. The safe, expensive way, -OR- the risky cheap way. The cheap way cost almost nothing but comes with (temporary?) side effects. You can either lean into the ones already in game, or create your own. When I'm more awake, I can brainstorm a few that could fit the flavor of your mod.

I don't have a clear plan for healing yet so let me know your ideas :)

Posted
4 hours ago, rrh said:

I tried it and so far it seems to work well. The "Your base fitness decreased" was a jump scare though ::D


Glad to know! Honestly i find testing mods quite tricky and i am quite shocked if there's no bug.
And yes it's a side effect after all but it should only exist as long as you are a girl. It goes away when the pill expire.
I need to add a way to remove it using other means if you're stuck for a long time on a single pill.

Posted
21 minutes ago, SailorAliceLiddle said:


Glad to know! Honestly i find testing mods quite tricky and i am quite shocked if there's no bug.
And yes it's a side effect after all but it should only exist as long as you are a girl. It goes away when the pill expire.
I need to add a way to remove it using other means if you're stuck for a long time on a single pill.

Oh, it said something like "it will last until you heal" so I assumed it will go away after some time periods passed.

Maybe making it something like a status and just debuff fitness?

 

A lot of mods are runing with pills that can last a few weeks. While, for some reason, also tie features to taking 5+ or 10+ pills.

Posted
6 hours ago, rrh said:

Oh, it said something like "it will last until you heal" so I assumed it will go away after some time periods passed.

Maybe making it something like a status and just debuff fitness?

 

A lot of mods are runing with pills that can last a few weeks. While, for some reason, also tie features to taking 5+ or 10+ pills.

Yeah i have healing pain/hymen plans but they are not implemented yet.
Being stuck with 1 less fitness for potentially weeks is not great, apologize for that :grimace:

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...