Announcement

Collapse
No announcement yet.

Recursive type checks for items in package 'dropped' onto a container?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Recursive type checks for items in package 'dropped' onto a container?

    I've managed to puzzle out enough to add custom crafting systems and similar, but I can't seem to wrap my mind around the process of checking all of the contents of a container (which could contain more containers containing more, and so on - full of items) to determine every item included when dropped into a container or onto an NPC.

    I'm doing something along the lines of the cleanup system, where various items are weighted for points and the users can contribute items to obtain them - but so far I've had to ask that they just do it one item at a time, which is just tedious in many cases.

    Does anyone have a script made already that recursively cycles through containers for items found within any in one 'dropped' to a container or mobile?
Working...
X