Context: X wants to know about Y's food preferences.

X: Do you like to dine in?
Y: Only when the restaurant has good ambiance.