Closed lstebner closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
farmhand | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 30, 2023 5:10am |
thanks for calling those things out @jeremyckahn . i've made some updates now to handle importing saves and making sure that experience is only rewarded for farm products sold.
What this PR does
The goal of this PR is to lay some groundwork for an experience based level system as outlined in #371
levelAchieved
to be more flexible about how level is calculated based on which leveling system is being usedlevelAchieved
experience
value to match number of items sold when loading a saved gameHow this change can be validated
This PR would be easiest to test if checked out and ran locally so that the feature flag can be flipped on and off
With the feature flag enabled:
With the flag disabled:
Regardless of flag enabled or disabled, these things should happen:
experience
value can be seen when inspecting the Farmhand root componentexperience
value in state should match the total number of items sold when loading a saved game that previously did not have experienceexperience
should increment by 1 for each item soldQuestions or concerns about this change
Additional information