Page 1 of 1

Clarification on MaxItems property

Posted: Wed Jan 04, 2017 2:24 pm
by xeon
I'm testing the MaxItems limit set through itemdesc.cfg on a container. I can actually insert more than the limit using bags full of items - e.g. I can insert 3 bags with 300 items each in a container with 500 MaxItems set.
I've found this thread viewtopic.php?f=42&t=3058&p=15306&hilit=maxitems#p15306 from quite a few years ago, where Turley says
...After this update:
every container can hold up to 3200 items (fixed core value)
if you add something to a subcontainer core checks for weight and itemcount inside the subcontainer, for every parentcontainer it checks for itemdesc.maxweight
Is it still correct? Does the MaxItems value is ignored for items in subcontainers?

Re: Clarification on MaxItems property

Posted: Fri Jan 06, 2017 3:08 pm
by xeon
Anyone?

Re: Clarification on MaxItems property

Posted: Fri Mar 10, 2017 12:59 am
by Yukiko
If I remember correctly a bag containing items dropped in a container counts as one item against max items for the container in which the bag is placed. However, the weight of the bag and the items in the bag do count against the max weight of the parent container.

One thing I can't remember is if a stack of say ten items counts as one item or ten items when dropped into a container.

Re: Clarification on MaxItems property

Posted: Sun Mar 12, 2017 12:15 pm
by xeon
I confirm what Turley posted some year ago.
Items in a bag placed in a container doesn't count for the MaxItems of the container, just for its weight.

Re: Clarification on MaxItems property

Posted: Sun Mar 12, 2017 11:09 pm
by Yukiko
That's what I thought but it's been awhile since I checked on it.