ChestLootOverride
A BepInEx mod that allows you to override chest loot based on chest number.
模組介紹 作者原文
ChestLootOverride
A BepInEx mod that allows you to override chest loot based on chest number.
Features
- Override loot for any chest by its number (1st, 2nd, 3rd, etc.)
- Unlimited chest configurations
- Simple configuration file
Installation
- Make sure BepInEx is installed
- Download the latest release
- Copy dll to BepInEx\plugins
- Launch the game once to generate the config file
- Close the game and edit the config
Configuration
After the first launch, you'll find the config at:
BepInEx\config\com.Rofliex.ChestLootOverride.cfg
Example Configuration
[General]
EnableMod = true
[ChestOverrides]
Chest1Item = CreditCardGreen
Chest2Item = SuckyMagnet
Chest3Item = Anvil
Chest4Item = SoulHarvester
Chest10Item = Kevin
Note: These are the default values. You can change them or add more chest entries.
How It Works
- The mod counts chests as you open them (1st, 2nd, 3rd, etc.)
- When you open a chest that's configured, the specified item is added to your inventory
- You can configure any chest number - they don't need to be sequential
- Use None to skip a chest or simply don't add an entry for it
Available Items
Use exact item names from the EItem enum, such as:
- CreditCardGreen
- SuckyMagnet
- Anvil
- SoulHarvester
- etc.
Note: If you use an incorrect item name, the mod will log a warning and skip that chest.
Building From Source
Requirements
-.NET 6.0 SDK
- BepInEx installed in your game directory
- Set BEPINEX_DIR environment variable to your game folder
Build Steps
You should change the path for where you have BepInEx installed in Directory.Build.props
Build the project
dotnet build
DLL will be automatically copied to BepInEx\plugins
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: