Electrocution Fix

DESCRIPTION: Fixes motive check errors in determining death by electrocution, and correctly accounts for servo and plantsim motives.

The bugged game code checked Comfort and Energy multiple times rather than also checking the other four motives drained (Hygiene, Bladder, Comfort and Fun). I fixed that so it checks all six motives. As before, the sim will die if any two of these motives drop below -90.

I've also added code to account for the unique motives of servos and plantsims. Under this fix electrocution will drain Social for these two types of sims (but not other sims), and will drain Sunshine for plantsims. These sims will die if any one of their three motives drop below -90.

Note that using this mod makes the world a bit more dangerous for servos and plantsims since they had previously been immune to electrocution death due to a lack of Comfort or Energy motives (the servo Power motive is not the same as Energy).

LAST UPDATE: August 21, 2011

REQUIRED EPs: Open For Business

COMPATIBLE EPs: All configurations from OFB through Apartment Life.

*** THIS MOD REQUIRES Smarter EP Check ***

AttachmentSize
CJ-ElectrocutionFix.zip1.17 KB