Functions for working with internal storage areas. 10/27/2007 StorageAreas() Returns a StorageAreas object, see object reference for details StorageAreas object StorageAreas FindStorageArea( areaname ) Gets a reference to the storage area named "areaname" Storage Area reference on success none (returns 0 on invalid parameter or area not found) StorageArea FindRootItemInStorageArea( area, itemname ) Finds the root item named "itemname" in the storage area named "area". Item Reference on success "Invalid parameter type" "Root item not found." CreateStorageArea( areaname ) Create a new storage area with name "areaname". Storage Area reference on success Errors: none (returns 0 on invalid parameter) CreateRootItemInStorageArea( area, itemname, objtype ) Creates the "root" (top-level) item in the storage area provided. "itemname" is the name of this item, and "objtype" is its type. Notes: The item is normally a container. For example, a bankbox is a storage area and the root item is the chest container. Normal items are then placed in this container. Item Reference on success "Invalid parameter type" "Unable to create item" Item DestroyRootItemInStorageArea( area, itemname ) Destroys the root item named "itemname" in storage area "area" 1 on delete success 0 on item not found "Invalid parameter type"