include the rest of the function with teh changed tables, test the print on this one
-w-
above I did post the changed tables. It just broke into random stuff
Try using:
inventory[itemType][rarity][item] = findItem
Instead of:
table.insert(inventory[itemType][rarity], {findItem})
then the name will be used as a key instead of those 1’s if that’s what you want me to try to fix
Thank you > o < this makes me realised how dumb I am. Does using “=” would add it.
Now left with this (works now ty)