Call to put items into containers?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Call to put items into containers?
Apprentice
Member # 4258
Profile #0
Reading through the docs it says that the call put_item_on_spot(x,y,item) should mark the item it places as "contained" if there is a container on the spot. However, when I try to use this, whether the container is a barrel, crate, or terrain, it doesn't set the contained flag and you can see the item just sitting on top of it.

Is there no way to place an item into a container through a script?
Posts: 28 | Registered: Wednesday, April 14 2004 07:00
Board Administrator
Member # 1
Profile Homepage #1
My error. I forgot to change the description of that call. You can't containerize an item with a script.

You can place an item in a blocked terrain type, set it as contained, and then place a container on that spot to let the party get it.

- Jeff

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00