jeremyckahn / farmhand

A resource management game that puts a farm in your hand
https://www.farmhand.life
GNU General Public License v2.0
100 stars 25 forks source link

feat: [#380] Cellar purchasing #403

Closed jeremyckahn closed 1 year ago

jeremyckahn commented 1 year ago

What this PR does

For #380, this PR begins the implementation of the Cellar for the Kegs feature. This is not the complete implementation of #380, and as such it is hidden behind the KEGS feature flag. I'm making a PR for this now to reduce the size of the more complex PRs to follow.

Hopefully this is pretty easy to review! 🤞

How this change can be validated

  1. Navigate to the preview environment with the KEGS feature enabled: https://farmhand-git-feature-380cellar-purchase-jeremyckahn.vercel.app/?enable_KEGS=true
  2. Give yourself a lot of money with window.farmhand.setState({ money: 1000000 })
  3. In the Shop's Upgrades tab, buy a cellar.
  4. Navigate to the Cellar view, which is now available after the Workshop.

Additional information

Cellar purchasing

Cellar view

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
farmhand ✅ Ready (Inspect) Visit Preview Mar 30, 2023 at 2:31PM (UTC)