very nice!!
Thanks!
Now, for the crafting system...
Again, I know what I want and ideas of how to get there, but not 100% sure how to do it.
The system I want is, if you have the required resources in your inventory, you can craft it. No need to configure them in an orientation, etc.
So, my idea is... A map attribute, with each craftable item as keys. The value of each key is a map, with the keys of that map the items you need and the values being the amounts.
This way, I can add recipes as to the main map as the player grows more advanced.
But my problems:
First, I don't know how I'm gonna present this to the player visually.
Second, I'm not sure how I can check if the player has every item needed in their inventory. A recipe could have 12 ingredients, meaning 12 if statements to see if the player has it, or 2 ingredients, meaning the other 10 are redundant and probably return null. I need to find a way to make it work with any amount of ingredients.
This is what I'm gonna be working on the next few days.
Any suggestions on how I should go about the UI would be appreciated!