Jump to content

Weakening the Wait/Sleep Restoration


avianmosquito

Recommended Posts

I'll keep this simple. I need somebody to point me in the right direction in regards to altering the effects of waiting and sleeping. Simply put, I want to make it so health is not restored by waiting, and only a little bit is restored by sleeping. If anyone knows how to go about this, please let me know.

 

 

 

Details for the curious:

 

I have a mod in which you have 1pt of health for each point of endurance, and attribute scores start off lower. Magicka and Fatigue get 10pts/attribute point, but that's it. Waiting would only restore as much of each as standing still for an hour would, but that's probably a full restoration. Health does not regenerate, however, so waiting wouldn't help you. Sleeping is another matter. If you sleep, magicka is fully restored even if stunted. Fatigue is fully restored as well. You only get back 1pt of health, however, and a single point is restored to each attribute every day. The only things that sleeping can't help you with are spells, poisons and diseases, although all but the latter can be outwaited.

 

EDIT:

 

Better idea. The way the function GetPCSleepHours works gives me an idea. Sleeping will restore 1pt/hour in a single attribute per hour, with each value of GetPCSleepHours restoring a different attribute, and since it counts down a single point is restored in each attribute you slept long enough to restore. There are eight attributes, so you need to sleep 8 hours to restore them all. To be specific, if GetPCSleepHours equals 8, it restores endurance. If 7, strength. 6 is speed, five is agility, four is intelligence, three is personality, two willpower and one luck. The meaning of this should be obvious. If you don't want to sleep for several days to restore all your damaged attributes, there's always potions, magic and the "nine" divines to speed things up a bit.

 

Edited by avianmosquito
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...