Measured Liquid

version 4 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter: New Kinds

    Section: Liquids

    Liquids are a kind of value in the present system. By default, only water and a null value, "nonliquid", are defined, but we may revise the list by adding entries to the Table of Liquids, like this:

        Table of Liquids (continued)
      liquid  potable  flavor  
      absinthe  true  "It tastes bitter."  
      motor oil  false  --  

    The potable entry indicates whether the liquid can be drunk.

    The flavor sentence is optional, but is used to construct more interesting results for tasting and drinking, as demonstrated below. Providing a flavor sentence for a non-potable liquid will never have any interesting effect.