So, I created a text-based inventory based on https://www.scirra.com/tutorials/583/easy-inventory-using-an-array this tutorial. That went down smoothly. After mulling over the tutorial, I had a couple of array breakthroughs. My interest was very peaked. So I thought I might try a crafting system. Holy crap, I have had no luck. I've tried making one from scratch a couple times, but I'm stuck, and have made no decent progress. This https://www.dropbox.com/s/2yavzzsx7u8hoif/CraftTest.capx?dl=0capx is the best I can come up with. From what I can tell the code should work? I'm just hoping one of you can help. Thank you very much in advance. Have an awesome evening.
Edit: Jeez I totally forgot to tell you what I'm trying to accomplish. Somtimes I'm just braindead. Anyway... I want the player to collect wood and steel. once they have 5 wood and 5 steel, they can craft a sword. When the sword is crafted, I want it to remove the wood and steel from the inventory. My code has failed to remove the wood and steel. Again, thank you