'use client'; import { DebugName } from '@/components/game/debug/debug-context'; import { Scroll } from 'lucide-react'; import { Badge } from '@/components/ui/badge'; import { LOOT_DROPS } from '@/lib/game/data/loot-drops'; import { RARITY_CSS_VAR, RARITY_GLOW_CSS_VAR } from './types'; interface BlueprintsSectionProps { blueprints: string[]; } export function BlueprintsSection({ blueprints }: BlueprintsSectionProps) { if (blueprints.length === 0) return null; return (
Blueprints (permanent)
{blueprints.map((id) => { const drop = LOOT_DROPS[id]; if (!drop) return null; const rarityColor = RARITY_CSS_VAR[drop.rarity] || 'var(--rarity-common)'; return ( {drop.name} ); })}
Blueprints are permanent unlocks - use them to craft equipment
); }