Advertisement
Shadowolf3400

Fancy Examining for Inform7

Feb 14th, 2013
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Fancy Examining by Shadow Wolf begins here.
  2. "The Crusoe example from the Documentation"
  3.  
  4. The fancy examining rule is listed instead of the standard examining rule in the carry out examining rules.
  5.  
  6. Printing the description of something is an activity.
  7.  
  8. This is the fancy examining rule:
  9. carry out the printing the description activity with the noun;
  10. rule succeeds.
  11.  
  12. Rule for printing the description of something (called the item):
  13. if the description of the item is not "":
  14. say "[description of the item] [run paragraph on]";
  15. otherwise if the initial appearance of the item is not "":
  16. say "[initial appearance of the item] [run paragraph on]";
  17. otherwise:
  18. say "You see nothing special about [the item]. [run paragraph on]".
  19.  
  20. Last after printing the description of something: say paragraph break.
  21.  
  22. Fancy Examining ends here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement