• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Set max number of items in container?

Lord Magus

Well-known member
Is there a way to script this:
I'd like to create a container that can hold a maximum of 4 items, no matter how large or heavy they are.

Alternatively, is there a way to script a container that would hold a maximum of 4 item types, but could hold an unlimited number of any of them (for example, it could hold a sword, a shield, 25 alchemical fires and 6 antitoxins, or a sword, a shield, a statue and a holy symbol... but only up to four entries, no matter how many of each individual entries)

Thanks!
 
Maybe look at how bag of holding is scripted. That has a constant weight regardless of its contents.

That is taken care of by top-level containers, I think. It's not the weight I'm trying to limit, but the number of items that can be slotted in.
 
Back
Top