PolyHunter

DropRateIndicator

P2molecule

Proposed — does not exist yet. Needed for: Gamification (loot boxes). Track it in documentation/shared/design-system-inventory.md.

What it is

Weighted-percentage display for loot table contents (box odds, win caps). Deferred with loot boxes.

What you need to create

A molecule: item/reward row with probability percentage, 'sold out' state when win caps are hit.

Hints

  • Percentages come from RewardPoolEntry weights — display-only, no client math on odds beyond formatting

Definition of done

// packages/ui/src/molecules/drop-rate-indicator.tsx
// Kitchen sink page at apps/ds/kitchen-sink/app/molecules/drop-rate-indicator/
// Register as "wip" in app/lib/routes.ts; only UX/user approval permits "ready"
// Verify: yarn workspace @npolyhunter/ui build && npx tsc --noEmit (in apps/ds/kitchen-sink)
// Then update documentation/shared/design-system-inventory.md -> Status: built