RotKeep

版本 v1.0.0·更新於 2026-10-10

Keep your loot when the whole team wipes in Grain Rot. On every run end - success or fail, solo or co-op - the crew's earnings are banked to the outpost stash instead of being lost, minus the elevator

模組介紹 作者原文

RotKeep

Keep your loot when the whole team wipes in Grain Rot.

What it does

In Grain Rot, a run normally only pays out when you successfully extract. If the whole team wipes (or you die solo), everything you carried that run is lost — the game's own settlement screen shows your earnings, but they never reach the outpost stash.

RotKeep changes that: on every run end — success or failure, single-player or co-op — your crew's earnings are banked into the outpost stash automatically. No hotkeys, no config files to edit. It just happens.

  • Works on solo death and team wipe
  • Works on successful extraction too
  • Co-op: the whole crew's earnings are banked (not just the host's)
  • Subtracts the elevator fare you already paid, so spent gold isn't refunded
  • Zero hotkeys — everything is automatic

How it works

The mod reads each player's run statistics (DungeonPlayerStats) — the same numbers the game shows on the end-of-run "Your Journey" screen — and deposits the total into the outpost stash when the run ends. Because it uses the settlement screen's own numbers as the source of truth, what gets banked always matches what the settlement screen shows.

The deposit happens once, at the moment the run actually ends (the EndDungeonRunSequence event), so a near-death that gets rescued in co-op (Spark rescue) does not trigger a deposit — only a real run end does.

Requirements

  • UE4SS for Grain Rot — installed automatically as a dependency via your mod manager (-GrainRot_UE4SS).

Installation

Install Mod Manager or r2modmanPlus. The required UE4SS setup installs automatically. No further configuration is needed — launch the game and play. users: install the GRAIN ROT - Custom UE4SS Framework first, then drop this mod's Scripts/main.lua into the UE4SS Mods folder as usual.

Multiplayer

  • Only the host needs the mod. The host's RotKeep banks the whole crew's earnings at run end, and the stash value is written to the host's save, so everyone sees it.
  • Clients do not need the mod to play with you.
  • Do not install it on a client machine — a client-side copy would only make a local change that never syncs back to the host and could show a fake stash number. Host-only is the correct setup.

FAQ

Does this refund the elevator fare?

No. The gold you already spent paying the lift is subtracted from the deposit, so spent gold stays spent.

Does it affect normal successful extraction?

No — successful extraction still pays out normally. RotKeep only makes sure the wipe/failure case also banks your earnings (and tops up any part the game itself didn't credit).

Is this a cheat?

It removes the "lose everything on a wipe" punishment. You keep what the settlement screen says you earned — nothing is invented or duplicated. Use it if you want a more forgiving loop.

Credits

  • Runs on the GrainRot UE4SS community overlay and RE-UE4SS.

RotKeep(中文說明)

一隊人全軍覆沒時,本該丟掉的戰利品,幫你保下來、存進據點倉庫。

功能

在 Grain Rot 裏,通常只有成功撤離纔會結算收益。如果全隊團滅(或單人死亡),你這一局帶出來的東西就全沒了——遊戲自己的結算畫面雖然顯示了你賺了多少,但這些錢根本到不了據點倉庫。

RotKeep 改寫了這一點:在每一次 run 結束時——無論成功還是失敗、單機還是聯機——你們的收益都會自動存入據點倉庫。無需按任何鍵、無需改配置文件,全自動完成。

  • 支持單人死亡和全隊團滅
  • 也支持成功撤離
  • 聯機:整隊人的收益都會入庫(不只是房主一個人的)
  • 會扣掉你已經付掉的撤離費,花掉的金幣不會退回來
  • 零按鍵,全自動

原理

mod 讀取每個玩家的本局統計(DungeonPlayerStats)——也就是遊戲在結算畫面「Your Journey」上顯示的那幾個數——在 run 結束時把總數存入據點倉庫。因爲它以結算畫面自己的數字爲唯一依據,所以入庫的金額永遠和結算畫面顯示的一致。

入倉只發生在 run 真正結束的那一刻(EndDungeonRunSequence 事件),所以聯機裏「瀕死被隊友救回」(Spark rescue)不會觸發入倉——只有真正的 run 結束纔會。

前置

  • Grain Rot 的 UE4SS —— 通過 mod 管理器作爲依賴自動安裝(-GrainRot_UE4SS)。

安裝

用 Mod Manager 或 r2modmanPlus 安裝即可,所需的 UE4SS 環境會自動裝好,無需額外配置,進遊戲直接玩。

用戶:先裝 GRAIN ROT - Custom UE4SS Framework,再把本 mod 的 Scripts/main.lua 放進 UE4SS 的 Mods 目錄即可。

聯機

  • 只有房主需要裝這個 mod。 房主的 RotKeep 會在 run 結束時把整隊人的收益入庫,倉庫值寫入房主的存檔,所有人可見。
  • 客機不需要裝 mod 就能和你一起玩。
  • 不要裝在客機上——客機上的副本只會做一個本地改動,永遠同步不回房主,還可能導致客機屏幕顯示一個和主機真實值不符的假數字。正確用法是「僅房主安裝」。

常見問題

會退還撤離費嗎?

不會。你已經花掉付電梯的金幣會從入倉里扣掉,花掉的錢就是花掉了。

會影響正常的成功撤離嗎?

不會——成功撤離依然正常結算。RotKeep 只是讓「團滅/失敗」這種情況也能把收益入庫(並補上游戲

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

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

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

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

GrainRot_UE4SS

檔案與校驗

檔案名稱
RotKeep-1.0.0.zip
檔案大小
97.8 KiB