Store transactions#39
Merged
JadlionHD merged 11 commits intoStileDevs:mainfrom Mar 6, 2025
ZTance1:store-transactions
Merged
Conversation
Add block and seed randomization. Misses rgt drop randomization calculations depending on rarity and something else
This commit adds seed splicing. Some bugs need to be fixed: - Can splice with an already grown tree - When placing seed on the foreground block (not trees), it removes from the inventory
It fixes blank collecting from the ground, but I guess blank will lie and fill the database. If i will try to drop -1 id instead of 0 it will throw an error. returning nothing or undefined not helping unless you can fix it
Gems are now drop depending on rarity + bonus to the gems. Thanks to Kukuri for the code. Also took some from here 91efb07
Now chandeliers can be placed (it doesn't toggle on punch, needs to be fixed)
This commit adds ability to buy items from the store. - For some items that are not having their own ids (like inventory expansion) needs different purchase implementation - Need to calculate if there's a room left to buy an item
JadlionHD
requested changes
Mar 5, 2025
JadlionHD
approved these changes
Mar 6, 2025
Member
|
Well done! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds ability to buy items from the store.
2025-03-05.04-22-29.mp4