Inform 7 Home Page / Documentation
Examples in Numerical Order
![]() |
Examples in Alphabetical Order |
![]() |
Examples in Thematic Order |
![]() |
General Index |
![]() |
Part I. Writing with Inform |
![]() |
Part II. The Inform Recipe Book |
Chapter 1: Welcome to Inform
§1.1. Preface
|
Chapter 3: Things
§3.1. Descriptions
|
|
|
§3.2. Rooms and the map
|
|
|
§3.3. One-way connections
|
|
§3.4. Regions and the index map
|
§3.5. Kinds
|
|
§3.6. Either/or properties
|
§3.7. Properties depend on kind
|
§3.8. Scenery
|
|
§3.9. Backdrops
|
§3.11. Two descriptions of things
|
|
§3.12. Doors
|
|
|
§3.13. Locks and keys
|
|
§3.14. Devices and descriptions
|
|
§3.16. Vehicles and pushable things
|
|
|
§3.17. Men, women and animals
|
§3.18. Articles and proper names
|
|
§3.20. Possessions and clothing
|
§3.21. The player's holdall
|
§3.23. Parts of things
|
|
|
§3.24. Concealment
|
§3.25. The location of something
|
§3.26. Directions
|
|
|
Chapter 4: Kinds
§4.1. New kinds
|
§4.3. Degrees of certainty
|
|
§4.4. Plural assertions
|
§4.7. New either/or properties
|
§4.8. New value properties
|
|
§4.9. Using new kinds of value in properties
|
|
|
|
§4.12. Values that vary
|
§4.14. Duplicates
|
§4.15. Assemblies and body parts
|
|
|
|
Chapter 5: Text
§5.4. Text with numbers
|
§5.5. Text with lists
|
|
§5.6. Text with variations
|
|
|
§5.7. Text with random alternatives
|
|
§5.8. Line breaks and paragraph breaks
|
§5.9. Text with type styles
|
§5.11. Unicode characters
|
§5.13. Making new substitutions
|
|
Chapter 6: Descriptions
§6.4. Defining new adjectives
|
§6.5. Defining adjectives for values
|
§6.9. Which and who
|
§6.13. To be able to see and touch
|
§6.14. Adjacent rooms and routes through the map
|
|
|
|
|
§6.15. All, each and every
|
§6.16. Counting while comparing
|
Chapter 7: Basic Actions
§7.2. Instead rules
|
|
§7.3. Before rules
|
|
§7.4. Try and try silently
|
|
§7.5. After rules
|
§7.6. Reading and talking
|
|
|
|
§7.7. The other four senses
|
§7.9. All actions and exceptional actions
|
§7.10. The noun and the second noun
|
§7.12. In the presence of, and when
|
|
§7.13. Going from, going to
|
|
|
|
§7.14. Going by, going through, going with
|
|
|
|
|
§7.15. Kinds of action
|
|
§7.16. Repeated actions
|
|
Chapter 8: Change
§8.2. Changing the command prompt
|
§8.3. Changing the status line
|
|
§8.4. Change of either/or properties
|
§8.5. Change of properties with values
|
|
§8.7. Moving things
|
§8.8. Moving backdrops
|
§8.9. Moving the player
|
§8.10. Removing things from play
|
|
|
§8.11. Now...
|
|
|
§8.15. Calling names
|
§8.18. Randomness
|
|
|
|
§8.19. Random choices of things
|
|
Chapter 9: Time
§9.1. When play begins
|
§9.2. Awarding points
|
|
§9.4. When play ends
|
§9.5. Every turn
|
|
§9.6. The time of day
|
§9.7. Telling the time
|
§9.11. Future events
|
|
|
|
§9.12. Actions as conditions
|
|
§9.13. The past and perfect tenses
|
|
|
§9.14. How many times?
|
§9.15. How many turns?
|
Chapter 10: Scenes
§10.2. Creating a scene
|
|
§10.3. Using the Scene index
|
§10.4. During scenes
|
|
|
|
§10.5. Linking scenes together
|
§10.6. More general linkages
|
|
§10.7. Multiple beginnings and repeats
|
|
§10.8. Multiple endings
|
|
§10.9. Why are scenes designed this way?
|
Chapter 11: Phrases
§11.3. Pattern matching
|
|
§11.5. Conditions and questions
|
§11.7. Begin and end
|
|
§11.8. Otherwise
|
§11.10. Repeat
|
§11.11. Repeat running through
|
§11.14. Phrase options
|
§11.15. Let and temporary variables
|
§11.16. New conditions, new adjectives
|
§11.17. Phrases to decide other things
|
|
§11.18. The value after and the value before
|
|
Chapter 12: Advanced Actions
§12.3. Giving instructions to other people
|
|
§12.4. Persuasion
|
|
§12.5. Unsuccessful attempts
|
§12.6. Spontaneous actions by other people
|
|
§12.7. New actions
|
|
|
§12.9. Check, carry out, report
|
|
|
|
§12.10. Action variables
|
|
|
|
|
§12.11. Making actions work for other people
|
|
|
§12.12. Check rules for actions by other people
|
|
§12.13. Report rules for actions by other people
|
|
§12.15. Out of world actions
|
|
§12.16. Reaching inside and reaching outside rules
|
§12.17. Visible vs touchable vs carried
|
|
§12.18. Changing reachability
|
|
|
§12.19. Changing visibility
|
§12.20. Stored actions
|
|
|
|
Chapter 13: Relations
§13.2. What sentences are made up from
|
§13.4. To carry, to wear, to have
|
|
§13.6. Making reciprocal relations
|
§13.7. Relations in groups
|
|
§13.9. Defining new assertion verbs
|
|
§13.10. Defining new prepositions
|
|
|
|
§13.11. Indirect relations
|
§13.12. Relations which express conditions
|
|
§13.13. Relations involving values
|
|
§13.14. Relations as values in their own right
|
§13.16. What are relations for?
|
|
|
|
Chapter 14: Adaptive Text and Responses
§14.3. More on adapting verbs
|
|
|
|
§14.6. Adapting demonstratives and possessives
|
§14.9. Verbs as values
|
|
§14.11. Changing the text of responses
|
Chapter 15: Numbers and Equations
§15.2. Numbers and real numbers
|
§15.8. Units
|
|
|
|
§15.12. Making the verb "to weigh"
|
|
§15.15. The parts of a number specification
|
§15.16. Understanding specified numbers
|
§15.17. Totals
|
§15.18. Equations
|
§15.19. Arithmetic with units
|
|
|
|
§15.20. Multiplication of units
|
|
|
Chapter 16: Tables
§16.3. Corresponding entries
|
§16.6. Repeating through tables
|
§16.9. Blank rows
|
§16.10. Adding and removing rows
|
§16.11. Sorting
|
§16.12. Listed in...
|
§16.13. Topic columns
|
|
|
§16.14. Another scoring example
|
§16.15. Varying which table to look at
|
§16.16. Defining things with tables
|
|
§16.18. Table continuations
|
§16.19. Table amendments
|
Chapter 17: Understanding
§17.1. Understand
|
|
|
§17.2. New commands for old grammar
|
|
|
§17.3. Overriding existing commands
|
|
§17.4. Standard tokens of grammar
|
|
§17.5. The text token
|
|
§17.6. Actions applying to kinds of value
|
|
|
§17.7. Understanding any, understanding rooms
|
|
§17.9. Understanding kinds of value
|
|
|
§17.10. Commands consisting only of nouns
|
|
§17.11. Understanding values
|
|
§17.13. New tokens
|
§17.15. Understanding things by their properties
|
|
|
|
|
|
|
|
§17.16. Understanding things by their relations
|
|
|
|
§17.17. Context: understanding when
|
|
§17.18. Changing the meaning of pronouns
|
§17.19. Does the player mean...
|
§17.20. Multiple action processing
|
|
§17.21. Understanding mistakes
|
|
|
§17.22. Precedence
|
|
Chapter 18: Activities
§18.1. What are activities?
|
§18.5. New activities
|
|
|
§18.9. Deciding the concealed possessions of something
|
§18.10. Printing the name of something
|
|
|
§18.11. Printing the plural name of something
|
§18.12. Printing a number of something
|
§18.13. Listing contents of something
|
§18.15. Issuing the response text of something
|
§18.16. Printing room description details of something
|
§18.18. Printing a refusal to act in the dark
|
§18.22. Printing the description of a dark room
|
|
§18.23. Constructing the status line
|
|
§18.24. Writing a paragraph about
|
|
|
§18.25. Listing nondescript items of something
|
|
|
§18.26. Printing the locale description of something
|
§18.27. Choosing notable locale objects for something
|
|
§18.28. Printing a locale paragraph about
|
|
§18.29. Deciding the scope of something
|
|
|
|
|
§18.31. Asking which do you mean
|
|
|
§18.32. Supplying a missing noun/second noun
|
|
§18.33. Reading a command
|
|
|
|
§18.34. Implicitly taking something
|
|
|
§18.35. Printing a parser error
|
|
§18.37. Printing the banner text
|
§18.38. Printing the player's obituary
|
|
|
§18.39. Amusing a victorious player
|
§18.40. Starting the virtual machine
|
Chapter 19: Rulebooks
§19.2. Named rules and rulebooks
|
|
§19.3. New rules
|
|
|
§19.4. Listing rules explicitly
|
|
|
|
|
§19.5. Changing the behaviour of rules
|
§19.8. New rulebooks
|
|
|
§19.9. Basis of a rulebook
|
§19.11. Success and failure
|
§19.12. Named outcomes
|
§19.13. Rulebooks producing values
|
|
§19.15. Two rulebooks used internally
|
|
|
|
Chapter 20: Advanced Text
§20.4. Upper and lower case letters
|
|
§20.6. Regular expression matching
|
|
§20.7. Making new text with text substitutions
|
|
|
§20.8. Replacements
|
|
|
|
|
|
Chapter 21: Lists
§21.3. Saying lists of values
|
§21.5. Building lists
|
§21.6. Lists of objects
|
|
§21.9. Accessing entries in a list
|
§21.10. Lengthening or shortening a list
|
|
§21.11. Variations: arrays, logs, queues, stacks, sets, sieves and rings
|
|
|
|
|
|
|
Chapter 22: Advanced Phrases
§22.2. Descriptions as values
|
Chapter 23: Figures, Sounds and Files
§23.13. Writing and reading tables to external files
|
|
|
§23.14. Writing, reading and appending text to files
|
|
§23.15. Exchanging files with other programs
|
Chapter 25: Releasing
§25.23. Titling and abbreviation
|
|
|
Chapter 27: Extensions
§27.5. A simple example extension
|
§27.7. Extensions and story file formats
|
§27.15. Defining phrases in Inform 6
|
§27.19. Longer extracts of Inform 6 code
|
§27.28. Segmented substitutions
|
§27.30. To say one of
|
|