Skip to content

Conversation

@Bennethxyz
Copy link

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.

@vercel
Copy link

vercel bot commented Nov 4, 2025

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

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Nov 4, 2025

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

@DreadKnight
Copy link
Member

@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 Bennethxyz marked this pull request as ready for review November 7, 2025 06:04
@DreadKnight
Copy link
Member

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

@DreadKnight DreadKnight marked this pull request as draft November 7, 2025 07:27
@DreadKnight
Copy link
Member

@Bennethxyz Hey, any progress with this one? 🐻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

materialize some of the locked units [bounty: 9 XTR]

2 participants