Skip to content

MattieTK/ror.tk.gg

Repository files navigation

ror.tk.gg

A reference for the Artifact of Command item picker in Risk of Rain 2. Browse every item by rarity, filter by expansion, and look up per-survivor build recommendations.

image

Stack

Running locally

Requires pnpm.

pnpm install
pnpm dev

Other scripts:

pnpm build       # production build
pnpm preview     # preview the build locally
pnpm typecheck   # tsc --noEmit
pnpm deploy      # build and deploy to Cloudflare

Data

  • Items live in src/items.ts. Each item has a name, rarity, expansion, category, and source fields. The isCommandable helper there filters out items the Artifact of Command can't offer (Meals, objective/world-unique items, elite-equipment aspects).
  • Expansions are configured in src/expansions.ts. Set an entry's active flag to stage a new expansion's data ahead of launch; flip it to true to show it.
  • Builds (per-survivor item recommendations) live in src/builds.ts.

Scraping items

Item data and images come from the Risk of Rain 2 wiki via a scraper:

pnpm scrape expansions                          # list DLCs
pnpm scrape scrape "<expansion>" --download-images   # scrape an expansion's items

See scripts/scrape-items.ts for the full options. Generated output is reviewed before being merged into src/items.ts.

Images

Item and survivor images are stored in public/images/ (survivor portraits under public/images/survivors/), under their decoded names (e.g. Hiker's_Boots.png) so static hosts that decode request paths serve them correctly.

About

A Risk of Rain 2 item pickup simulator for muscle memory training

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors