Double Use of Seed Items
Just A Simple Farming Game » Devlog
While implementing the sprinklers I noticed that two were being used at a time instead of just one. Because the sprinklers are a child of the Seed Bag item I checked that blue prints functionality as well. It turns out all of the items that spawn actors were using multiple charges per use. In order to solve the issue I looked through the inventory component as well as the items themselves. Eventually I found that the UseItem function was bound to multiple event dispatchers mistakenly.
The event dispatcher OnPlantingGranted was also completely unnecessary. After, refactoring the code the seeds and sprinklers now use one charge per use.
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
- 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.