CookBook
A quality-of-life mod for Risk of Rain 2 that provides a structured, searchable, and expandable view of craftable items and their possible crafting paths.
截圖 共 2 張
模組介紹 作者原文
Chef’s CookBook
CookBook is a quality-of-life mod for Risk of Rain 2 that provides a structured, searchable, and expandable view of craftable items and their possible crafting paths.
Instead of mentally tracking multi-step recipes or juggling Wiki tabs, CookBook presents crafting information in-game with a clean, scalable UI designed for large inventories and complex recipe graphs.
Feedback and Issues
- Have ideas or suggestions? Post them in the Feature Suggestions discussion
- Encountered performance issues? Create a performance issue report
- Encounted a bug? Create a bug report
Features
Frontend
- Lists all currently craftable results based on your inventory, grouped by result type, rarity, and quantity
- Live filtering via a search bar
- Each recipe row can be expanded to reveal all valid crafting paths
- Highly configurable via ROO settings integration for your performance needs
- Paths are displayed hierarchically, showing exact ingredient requirements
- Accordion-style UI keeps only one recipe expanded at a time to reduce clutter
- Rows grow and collapse naturally with content
- Support for repeatedly executing a specific craft chain N times in a single automated sequence
- Automatically calculates and displays the "Max Affordable" repetitions for any selected path, physically clamping user input to current inventory limits
- Event system to prompt other mod users if someone is requesting their assistance in a recipe!
Backend
- Robust against other mods
- Highly encapsulated, doesn't touch any external logic
- Automated sequences include logic to orient active equipment slots and sets
- Backend cleanly separates data, logic, and UI for extensibility
- Optimization layer that kills redundant crafting chains early if a more efficient path (based on item weighting) is already discovered for the same result
- Recipes are culled early in the compute phase using IsCausallyLinked to prevent the generation of circular or impossible crafting paths
- Hooks specifically monitor permanent item stacks and equipment sets, ignoring temporary buffs and activations
- Affordability logic accounts for the entire team's potential by tracking scrapable drones and allied inventory trade limits
Controls
- Configure various keybinds and crafting features in the Mod's settings menu
- Click a recipe row to expand or collapse its available crafting paths
- The search bar filters results in real time
- Expand a recipe row, select the path you want, then select craft
- The Objectives panel will be updated to visualize the status of the craft chain
- Hold left alt to cancel an in progress craft
Technical Overview
- Extensive use of templating to maximize rendering performance
- No prefabs baked into the scene
- Minimal layout group usage for predictable behavior
UI Architecture
- Dynamic layout groups
- Content size fitting for automatic row expansion
- Explicit hierarchy control for stable rendering
- UI logic structured to avoid per-frame allocations (no performance dips)
Future updates may introduce pooling for recipe rows if necessary.
Development Status
paused!
Will continue in the interim between semesters in a few weeks!
Planned features include:
- Visual polish and UI refinements for UI frontend (this is my first mod, and Unity UI is painful)
- In-Progress run recipe tracking
- An in-progress view to view all recipes and their completion status, accessed by holding tab (inspectable so that the game can be paused while reading)
Compatibility
- Does not modify gameplay logic
- Does not interact with networking (no host required!)
- Entirely client-sided, other players are NOT required to have the mod installed.
- Should be compatible with most content mods that introduce new items or recipes
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: