Implement set_inventory