Item system hhmmm?

Blitz3D Forums/Blitz3D Beginners Area/Item system hhmmm?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I haven't tested it but would that work surely this would be better:

global max_items = 100
global carry.items
global num_items

num_items=0
for carry=each items
    num_items=num_items+1
next

if num_items>max_items then
    print "Your carrying too much!"
endif