ID:1746032
 
(See the best response by Nadrew.)
Is it possible to check if there is multiple of one item in an atoms contents with just one if()? Or is using for() better?
Best response
Without using some kind of stacking system that keeps one instance of an object in the inventory and tracks how many of said item you have, no. You'd need to loop over it with for() and track the amount.

I highly recommend a stacking system though, it saves a lot of resources and makes savefiles containing said objects a lot less bloated.
ah, i see. stacking it is then