No Auto Sleep Unless Necessary

SCREENSHOTS
Downloaded 11,086 times 125 Thanks 47 Favourited 24,655 Views
 Say Thanks!
Uploaded: 19th Jun 2017 at 1:27 AM
Updated: 20th Jun 2017 at 7:18 AM
I found it highly annoying that Sims would sleep for three hours or more after they had a full energy motive. They would also do this frequently after a bed woohoo, even though they were full energy.

This mod improves on this behavior (but doesn't solve it completely due to Sims 4 game scripts).

Functionality
Sims won't sleep for more than 30 minutes after a bed woohoo (if at all in most cases) when full energy
Sims won't sleep for more than 30 minutes after reaching full energy motive after a nights sleep (Sims will wake up sooner)
Sims won't sleep nearly as often when they aren't low on energy motive
Sims won't be forced to sleep if they have been up for more than 24 hours yet still have a high energy motive

Full Motives Version
Has the same features as above but Sims will wake up fully refreshed with max motives.

If you want a mod that prevents autonomous napping then use No Autonomous Napping on this site.

Don't upload this mod to other sites or claim as your own, thanks.

Resources
S4_339BC5BD_00000000_0000000000008246.xml
S4_6017E896_00000000_0000000000012DE8.xml
S4_E882D22F_00000000_00000000000186F2.xml
S4_E882D22F_00000000_00000000000186F3.xml
S4_E882D22F_00000000_0000000000003326.xml

Potential Conflicts
Mods that edit the above resources.
Mods that edit sleep and sleep behavior including single and double bed interaction tuning.
MC Woohoo - Sleepy Woohoo feature (enabled) - feature must be disabled to not conflict.
Sleep All Night by LittleMsSam

Additional Credits:
s4pe
XML Extractor
Notepad++