conditional

(adj) dependent upon something else
Dad would get us a snack at the gas station with the condition that we had to stop and get more gas.