Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: Shinteo on February 27, 2010, 09:43:46 AM

Title: Virgin Status
Post by: Shinteo on February 27, 2010, 09:43:46 AM
Just checking how does the game identify virgins? Is it a setting that we can toggle?

While we are on this subject, are the traits fixed? Can we add new traits to the current one?

I've been experimenting on the various editors, but have not found anything that can do the above.
Title: Re: Virgin Status
Post by: GonDra on February 27, 2010, 12:13:27 PM
Traits are hard-coded in the Game-Engine, so no editing them. (CoreTraits.traits only lists their description).

Virginity is probably tracked in the game code, too.
Title: Re: Virgin Status
Post by: exodia91 on February 27, 2010, 03:48:43 PM
I was under the impression you could add traits, they just would have no affect ingame... yet. Virgin is a random probability based on girls age, I believe.
Title: Re: Virgin Status
Post by: fixet on February 28, 2010, 05:28:40 AM
not necessarily age-based, I had a 30 years old "girl" as a virgin in one play, but a non-virgin in the next
Title: Re: Virgin Status
Post by: Uriel on February 28, 2010, 08:44:27 AM
I thought that's a thing they lose sometimes.  ::)
Title: Re: Virgin Status
Post by: Shinteo on February 28, 2010, 12:26:37 PM
That's a pity. I had one game where all the random girls were virgins, and the named girls are not. It was most unusual...
Any way the developers can make it togglable?
Title: Re: Virgin Status
Post by: Fstop on February 28, 2010, 01:41:49 PM
If I remember correctly It used to be togglable but they removed it might be completely wrong here do >.>
Title: Re: Virgin Status
Post by: Shinteo on March 02, 2010, 03:37:07 PM
I had a look at the codes, now that they opened up the souce. From what I understand of those codes, as long as the girl is below a certain age, they will be flag as a virgin. For some reason, however, none of my named char were virgins, even after many new games. Is it a bug?

Edit: Was messing around with the cGirls.h file, and found a code line:

sGirl()
   {
      m_Stats[STAT_HOUSE]=60;
      //m_LastChild = 0;
      //m_NumChildren = 0;
      //m_Children = 0;
      m_GirlImages = 0;
      m_Tort=false;
      m_Realname = "";
      m_WeeksPreg = 0;
      m_BDay = 0;
      m_NumCusts = 0;
      m_WeeksPast = 0;
      m_Withdrawals = 0;
      m_Virgin = false;
      m_Spotted = 0;
      m_RunAway = 0;
      m_AccLevel = 0;
      m_Money = 0;
      m_NumInventory = 0;
      m_Pay = 0;
      m_FetishTypes = 0;
      m_DaysUnhappy = 0;
      m_PregCooldown = 0;
      for(int i=0; i<40; i++)
      {
         m_EquipedItems = 0;
         m_Inventory = 0;
      }

Within is a line of code:

   m_Virgin = false;

That if I change to true, will turn all girls into virgins. Seems this is the cuprit.