AncientBeast icon indicating copy to clipboard operation
AncientBeast copied to clipboard

Dev-only: allow materializing 'secret' units (fixes #2184)

Open Bennethxyz opened this issue 1 month ago • 5 comments

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.

Bennethxyz avatar Nov 04 '25 07:11 Bennethxyz

Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 04 '25 07:11 vercel[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
ancientbeast Ready Ready Preview Nov 4, 2025 7:46am

vercel[bot] avatar Nov 04 '25 07:11 vercel[bot]

@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 🐻

DreadKnight avatar Nov 04 '25 08:11 DreadKnight

@Bennethxyz Please only mark ready for review it you made changes to it 🐻

DreadKnight avatar Nov 07 '25 07:11 DreadKnight

@Bennethxyz Hey, any progress with this one? 🐻

DreadKnight avatar Nov 13 '25 08:11 DreadKnight