睡眠升級

作者 firehazard96·版本 v1.0·更新於 2020-02-05

您必須入睡才能升級或消費振奮點。

截圖 共 1 張

模組介紹 作者原文

您必須入睡才能升級或消費振奮點。

要求

SKSE

特徵

升級

這個mod會將您的XP限制在您升級所需的水平以下。所有多餘的XP都會保存下來,直到您入睡爲止。詳細信息如下:

即使您已經達到XP上限,您的技能也會正常增加。

超出上限的所有XP均將保存以供以後使用。

您在24小時內最多隻能升級一次。

當您下次連續睡眠至少8個小時時,您將獲得足夠的已保存XP供您升級。關閉技能菜單後,除此以外的所有已保存XP都會提供給您。如果您有足夠的已保存XP用於下一個升級,則您的XP將被限制在其下。剩餘的XP仍會爲您保存,但您必須等待24小時才能獲得。

當您睡了8個小時後醒來時,“技能菜單”將自動打開並迫使您立即升級。*

累積獎勵積分

這個mod還可以防止您花費額外的積分,除非連續8小時的睡眠。詳細信息如下:

升級後您沒有立即花費的所有Perk積分都將從角色中刪除並保存以備後用。

連續至少8個小時的睡眠後,您將有機會消費自己的獎勵積分。它們將被退還給您,並且“技能菜單”將自動打開。*您不花費的任何特權都會再次從角色中刪除並保存,直到下次您連續睡眠至少8個小時爲止。與升級不同,您不必等待24小時即可再次進行升級。

*關於技能菜單自動打開。僅當映射了打開技能菜單的鍵時(默認情況下),纔會發生這種情況。這是因爲腳本通過僞造按鍵來打開菜單。如果您沒有映射到此的密鑰,請不用擔心!我提出了一種解決方法。

在嘗試按鍵之前,腳本會禁用您的移動,攻擊和其他一些功能(您呃,還在睡覺嗎?)。手動打開和關閉“技能菜單”會將這些東西恢復爲該MOD禁用它們之前的狀態(這意味着,如果您有一個事先禁用了這些東西中的任何一個,它仍將按預期運行)。

如果可以升級,則必須在關閉“技能菜單”之前執行此操作,否則這些內容將無法恢復,您必須重新打開它並升級後才能再次關閉它。您無法避免在關閉後立即打開“技能菜單”來進行升級。

我建議僅將一個按鈕映射到“技能菜單”,然後讓菜單自動打開。它會帶給您最身臨其境的體驗。

未來的計劃

從初始版本開始,所有內容都進行了硬編碼。我打算對此進行更改,並將其與可以通過xEdit更改的全局變量聯繫起來。這可能包括諸如您必須睡覺才能升級的時間,升級之後必須等待多長時間才能再次進行升級,是否允許您不睡覺而花費額外積分以及是否需要升級的問題,例如睡覺後馬上起來。

我不確定是否要針對上述內容創建MCM。如果您需要使用許多Mod,那麼MCM可能會變得很雜亂和繁瑣,而且無論如何這些設置都已經按照我的個人喜好進行了配置。如果有需求,我可以這樣做。

添加功能,可以在升級時阻止健康/ Magicka / Stamina補充水分。對於大多數人而言,這無關緊要,因爲無論如何,這些東西都會從之前的睡眠中恢復。但是,對於我們中那些希望使用“無/非常低的健康更新”模塊的人,將不勝感激。

添加功能來限制您一次可以花多少個特權點。

————————————————————————————————

Requirements

SKSE

Features

Levelling Up

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.

Future Plans

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 …

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
睡眠升级
檔案大小
3.3 KiB
SHA-256
efb58efa5d7619fe5f9f343d63408bf80e5aadb6c742de9cf0501ae03394d175
入庫時間
2026-10-08 11:51