ID:178526
Apr 30 2002, 2:40 pm
|
|
How do I put a set limit of items you can have in your inventory?
|
In response to Strange Kidd
|
|
obj/food
verb/Get()
set src in oview(1)
if(usr.items<=19)
usr.items+=1
Move(usr)
verb/Drop()
usr.items-=1
new/obj/food(usr.x,usr.y,usr.z)
del(src)