MuckSaveGame
This mod adds saving your game to Muck. It is basically, a fork and update of flarfo's fantastic SaveUtility mod. This can automatically migrate saves from SaveUtility.
模組介紹 作者原文
What It Does
This mod adds saving your game to Muck. It is basically, a fork and update of flarfo's fantastic SaveUtility mod.
You CANNOT use this and SaveUtility at the same time. Remove SaveUtility and install this. The savefiles for SaveUtility will automatically be migrated to the new structure on startup.
Also, a few things more now save properly, which are:
- Mob spawnrate and weights are saved. This resets every night, but the fist night after reloading a save would have slower spawning mobs, and only weaker mobs were picked. This has been fixed.
- Boat and Gem markers on the map are saved.
- Boss rotation is saved. Muck has a pool of bosses to spawn at the beginning of a boss night that it picks from and empties as they spawn, then refills when the pool is empty. This is saved, so it doesn't reset to full on reload. This only affects the first boss that is forcibly spawned at the beginning of a boss night.
- At the start of a boss night, Muck will instantly spawn a boss. If you save and load during a boss night, a new boss would always instantly spawn. This no longer happens. Further bosses may spawn during a boss night due to random chance, but only one boss will be forcibly spawned at the beginning of the night.
- If the Chief boss is currently spawned, he is saved (just like Gronk/Big Chunk/Guardians).
- Furnaces should start smelting on load (I'm not sure if this works in multiplayer or not).
- You can no longer save when leaving the island.
- You can no longer save if everybody is dead.
Configurable
When running Muck for the first time with this plugin installed, MuckSaveGame.MichMcb.cfg will be created in the BepinEx/config folder.
The configurable aspects of this plugin are:
- The amount of real-life seconds you have to wait after saving before you can save again.
- Which mobs should be saved besides just the boss mobs.
- Whether or not the savegame file should be indented (to read it more easily if you want to edit your save).
- The vertical position offset for the local player on loading a savegame (helps avoid falling through the floor on loading a savegame)
Developers
The new API to save additional chunks of data to the XML file uses ISaveData and ISaveDataManager. Implement these interfaces, and register your instance of ISaveDataManager by using SaveSystem.Register; the documentation has information on what each method does, and you can view the source code to see how it should be used.
There are useful extension methods for XElement in the MuckSaveGame namespace, to help with reading/writing data.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: