On An Occult Ley Line (Lot Trait)

SCREENSHOTS
Downloaded 49,211 times 493 Thanks 194 Favourited 78,900 Views
 Say Thanks!
Uploaded: 9th Sep 2019 at 8:01 PM
Updated: 12th Sep 2019 at 6:49 PM
Changelog:

2019.9.12. Added Chinese translation by WoaiWilliam
2019.9.11. Corrected bug that would sometimes cause the new inheritance rules to be ignored.

Mod Overview

This mod contains the "On an Occult Ley Line" Lot Trait, which works similarly to the "On a Dark Ley Line" Lot Trait included in Vampires. With this Lot Trait in place, Sims will have a chance to conceive a baby that doesn't match their Occult type. For instance, two humans can end up with a Mermaid baby. Or an Alien and a Vampire can result in a Spellcaster. This should diversify your Occult bloodlines.

The actual chances depend on the packs that you have installed, but it follows the rule of 20% chance to inherit the occult from either parent and 80% chance to inherit another random occult. Check some of the example cases below to have a clearer idea of how the inheritance in these lots works.

Example Case 1:

Packs: Get to Work, Vampires, Island Living
Parents: Alien + Vampire
Babies: Human 40%, Mermaid 40%, Alien 10%, Vampire 10%

Example Case 2:

Packs: Get to Work, Vampires
Parents: Human + Human
Babies: Alien 40%, Vampire 40%, Human 20%

Example Case 3:

Packs: Island Living
Parents: Mermaid + Mermaid
Babies: Human 80%, Mermaid 20%

Example Case 4:

Packs: Get to Work, Vampires, Island Living, Realm of Magic
Parents: Vampire + Spellcaster
Babies: Human 26.667%, Alien 26.667%, Mermaid 26.667%, Vampire 10%, Spellcaster 10%

These are just a few examples. The script will calculate all the possible combinations and generate the appropriate inheritance rules.

Also, when Sims "Try for Baby" on this kind of lots, they will get a custom moodlet. This moodlet is purely informative. It provides no mood boost and lasts 2 days. See image in attachments.

Mod Compatibility

This Lot Trait was made and tested with game version 1.55 and it already supports the Spellcaster life state. It is not guaranteed to work on previous game versions.

Although it is technically base game compatible, for it to be actually useful, at least ONE pack that introduces an occult is required (Get to Work, Vampires, Island Living, or Realm of Magic).

Conflicts & Known Issues

It will conflict with any mod that overrides the following two resources. These were overriden to establish a conflict between this Lot Trait and the one from Vampires. It didn't make sense for both to work at the same time.

3C1D8799!00000011!0000000000025C17.zoneModifier_lotTrait_OnDarkLeyLine.ZoneModifierTuning.xml
545AC67A!001D87A5!0000000000025C17.zoneModifier_lotTrait_OnDarkLeyLine.SimData.xml

At the moment only the Occult types defined by EA are supported (i.e., Aliens, Vampires, Mermaids, and Spellcasters). According to the game's code, Ghosts, Skeletons, and PlantSims are not actual occults so they are not taken into account.

Additional Credits

To-Do
  • Maybe, find a better icon? If anyone has a suggestion, please let me know!
  • On A Magical Ley Line Lot Trait