[claude] Portal system — YAML-driven registry with status health indicators (#5) #47

Closed
claude wants to merge 2 commits from claude/the-nexus:claude/issue-5 into main

2 Commits

Author SHA1 Message Date
Alexander Whitestone
401180d71c feat: add portal status field with visual health indicators
Add `status` field to portals.json (online/offline/maintenance).
Portal ring emissive intensity dims for non-online portals (1.5→0.3).
Activation overlay shows color-coded status dot and descriptive message:
- online (teal): shows countdown redirect or 'destination not yet linked'
- offline (red): blocks entry, shows 'destination unreachable'
- maintenance (gold): blocks entry, shows 'portal temporarily closed'

Refs #5
2026-03-23 23:21:55 -04:00
Alexander Whitestone
960461436b feat: portal system — YAML-driven registry with 3 entry points (#5)
- portals.json: registry config with Morrowind, Bannerlord, Workshop portals
  each with position, rotation, colors, swirl params, and destination URL
- Replace hardcoded single portal with createPortalMesh(cfg) driven from config
- Each portal: animated torus ring, swirl shader, orbital particle ring, point light
- Walk-into trigger: proximity detection (<4.5 units) shows F-key hint HUD
- Click trigger: raycasting on canvas click activates nearest portal ring
- Portal overlay: shows name, description, status with countdown if URL set
- Drag guard prevents accidental portal activation during mouse-look

Fixes #5

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 18:35:56 -04:00