Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!

Antibodies after a Sickness!

SCREENSHOTS
3,281 Downloads 154 Thanks  Thanks 40 Favourited 8,927 Views
Uploaded: 30th Jul 2022 at 10:36 AM
Updated: 13th Dec 2023 at 9:13 PM
Updates!
  • 2023-12-13: (minor) Fixed a mistake I made when naming the standard version after I finished the changes. It will now overwrite as before if you haven't changed filenames. I also removed the "ZZZ" from the Disease Mod version because it's not actually important to the load order between this mod and Disease Mod.
  • 2023-12-12:
    (1) Another complete re-write of both flavours and the add-on, because errors on load-up of a lot were frequent and would cause tokens to fail to get deleted. This is a mandatory re-download, also because I changed the GUID of the Antibodies controller, so any old ones will fail to work from here on out.
    (2) Optional debug messages so you know what's happening behind the scenes (yeah, I did these mostly for myself). If you want to enable them and see the function of the mod for yourself, simply change the single constant in the table "Debug Switch" to 1.
    (3) Added a small item (it looks like a coffee mug, can be found in Misc > Misc and costs §1) that helps you delete old stuck tokens and controllers (that's why I went through with the GUID change). Old Disease Immunity tokens are different because they have no extra attribute to them. I check for that and delete those old ones in the entire neighbourhood. Any of the new ones will stay. Use the item if you suspect that Sims are not getting sick anymore for no reason.
  • 2023-05-30: Complete re-write of both flavours and the add-on to prevent an issue where the progression of all diseases on the lot would be halted for the duration of the antibodies. Also, the Comfort Soup add-on now requires one of the flavours of Antibodies after Disease. Please re-download! Thanks to Latestfire for the help in pinning the problem down.


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.

Add-ons
If you play with the aspiration rewards, you'll have heard of Grandma's Comfort Soup as the ailment to every disease. So far, it was exempt from the antibodies, as it removes the illnesses on the spot instead of letting the normal healing process proceed. With the optional AntibodiesAfterComfortSoup add-on, you can grant Sims the same one-day immunity to all diseases after they ate such a soup.

Requirements
Not to worry, you only need the base game for the base mod!
If you also want the Comfort Soup add-on, you will need FreeTime, otherwise the mod will not serve any purpose.

Overrides
Antibodies After Sickness:
Resource nameType nameTypeGroupInstanceInstance (high)
Sub - Get HealthyBehaviour Function0x424841560x7F8A70B60x0000101B0x00000000

Antibodies After Comfort Soup:
Resource nameType nameTypeGroupInstanceInstance (high)
CT - Exit ActionBehaviour Function0x424841560x7F61E0690x0000100C0x00000000


There are also a handful of new resources all associated with the custom Controller - Antibodies object. These all have the GUID 0xFFFFFFFF and thus won't conflict with anything.

Notes
The fourth mod, "Caffeinated Token Destroyer", helps you get rid of old tokens and controllers if you used a previous version of this mod (before 2023-12-12). It looks like a coffee mug, has the GUID 0x007891AD, costs §1 and can be found in Misc > Misc. One option deletes all Disease Immunity tokens in the entire neighbourhood, the other deletes all old, unneeded Antibodies controllers on the lot only.

The Antibodies controller has the GUID 0x00203114.

Conflicts
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.
  • simler90's Disease Mod conflicts with my mod, but you can download a version that resolves the conflict. It must load after Disease Mod.
    - Note that the only difference between the versions is: with the compatible version the game shows "Sim is healthy again" notifs only with family members, while the normal version shows these notifs for all Sims currently on the lot.
  • simler90's Grandma's Comfort Soup Mod (add-on to his Disease Mod) conflicts with my AntibodiesAfterComfortSoup add-on. Do not use the two together as they would cancel out one another. simler90 has a different approach to the soup.
  • kestrellyn's Pneumonia Fix is fine to use alongside my mod, despite being extracted from the Disease Mod. Use the standard version if you have this mod and decided against simler90's larger mod.

Credits
Maxis and EA for creating Sims 2 in the first place
The creators of SimPE and especially the BHAV plugin
guirnaldas and Latestfire for helping me squash bugs

Have fun and happy Simming!
~ LimeyYoshi