1 Commits

Author SHA1 Message Date
Emil Andreas Nielsen
801532759d
Feature/resource yields (#3)
* Add  handleSetUpgrade function and other related stuff

* Fix select drill to upgrade

* Small refactor - apply drill on upgrade

* Refactor types - WIP

* Add handleBuy function, sort storeItems by owned

* Add tiers to storeItems

* Show equipment on moon, add radiobutton to select

* Modify types

* Cleanup some code and comments  etc.

* Add claim function to increment user balance and decrement well

* Add API to get data

* Set inventoryItem and activeTier in state

* Update stakingSource whenever inventoryItems are updated

* Disable upgrade button when mining is active

* Add initial implementation of lightbox

---------

Co-authored-by: Nico Li <nilindenau@gmail.com>
2023-02-24 13:37:07 +07:00