EDIT 2: Here is the final release of the add-ons. Everything should be working correctly now. I believe all of the add-ons had at least some minor change to them.
EDIT: I was able to correct the issue with the father not being passed to the child so that is now working correctly. I also modified the ovulation cycle durations to use variables.
Aric,
Here are the add-ons I previously mentions. Please keep in mind this a beta and there are bugs in the hybrid/ovulation system. I have not yet done a complete play through. I will be doing that over the next week or two and will update the code with the needed bug fixes. I wanted to go ahead and post this so you guys could take a look and play with it. The code is not fully marked up yet. I will include the mark ups you requested with the final release.
All of the add-ons require the general code (file aricsexpansion_addon_general_beta). Changes are made to the person object so this will break previous game saves.
Standalone Add-ons
These should be fine by themselves. They are very simple modifications and should be relatively bug free.
- Housepet -
- adds a housepet job
- slave must have advanced brand for job
- provides stress relief for slaves resting in mansion
- random encounters with dogs increases obedience and loyalty (basically they are becoming more of a housepet)
- Kennel Sleep Location
- adds kennel as a sleep location
- no limit on number of slaves sleeping in kennel because they don't need much space
- random encounters with dogs increases obedience and loyalty (basically they are becoming more of a housepet)
- Body Cum Handling
- modifies how the expansion handles cum removal from body
- removal is based on bath rule (for body and face), pregnancy desire (for pussy) and fetishes
- slaves will want to remove cum from themselves unless they have a desire or fetish
- a decay will gradually reduce cum no matter what desire or fetish is, simulates minimum daily cleaning
- Unique Character Naked Images
- extends the expansion's naked image support to the unique characters
- have not completed a full play-through and tested all characters but it should work just fine
Dependent Add-on
This add-on is dependent on the main hybrid add-on
- Beast Breeding
- Simple mod that modifies the sex scene code to allow animals to attempt to impregnate slaves
- There are breeding restrictions based on race in the hybrid add-on which determines if it is possible to impregnate
Hybrid, Ovulation & Improvements Metrics
These three are too intertwined to use separately, so I included the code together. Please note there is a bug in the ovulation system where the father is not being set so offspring are not being generated correctly. I will identify the issue and correct it during my testing over the next week or two. Be warned you are likely going to run into bugs until then.
Hybrids
Hybrids are handled by generating a genealogy for each person. For generated persons (not born), the race is used to determine the genealogy. For born persons, the race is determined from genealogy which is inherited from the parents.
All races are separated into categories: Humanoid, Uncommon, Magic, Beast and Animals
- Humanoid : Human, Elf, Dark Elf, Drow, Orc, Gnome, Goblin, Demon and Dragonkin
- can breed with any humanoid race or beast race
- full blood is 70% or higher
- half blood is 50% or higher
- Uncommon : Fairy, Seraph, Dryad, Lamia, Harpy, Arachna, Nereid and Scylla
- can only breed with a member of their own race
- always full blooded
- Magic : Slime
- cannot breed - game description describes slimes as a magic mutation
- have highest possible bonuses since cannot breed
- always full blooded (idea is they are no longer whatever they previously were when turned into a slime)
- Beast : Centaur, Taurus, Beastkin and Halfkin
- can breed with any humanoid race or beast race
- can breed with corresponding animal (beastkin wolf can breed with dog, centaur can breed with horse, etc.)
- beastkin is 70% or higher of animal stock
- halfkin is 50% or higher of animal stock
- because genealogy is determined by taking half of each parent, breeding a beastkin and halfkin of same type will result in halfkin, breeding two of different type is likely to result in a mixed blood
- breeding a halfkin with the corresponding animal will produce a beastkin
- Animals : Bunny, Cat, Cow, Dog, Fox, Horse and Raccoon
- can only breed with corresponding beastkin/halfkin type
The idea here was to create a more complex way of breeding slaves and encourage the use of breeding strategies. I tried to apply some basic rules of genetics to give the system more flavor. The beastkin/halfkin are based off of in-game descriptions which suggest that at some point in the past mages experimented on people. I interpreted this as they blended animal stock with people.
Each race gives bonuses and/or negatives to certain stats. I tried to make the bonuses/negatives make sense. The value for each bonus/negative is based on a random range so each person will be a little bit more unique. Since these bonuses/negatives are applied to all persons, both born and generated, overall game balance should be maintained. Just some races will be more suited to certain tasks than others.
Ovulation System
The ovulation system completely replaces the current impregnation system. The vanilla function calls are repurposed to now use the new system, allowing for all previous code to continue to work.
There are two types of ovulation. The standard ovulation type ovulates for 8 days and then rests for 15. The extended type ovulates for 12 days then rests for 15. The ovulation type is determined by the person's race. Each time a male ejaculates into a female an entry is made in an array. This simulates semen remaining in the womb. After 5 days, semen begins to "die off" and is removed from the array. The amount of semen is based on the values used in the expansion for each balls size. The size of the penis determines how much of that semen initially enters the womb. The virility of the male at the time of ejaculation is also stored in the womb to be used later in determining if the semen reaches the egg. If is possible for the semen of multiple males to be simultaneously in the womb competing for the egg.
Each night the female is ovulating the womb array is looped over and each deposit is given a chance to impregnate the egg. This means that a single ejaculation could potential try to fertilize the egg 5-6 times. Also, if there is cum still in the pussy, each night a small percentage will enter into the womb, thus increasing the chances of reaching the egg.
To fertilize the egg, semen must first pass a check to determine if they reach it. Then, the egg must pass a check to determine if it is successfully fertilized. The chance of actually fertilizing the egg is based on:
- Male - penis size, balls size, base fertility, racial fertility bonus/negative, viritility, fertile trait
- Female - breast size, butt size, base fertility, racial fertility bonus/negative,, egg strength, fertile trait
Scores are determine for both the male and the female. The difficulty of this check is reduced by 25% if the player is a breeder
It is possible for multi-children births. In order for this to happen multiple eggs must be fertilized on the same night. There is also a limit on the number of possible children in a single birth based on the race type.
Improved Metrics
Displayed metrics and person information is changed in multiple locations to accommodate the hybrid and ovulation systems.