Measured Liquid

version 4 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Pouring and Filling

    This extension supports a wide range of pouring and filling grammar, including

        fill something with/from something
        pour something in/into/on/onto something
        mix something in/with something
        empty something into something

    By default, if the player types only

        FILL CUP

    the game will attempt to find a source that provides the same kind of liquid already in the cup in order to fill it back up; then it will default to some other liquid source, if no matching liquid source is available.

    The player is prohibited from pouring a container into itself, overfilling a container that is already full, or filling from an empty container.

    The pouring action has a liquid that varies, called "the liquid poured", and a volume that varies, called "the amount poured". These values can be used in constructing our own report rules to describe the action differently; for instance, we might write

        Report pouring something into a graduated container:
            say "You pour [the amount poured] of [the liquid poured] into [the second noun]." instead.

    if we wished to describe pouring more precisely in the context of volume-marked containers.