THis script would have to be placed inside the script box for events, essentially I am looking to say:
if item x exists in the inventory then for the amount of item x add that number to a variable id of y
So if you have 4 feathers then variable of 15 would = 4
How would I do this?