Antibodies after a Sickness!

612 Downloads 77 Thanks  Thanks 17 Favourited 2,371 Views
Uploaded: 30th Jul 2022 at 10:36 AM
Updated: 30th Jul 2022 at 5:06 PM
UPDATE (30.07.2022): Fixed a bug that would cause every Sim's immunity tokens to be removed after 24 Sim hours, instead of only the Sim in question as it was intended by me.

Ever got annoyed about Sims in a large household constantly infecting one another once one contracted a cold or the flu? Did you ever get tired of having the family in a constant state of throwing coughing fits and having to keep their motives very high, and eventually them being the cause for neighbourhood-wide infections when they start throwing parties? I know I did.

At the same time, I dislike mods that give permanent immunity to Sims, even if this treatment costs a lot of Simoleons, it is simply not what I wish to have in my game.

In real life, whenever someone is sick with anything, be it the flu, the cold, or anything else, their immune system develops antibodies against the particular branch of disease, making them unable to contract it again for a certain amount of time, usually several months.

I wanted to reflect this in the game, too, but I know that the disease tokens, which spread the sicknesses to those walking over them, stick around for quite a while, so it'd have to be longer than that, in order to achieve what I was going for.

So after thinking about it for a while, I went to work and created my own solution to the problem I saw.

With this simple mod in your Downloads folder, any Sim that gets healthy after having had any disease will be immune to any disease for one full Sim day, giving the family a realistic chance to let the sickness fade away and finally break out of the loop.

For the mod to work, only the base game is needed!

Resource nameType nameTypeGroupInstanceInstance (high)
Sub - Get HealthyBehaviour Function0x424841560x7F8A70B60x0000101B0x00000000

Anything that overwrites this particular BHAV will also conflict with this mod.

MATY's real-sickness mod does not alter the resource so it is okay to use along with this mod.
However, I know that my mod will clash with simler90's Disease Mod, as it modifies the same resource in a way that load order can't resolve.

Maxis and EA for creating Sims 2 in the first place
The creators of SimPE and especially the BHAV plugin

Have fun and happy Simming!
~ LimeyYoshi