添加功能，可以在升级时阻止健康/ Magicka / Stamina补充水分。对于大多数人而言，这无关紧要，因为无论如何，这些东西都会从之前的睡眠中恢复。但是，对于我们中那些希望使用“无/非常低的健康更新”模块的人，将不胜感激。
This mod will cap your XP to just below what you need to level up. All excess XP is saved until you sleep, at which point you'll level up. The details are as follws:
Your skills will increase normally, even after you have reached the XP cap.
Any XP beyond the cap is saved for later.
You cannot level up more than once in a 24-hour period.
When you next sleep for at least 8 consecutive hours, you'll get just enough of the saved XP back for you to level up. Any saved XP beyond that will be given to you after you close the Skills Menu. If you have enough saved XP for the next level up, your XP will be capped just under it. The remaining XP is still saved for you but you must wait 24 hours to get it.
When you wake up after sleeping for 8 hours, the Skills Menu will automatically open and force you to level up straight away.*
Spending Perk Points
This mod also prevents you from spending your perk points, except after a consecutive 8 hours of sleep. The details are as follws:
Any Perk Points you don't spend immediately after leveling up will be removed from your character and saved for later.
After any sleep of at least 8 consecutive hours, you will have a chance to spend your perk points. They will be given back to you and the Skill Menu will automatically opened.* Any perks you don't spend will, again, be removed from your character and saved until the next time you sleep for at least 8 consecutive hours. Unlike with levelling up, you do not have to wait 24 hours to do this again.
*About the Skills Menu automatically opening.This will only happen if there is a key mapped to open the Skills Menu (there is by default). This is because the script opens the menu by faking a key press. If you don't have a key mapped to this, no worries! I put in a workaround.
Before attempting the key press, the script disables your ability to move, attack and a few other things (you're uh, still asleep?). Opening and closing the Skills Menu manually will revert these things to the way they were before this mod disabled them (meaning, if you have a mod that disabled any of these things beforehand, it should still work as intended).
If you can level up you must do so before closing the Skills Menu or these things won't be restored, and you'll have to re-open it and level up before closing it again. You can't avoid levelling up by opening the Skills Menu immediately after closing it.
I recommend just mapping a button to the Skills Menu, and letting the menu automatically open. It will give you the most immersive experience.
As of the inital release, everything is hard-coded. I intend to change that and tie things to Global Variables that can be changed with xEdit. This might include things like the amount of time you must sleep to level up, how long you must wait after levelling up before you can do so again, whether you are allowed to spend your perk points without sleeping, and whether you are required to level up immediately after sleeping.
I am unsure of whether to create an MCM for the above. The MCM can get quite cluttered and cumbersome if you have to many mods and the settings will already be configured to my personal preference anyway. I may do so if there's demand for it.
Add the ability to stop your Health/Magicka/Stamina from refilling when you level up. This won't matter for most people, because these things will refill from the prior sleep anyway. However, for those of us who want to use No/Very-Low Health Regeneration mods, this would be appreciated.
Add the ability to restrict how many perk points you can spend at once.