Custom Library Messages

version 28/100614 by David Fisher

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2.31 - Look

    Table of library messages (continued)
    Message Id  Message Text  
    LibMsg <report npc looking>  "[The actor] look[-s] around."  
    LibMsg <top line what on>  " (on [the % dobj])"  
    LibMsg <top line what in>  " (in [the % dobj])"  
    LibMsg <top line what as>  " (as [inform 6 short name of %])"  
    LibMsg <say things within>  "[what's inside % part 1] [what's inside % part 2]"  
    LibMsg <say things also within>  "[what's inside % part 1] also [what's inside % part 2]"  
    LibMsg <say things on>  "On [the main object][what's on %]."  

    To say what's on %:
    list the contents of the main object, prefacing with is/are, as a sentence,
    including contents, giving brief inventory information,
        tersely, not listing concealed items.

    To say what's inside % part 1:
    if main object is the location, say "[You]";
    otherwise say "[On|In] [the main object] [you]";
    say " [can]"

    To say what's inside % part 2:
    say "see ";
    list the contents of the main object, as a sentence, including contents,
    listing marked items only, giving brief inventory information,
        tersely, not listing concealed items;
    if the main object is the location, say " [here]";
    say "."