Skip to main content

next_inventory

Discworld efun help

next_inventory

object next_inventory(object ob)

Get next object in the same inventory as "ob".

Warning: If the object 'ob' is moved by move_object(), then next_inventory() will return an object from the new inventory.

See also

first_inventory.