Scope Caching

version 1/111117 by Mike Ciul

  • Home page
  • Beginning
  • Previous
  • Next



  • Volume - Interactions with Remembering (for use with Remembering by Aaron Reed)

    Book - Keeping Track (for Glulx only)

    Section - Rules (in place of Section - Rules in Remembering by Aaron Reed)

    After reading a command (this is the update remembered positions of cached things rule):
        repeat with item running through marked visible things that are enclosed by the location:
            if remembered location of item is not holder of item:
                now the remembered location of item is the holder of item.

    The update remembered positions of cached things rule is listed after the cache player's scope rule in the after reading a command rules.

    First report remembering (this is the Remembering specific report remembering rule):
        if remembered location of noun is nothing, continue the action;
        say the message corresponding to a rule name of Remembering specific report remembering rule in Table of Remembering Messages;
        stop the action.