Automated Drawers

version 4 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Disambiguation

    Disambiguation rules tell the game to prefer to open closed drawers and to close open ones.

    When the parser is forced to choose a drawer, we give an especially explicit clarification, as in "(the leftmost drawer of the tiny table)", in case more than one drawered object is visible in the same room.

    Similarly, if the parser has to ask the player to disambiguate between drawers that are part of two different objects, the disambiguation question will indicate this, as in

        >open rightmost drawer
        Which do you mean, the tiny wooden table drawer or the cupboard drawer?