ExponentialItemsReloaded

版本 v1.2.9·更新於 2026-05-13

Items stack exponentially with configurable tier filters, artifact gating, lunar/void/boss/temp item toggles, and direct GiveItemTemp support. 1 -> 2 -> 4 -> 8 -> chaos.

模組介紹 作者原文

ExponentialItemsReloaded

Adds Artifact of Exponents, an artifact that makes item stacks jump exponentially instead of increasing one at a time.

By default, with Base Size set to 2, repeated pickups move stacks like:

1 -> 2 -> 4 -> 8 -> 16 -> 32...

This is a modernized/reloaded version made for current Risk of Rain 2 modded builds.

Requirements

  • BepInExPack
  • R2API.ContentManagement
  • R2API.Language

Installation

Place the mod DLL and icon files in the same plugin folder:

BepInEx/plugins/ExponentialItemsReloaded/

|- ExponentialItemsReloaded.dll

|- icon_selected.png

`- icon_deselected.png

Restart the game after replacing the DLL. BepInEx loads plugin code at startup, so DLL changes do not hot-reload while Risk of Rain 2 is already running.

Artifact

Enable Artifact of Exponents from the artifact menu.

If Require Artifact Enabled is turned off in config, the mod can run without enabling the artifact.

Config

The config file is generated after launching once:

BepInEx/config/com.cryptidlabs.exponentialitemsreloaded.cfg

General

| Setting | Default | What it does |

|---|---:|---|

| Require Artifact Enabled | true | Only applies the effect while Artifact of Exponents is enabled. |

| Max Stack Size | 4096 | Hard cap for item stacks created by the mod. |

| Base Size | 2 | Exponential base. 2 gives 1,2,4,8. 3 gives 1,3,9,27. |

Item Filters

| Setting | Default | What it does |

|---|---:|---|

| Affect White Items | true | Allows common items. |

| Affect Green Items | true | Allows uncommon items. |

| Affect Red Items | true | Allows legendary items. |

| Affect Boss Items | true | Allows boss/yellow items. |

| Affect Lunar Items | true | Allows lunar items. |

| Affect Void Items | true | Allows void items. |

| Affect Tierless Items | false | Allows hidden/internal/tierless items. Usually safer off. |

| Affect Temporary Items | false | Allows temporary item grants through RoR2's GiveItemTemp path. Experimental; useful for Alloyed Collective / DLC-style temporary items. |

| Affect Equipment | false | Reserved safety option; this mod currently modifies item pickups, not equipment pickups. |

Debug

| Setting | Default | What it does |

|---|---:|---|

| Enable Debug Logging | false | Logs stack changes when the mod applies. |

| Log Artifact List On Load | false | Logs every loaded artifact for troubleshooting. |

Temporary Items

Temporary items use a different inventory path than normal permanent item pickups. ExponentialItemsReloaded now hooks Inventory.GiveItemTemp directly and reads temporary/effective stack counts from RoR2's temp item APIs before calculating the next exponential target.

To enable temporary item scaling:

  • Launch once so the config exists.
  • Open BepInEx/config/com.cryptidlabs.exponentialitemsreloaded.cfg.
  • Set Affect Temporary Items = true.
  • Restart the game.

When enabled, temporary grants should follow the same configured exponential stack behavior as normal item grants.

Notes

Temporary items and tierless/hidden items can be chaotic with heavily modded profiles. Keep those toggles off unless you are testing or intentionally want those systems affected.

If you change the plugin GUID from an older local build, delete the old config file so the new one can generate cleanly.

Changelog

1.2.8 Temporary Grant Fix

  • Added direct handling for RoR2 Inventory.GiveItemTemp grants.
  • Temporary item scaling now uses GetItemCountEffective, GetItemCountTemp, and GetTempItemRawValue instead of relying on temporary-looking item names or tiers.
  • Fixed temporary grants staying at 1 when the item definition did not match the older temporary-item detection heuristic.
  • Added focused temp grant logging so test logs can show current temp/effective counts and the calculated target.

1.2.7 Temporary Item Storage Cleanup

  • Removed the inaccessible Inventory.TempItemsStorage hook path.
  • Avoids HookGen/protection-level build failures around RoR2's internal temp item storage type.

1.2.6 Pickup Path Compatibility

  • Improved pic

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

bbepis-BepInExPackRiskofThunder-R2API_CoreRiskofThunder-R2API_ContentManagementRiskofThunder-R2API_Language

檔案與校驗

檔案名稱
ExponentialItemsReloaded-1.2.9.zip
檔案大小
159.5 KiB