I am kinda new to making my own code, so I don't exactly know what makes a good function and what makes it optimized right. If you have the time, could someone help me out and explain what I could change to make this more optimized and work more fluidly?
Overall, what I really just want help with is understanding what does or doesn't cause something to be optimized. And how I can better optimize my scripts :D
Currently the code works fine, but I assume as soon as I begin adding more and more types of nectars to have in the game it will begin to tax performance.
Thanks a bunch!