Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Set max number of items in container? (http://forums.wolflair.com/showthread.php?t=62916)

Lord Magus July 23rd, 2019 04:10 AM

Set max number of items in container?
 
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!

Krothos July 23rd, 2019 09:37 AM

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

Lord Magus July 23rd, 2019 06:38 PM

Quote:

Originally Posted by Krothos (Post 280426)
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.

Aaron July 26th, 2019 10:27 AM

Wayfinders have a limit of 1 ioun stone, check that out.


All times are GMT -8. The time now is 06:34 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.