Dev-only: allow materializing 'secret' units (fixes #2184)
Implements a 'secret' value for unit.playable to allow selecting and materializing under-development units in development builds only.
- game.ts: loads units when playable === true OR (playable === 'secret' AND NODE_ENV=development)
- units.ts: marks Mangler, Batmadillo, Volpyr as playable: 'secret' to demo the flow.
Players on production (NODE_ENV=production) remain unaffected; only fully playable units appear. This enables faster iteration on WIP units without exposing them in stable builds.
Fixes #2184.
Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Updated (UTC) |
|---|---|---|---|
| ancientbeast | Preview | Nov 4, 2025 7:46am |
@Bennethxyz Secret units should still show up as locked in the avatar grid within dash view, but when manually selected, you'll see working materialization button for them. This is to make them hard to pick overall, as they'll be very broken 🐻
@Bennethxyz Please only mark ready for review it you made changes to it 🐻
@Bennethxyz Hey, any progress with this one? 🐻