Section - Teacups
Before inserting something into a teacup when the noun is not hot tea: say "The teacups are for filling with tea. Hot tea." instead.
Before filling a teacup with something when the second noun is not hot tea: say "The teacups are for filling with tea. Hot tea." instead.
Check filling a teacup when the noun is in the cabinet:
say "You should take the teacup out of the cabinet before you fill it." instead.
Definition: a teacup is parched if it is not filled with something.
Before filling a teacup with something when the noun is filled with something or the noun is in the cabinet: [something like this is necessary or Inform will try to fill the same teacup over and over]
if a visible parched teacup is not in the cabinet:
let the target be a random visible parched teacup that is not in the cabinet;
try filling the target with the second noun instead;
otherwise if a parched teacup is in the cabinet:
say "It looks like all the empty teacups are in the cabinet. Better take one out." instead;
otherwise:
say "You can't see any empty teacups." instead.