Skip to main content

deep_inventory

Discworld driver help

deep_inventory

Name

deep_inventory() - return the nested inventory of an object

Synopsis

varargs object *deep_inventory( object ob );

Description

Returns an array of the objects contained in the inventory of `ob' and all the objects contained in the inventories of those objects and so on. If `ob' is not specified, this_object() is used.

See also

first_inventory(), next_inventory(), all_inventory()