Electrocution Fixes

SCREENSHOTS
Downloaded 4,501 times 151 Thanks 34 Favourited 8,739 Views
 Say Thanks!
This mod fixes various electrocution issues.
It consists of two independent parts: electronics and lightning. They may be used together.

Update (14 Sep 2024): The lightning part now also fixes electrocution in hot tubs.
Electronics part
This part affects electrocution caused by electronics (especially during repairing them; servos count as electronics):
  • makes electrocution decrease levels of power (in case of servos), sunshine, and water (in case of plantSims) needs. Originally, servos only lose fun and plantSim needs aren't affected at all;
  • makes an electrocuted Sim die from electrocution instead dying by hunger when they have a low enough level of their hunger need. Servos and plantSims still can't die from electrocution – but they can shut down, run amok, or pass out.

Lightning part
This part affects electrocution caused by lightning, introduced in Seasons:
  • makes a struck Sim die by lightning instead of dying by hunger when they have a low enough level of their hunger need;
  • makes a struck Sim get a Got Shocked! memory – it doesn't happen originally;
  • allows teens and elders to be struck by a lightning bolt in a hot tub – originally, only adults can be struck in a hot tub even though teens and elders can be struck standing outside.

Conflicts
My modConflicting modWay to resolveComment
Electronics partElectrocution Fix by CyjonDon't use it with my mod.The conflicting mod has a different perspective on electrocution issues.
Lightning partLightning Tweak by PescadoDon't use it with my mod.My mod is a modified version of the conflicting mod. Namely, my mod doesn't make dying Sims leave pee puddles, doesn't prevent lightning shock from erasing the interaction queue, creates memories with non-empty images, and affects hot tubs.

Overridden resources
Resource nameType nameGroup/object nameTypeGroupInstance
simNopke-electrocutionFixes-electronics
Electrocute MeBehaviour FunctionGlobal0x424841560x7FD46CD00x0000022B
simNopke-electrocutionFixes-lightning
Interaction - Be Struck By LightningBehaviour FunctionClimateGlobals0x424841560x7FD18CCD0x00002002
Interaction - Be Struck By Lightning W/O PushBehaviour FunctionClimateGlobals0x424841560x7FD18CCD0x00002005
EP5 - Attempt Lightning StrikeBehaviour FunctionHottubGlobals0x424841560x7FEABABA0x000020D3

New resources
Type nameGroup/object nameTypeGroupInstance
simNopke-electrocutionFixes-lightning
jpg/tga/png ImageEffect Holder - Lightning0x856DDBAC0x7F9AF8500x00000001

Credits
Ciastko
Pescado
Radiophobe
Creators of SimPe
Other Download Recommendations:
More downloads by Nopke: See more