allow_metadata_inventory_take returns a number, not a bool