I'd love to have this in the game im working on, but I'd have to have a tutorial. I don't need something minecraft level, but any tutorial with basic crafting would work.

It may be too complicated in which case I'll scrap it and do something different.

Anyone know of any good tutorials on this? I imagine it will use the inventory node, which should be cool, I might just read the docs on that later.

thnx.

In my opinion your better of starting with the code.

Here's a little step-by-step to achieve a simple inventory :) I will most likely work on a proper tutorial or piece of working code after the holidays depending on which of my projects I get the most time for.

If you want to use a simple grid inventory without complex jigsaw here are some if not most of the steps to achieving it through code: You will most likely need an array so you can store the items themselves. You can make a struct or class for the item so you can store its variables locally such as the amount, id, name, value, etc, and use it for the array's type, this way the engine will list the correct variables. You will need methods that allows you to move items from one index to another. You might need to either map inputs or create a UI with buttons that activates these methods accordingly. If you want to allow moving the item with the mouse, you could possibly add a variable that holds the item on the mouse position, then set the image's position to the mouse position on screen if that variable's value isn't NULL. You can get the item at a specific index if you round the mouse according to your grid's size. For the crafting, it's the same as the inventory, but you can check if the inventory contains the item you want to use, if so, remove the required amounts and add the newly crafted item to the inventory. Having an array set to the item as a type should allow you to access the item's variables such as the amount which is simple work after that :)

Hopefully this helps a little bit. In any case, I am wishing you the best holidays and a wonderful day!

PS. If I find any tutorials that I feel would show the process of making an inventory nicely and also explains it well, I will post them here :)

Remember gdscript's arrays are "loosy goosy" and are perfect for an inventory system. You can have different types of objects in a gdscipt array: you can put objects of different class in the same array! Imagine classes of Weapons and Armor being able to go in the same place, how nice it that? Also code wise there's quite some code (especially look at what xyz provided) and conversation here: https://godotforums.org/discussion/28240/inventory-array-help

Just note that my code in that thread was aimed at a complete programming beginner (and sadly it still went over their head :) ). For more experienced coder I'd strongly suggest wrapping things into an Inventory class.

It's hard to give suggestions without knowing at least some basic principles of a crafting system you have in mind.