Sell Icon not updating quantity left
A current issue that is occurring with the build is that when you go to sell an item the count wont correctly change. There's actually two different ways this has been occurring so far. The first way is that the number itself will not track correctly and decrement sporadically and then get stuck at 4. The other way is that the count itself will just go ahead and go into the negatives. Both instances don't allow the player to correctly use the shop and make it to where they can either just sell as many times as they want or not sell enough.
The current thought process on how to fix this current issue is that it seems to be happening due to where the decrement of the count is occurring. Due to the process having to go through a for loop the count itself is getting miscounted at times. However, even if the location of the decrement is more focused to make sure it's only happening once then the count will only go down once. I believe the way to correct this error is to be a bit more precise with the variable and try and do the decrement of the count in a separate function. Perhaps even a event dispatcher would be able to handle this process even better.
Just A Simple Farming Game
Status | In development |
Authors | Golden Goblins, SeotatopDehsam, MOOster_MOO, WendigoCrypt, zoleda_davila, SenorCarlito, thackattack42 |
Genre | Simulation |
Tags | Action-Adventure, Farming, Third Person |
More posts
- Sneak Peek: Farm CutsceneMar 19, 2024
- Fine-tuning Enemy AIMar 01, 2024
- Major Perforce IssuesMar 01, 2024
- Animations Failing To PlayMar 01, 2024
- Getting Random Location In a NavMeshFeb 29, 2024
- Issues with Testing Spawn PointsFeb 29, 2024
- Double Use of Seed ItemsFeb 25, 2024
- NavMesh not updatingFeb 24, 2024
- Issues with Player LocationFeb 23, 2024
- Foundations of Enemies and AnimationsFeb 17, 2024
Leave a comment
Log in with itch.io to leave a comment.