rainorshine-CookBook icon

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.

Last updated 3 hours ago
Total downloads 67
Total rating 1 
Categories Mods Alloyed Collective
Dependency string rainorshine-CookBook-1.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2120 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2120
RiskofThunder-HookGenPatcher-1.2.9 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.9

README

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 external spreadsheets, CookBook presents crafting information in-game with a clean, scalable UI designed for large inventories and complex recipe graphs.

CookBook Overview

Features

  • Lists all currently craftable results based on your inventory
  • Live filtering via a search bar
  • Clear grouping by result type, rarity, and quantity
  • Each recipe row can be expanded to reveal all valid crafting paths
  • Paths are displayed hierarchically, showing exact ingredient requirements
  • Accordion-style UI keeps only one recipe expanded at a time to reduce clutter
  • Unique crafting paths are treated as distinct recipes even if they produce the same item
  • Crafting paths are grouped by quantity of the result item produced
  • Rows grow and collapse naturally with content
  • Built with optimization in mind:
    • Unified Equipment & Item arrays
    • Hash-based recipe deduplication
  • Backend cleanly separates data, logic, and UI for extensibility
  • Robust against other mods:
    • Includes hooks to refresh recipe logic for custom or modded recipes

Controls

  • Click a recipe row to expand or collapse its available crafting paths
  • The search bar filters results in real time
  • Result counts are displayed inline, appended as [xN]
  • Expand a recipe row, select the path you want, then select Craft
    • The full chain of crafts will be completed automatically

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

This mod is under active development.

Planned but not yet implemented features include:

  • Configuration menu with in-built sorting controls
    (alphabetical, depth, path count, etc.)
  • Visual polish and UI refinements for UI frontend (this is my first mod, and Unity UI is painful)

Compatibility

  • Does not modify gameplay logic
  • Does not interact with networking (no host required)
  • Should be compatible with most content mods that introduce new items or recipes

Feedback and Issues

If you encounter bugs, layout issues, or have feature suggestions,
please report them on the mod’s GitHub page.