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

X: Are you allergic to garlic?
Y: I'm only allergic to gluten.

X: Would you like to eat local cuisine?
Y: Only if it's not too spicy.