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
About the examples |
Chapter 3: Things
§3.1. Descriptions
Bic |
Verbosity 1 |
Slightly Wrong |
§3.2. Rooms and the map
Port Royal 1 |
Up and Up |
Starry Void |
§3.3. One-way connections
Port Royal 2 |
The Unbuttoned Elevator Affair |
§3.4. Regions and the index map
Port Royal 3 |
§3.5. Kinds
First Name Basis |
Midsummer Day |
§3.6. Either/or properties
Tamed |
§3.7. Properties depend on kind
Disenchantment Bay 1 |
§3.8. Scenery
Disenchantment Bay 2 |
Replanting |
§3.9. Backdrops
Disenchantment Bay 3 |
§3.11. Two descriptions of things
Disenchantment Bay 4 |
Laura |
§3.12. Doors
Disenchantment Bay 5 |
Escape |
Garibaldi 1 |
§3.13. Locks and keys
Disenchantment Bay 6 |
Neighborhood Watch |
§3.14. Devices and descriptions
Disenchantment Bay 7 |
Down Below |
§3.16. Vehicles and pushable things
Peugeot |
Disenchantment Bay 8 |
Hover |
§3.17. Men, women and animals
Disenchantment Bay 9 |
§3.18. Articles and proper names
Belfry |
Gopher-wood |
§3.20. Possessions and clothing
Disenchantment Bay 10 |
§3.21. The player's holdall
Disenchantment Bay 11 |
§3.23. Parts of things
Fallout Enclosure |
Brown |
Disenchantment Bay 12 |
§3.24. Concealment
Search and Seizure |
§3.25. The location of something
Van Helsing |
§3.26. Directions
Prisoner's Dilemma |
The World of Charles S. Roberts |
Fore |
Chapter 4: Kinds
§4.1. New kinds
Vouvray |
§4.3. Degrees of certainty
Odin |
Something Narsty |
§4.4. Plural assertions
Get Me to the Church on Time |
§4.7. New either/or properties
Change of Basis |
§4.8. New value properties
Would you...? |
Straw Boater |
§4.9. Using new kinds of value in properties
The Undertomb 1 |
The Undertomb 2 |
The Crane's Leg 1 |
Signs and Portents |
§4.12. Values that vary
Real Adventurers Need No Help |
§4.14. Duplicates
Early Childhood |
§4.15. Assemblies and body parts
Being Prepared |
Model Shop |
U-Stor-It |
The Night Before |
Chapter 5: Text
§5.4. Text with numbers
Ballpark |
§5.5. Text with lists
Control Center |
Tiny Garden |
§5.6. Text with variations
When? |
Whence? |
Persephone |
§5.7. Text with random alternatives
Radio Daze |
Camp Bethel |
§5.8. Line breaks and paragraph breaks
Beekeeper's Apprentice |
§5.9. Text with type styles
Garibaldi 2 |
§5.11. Unicode characters
The Über-complète clavier |
§5.13. Making new substitutions
Fifty Ways to Leave Your Larva |
Fifty Times Fifty Ways |
Chapter 6: Descriptions
§6.4. Defining new adjectives
Finishing School |
§6.5. Defining adjectives for values
Only You... |
§6.9. Which and who
Versailles |
§6.13. To be able to see and touch
Lean and Hungry |
§6.14. Adjacent rooms and routes through the map
Mistress of Animals |
All Roads Lead to Mars |
Hotel Stechelberg |
A View of Green Hills |
Unblinking |
§6.15. All, each and every
Revenge of the Fussy Table |
§6.16. Counting while comparing
Yolk of Gold |
Chapter 7: Basic Actions
§7.2. Instead rules
Grilling |
Bad Hair Day |
§7.3. Before rules
Democratic Process |
Sand |
§7.4. Try and try silently
Fine Laid |
Hayseed |
§7.5. After rules
Morning After |
§7.6. Reading and talking
Sybil 1 |
Lucy |
Sybil 2 |
Costa Rican Ornithology |
§7.7. The other four senses
The Art of Noise |
§7.9. All actions and exceptional actions
Zodiac |
§7.10. The noun and the second noun
Ming Vase |
§7.12. In the presence of, and when
Beachfront |
Today Tomorrow |
§7.13. Going from, going to
Veronica |
A&E |
Bumping into Walls |
Polarity |
§7.14. Going by, going through, going with
No Relation |
Mattress King |
One Short Plank |
Provenance Unknown |
Zorb |
§7.15. Kinds of action
Dearth and the Maiden |
Mimicry |
§7.16. Repeated actions
Y ask Y? |
A Day For Fresh Sushi |
Chapter 8: Change
§8.2. Changing the command prompt
Don Pedro's Revenge |
§8.3. Changing the status line
Politics as Usual |
Centered |
§8.4. Change of either/or properties
Vitrine |
§8.5. Change of properties with values
Thirst |
Thirst 2 |
§8.7. Moving things
Meteoric I and II |
§8.8. Moving backdrops
Orange Cones |
§8.9. Moving the player
Terror of the Sierra Madre |
§8.10. Removing things from play
Beverage Service |
Spring Cleaning |
Extra Supplies |
§8.11. Now...
Bee Chambers |
Hatless |
Technological Terror |
§8.15. Calling names
Higher Calling |
§8.18. Randomness
Do Pass Go |
Lanista 1 |
Weathering |
Uptown Girls |
§8.19. Random choices of things
Candy |
Zork II |
Chapter 9: Time
§9.1. When play begins
Clueless |
§9.2. Awarding points
Mutt's Adventure |
No Place Like Home |
§9.4. When play ends
Big Sky Country |
§9.5. Every turn
Witnessed 1 |
Text Foosball |
§9.6. The time of day
IPA |
§9.7. Telling the time
Situation Room |
§9.11. Future events
MRE |
Totality |
Empire |
Hour of the Wren |
§9.12. Actions as conditions
Night Sky |
Zero |
§9.13. The past and perfect tenses
Tense Boxing |
Bruneseau's Journey |
Elsie |
§9.14. How many times?
Infiltration |
§9.15. How many turns?
Annoyotron Jr |
Chapter 10: Scenes
§10.2. Creating a scene
Pine 1 |
Entrapment |
§10.3. Using the Scene index
Age of Steam |
§10.4. During scenes
Full Moon |
Space Patrol - Stranded on Jupiter! |
Bowler Hats and Baby Geese |
Day One |
§10.5. Linking scenes together
Pine 2 |
§10.6. More general linkages
The Prague Job |
Entrevaux |
§10.7. Multiple beginnings and repeats
Night and Day |
Pine 3 |
§10.8. Multiple endings
Panache |
Pine 4 |
§10.9. Why are scenes designed this way?
Cheese-makers |
Chapter 11: Phrases
§11.3. Pattern matching
Ahem |
Ferragamo Again |
§11.5. Conditions and questions
Proposal |
§11.7. Begin and end
Matreshka |
Princess and the Pea |
§11.8. Otherwise
Numberless |
§11.10. Repeat
Wonka's Revenge |
§11.11. Repeat running through
Strictly Ballroom |
§11.14. Phrase options
Equipment List |
§11.15. Let and temporary variables
M. Melmoth's Duel |
§11.16. New conditions, new adjectives
Owen's Law |
§11.17. Phrases to decide other things
Witnessed 2 |
A Haughty Spirit |
§11.18. The value after and the value before
Entropy |
The Hang of Thursdays |
Chapter 12: Advanced Actions
§12.3. Giving instructions to other people
Virtue |
Latris Theon |
§12.4. Persuasion
The Hypnotist of Blois |
Police State |
§12.5. Unsuccessful attempts
Generation X |
§12.6. Spontaneous actions by other people
IQ Test |
Boston Cream |
§12.7. New actions
Red Cross |
Frizz |
3 AM |
§12.9. Check, carry out, report
The Dark Ages Revisited |
Paddington |
Delicious, Delicious Rocks |
Noisemaking |
§12.10. Action variables
Removal |
Further Reasons Why All Poets Are Liars |
The Second Oldest Problem |
Puff of Orange Smoke |
Croft |
§12.11. Making actions work for other people
The Man of Steel |
Trying Taking Manhattan |
Under Contract |
§12.12. Check rules for actions by other people
Get Axe |
Barter Barter |
§12.13. Report rules for actions by other people
The Man of Steel Excuses Himself |
Fate Steps In |
§12.15. Out of world actions
Spellbreaker |
A point for never saving the game |
§12.16. Reaching inside and reaching outside rules
Carnivale |
§12.17. Visible vs touchable vs carried
Eddystone |
Slogar's Revenge |
§12.18. Changing reachability
Magneto's Revenge |
Waterworld |
Dinner is Served |
§12.19. Changing visibility
Flashlight |
§12.20. Stored actions
Bosch |
Cactus Will Outlive Us All |
Actor's Studio |
Anteaters |
Chapter 13: Relations
§13.2. What sentences are made up from
Formal syntax of sentences |
§13.4. To carry, to wear, to have
Celadon |
Interrogation |
§13.6. Making reciprocal relations
Four Cheeses |
§13.7. Relations in groups
Transmutations |
Otranto |
§13.9. Defining new assertion verbs
Unthinkable Alliances |
The Unexamined Life |
§13.10. Defining new prepositions
The Abolition of Love |
Swerve left? Swerve right? Or think about it and die? |
Beneath the Surface |
Bogart |
§13.11. Indirect relations
The Problem of Edith |
§13.12. Relations which express conditions
Wainwright Acts |
A Humble Wayside Flower |
§13.13. Relations involving values
Meet Market |
For Demonstration Purposes |
§13.14. Relations as values in their own right
Number Study |
§13.16. What are relations for?
Murder on the Orient Express |
What Not To Wear |
Mathematical view of relations |
Graph-theory view of relations |
Chapter 14: Adaptive Text and Responses
§14.3. More on adapting verbs
Fun with Participles |
Variety |
Variety 2 |
Narrative Register |
§14.6. Adapting demonstratives and possessives
Olfactory Settings |
§14.9. Verbs as values
History Lab |
Relevant Relations |
§14.11. Changing the text of responses
Responsive |
Chapter 15: Numbers and Equations
§15.2. Numbers and real numbers
Alias |
§15.8. Units
rBGH |
Lethal Concentration 1 |
Wonderland |
Lethal Concentration 2 |
§15.12. Making the verb "to weigh"
Dimensions |
Lead Cuts Paper |
§15.15. The parts of a number specification
Zqlran Era 8 |
§15.16. Understanding specified numbers
Snip |
§15.17. Totals
Nickel and Dimed |
§15.18. Equations
Widget Enterprises |
§15.19. Arithmetic with units
Frozen Assets |
Money for Nothing |
Lemonade |
Savannah |
§15.20. Multiplication of units
Depth |
Fabrication |
The Speed of Thought |
Chapter 16: Tables
§16.3. Corresponding entries
Dubai |
§16.6. Repeating through tables
Port Royal 4 |
§16.9. Blank rows
If It Hadn't Been For... |
§16.10. Adding and removing rows
Odyssey |
§16.11. Sorting
Jokers Wild |
§16.12. Listed in...
Noisy Cricket |
§16.13. Topic columns
Merlin |
Questionable Revolutions |
The Queen of Sheba |
§16.14. Another scoring example
Goat-Cheese and Sage Chicken |
§16.15. Varying which table to look at
Farewell |
§16.16. Defining things with tables
Sweeney |
Introduction to Juggling |
§16.18. Table continuations
Food Network Interactive |
§16.19. Table amendments
Trieste |
Chapter 17: Understanding
§17.1. Understand
Indirection |
XYZZY |
Xylan |
§17.2. New commands for old grammar
Alpaca Farm |
Anchorite |
Cloak of Darkness |
§17.3. Overriding existing commands
The Trouble with Printing |
Lanista 2 |
§17.4. Standard tokens of grammar
Shawn's Bad Day |
The Left Hand of Autumn |
§17.5. The text token
Ish. |
Nameless |
§17.6. Actions applying to kinds of value
Safety |
Tom's Midnight Garden |
Ibid. |
§17.7. Understanding any, understanding rooms
One of Those Mornings |
Actaeon |
§17.9. Understanding kinds of value
Pages |
Down in Oodville |
Straw Into Gold |
§17.10. Commands consisting only of nouns
Misadventure |
Safari Guide |
§17.11. Understanding values
Palette |
Baritone, Bass |
§17.13. New tokens
Lies |
§17.15. Understanding things by their properties
Aspect |
Hymenaeus |
Channel 1 |
Terracottissima |
Peers |
Channel 2 |
Terracottissima Maxima |
Tilt 1 |
§17.16. Understanding things by their relations
Cinco |
Puncak Jaya |
Whither? |
Claims Adjustment |
§17.17. Context: understanding when
Quiz Show |
Bibliophilia |
§17.18. Changing the meaning of pronouns
Pot of Petunias |
§17.19. Does the player mean...
Masochism Deli |
§17.20. Multiple action processing
The Best Till Last |
Western Art History 305 |
§17.21. Understanding mistakes
Query |
The Gorge at George |
Hot Glass Looks Like Cold Glass |
§17.22. Precedence
Some Assembly Required |
Lakeside Living |
Chapter 18: Activities
§18.1. What are activities?
Ant-Sensitive Sunglasses |
§18.5. New activities
AARP-Gnosis |
Aftershock |
Crusoe |
§18.9. Deciding the concealed possessions of something
Hays Code |
§18.10. Printing the name of something
Shipping Trunk |
Trachypachidae Maturin 1803 |
Chronic Hinting Syndrome |
§18.11. Printing the plural name of something
Hudsucker Industries |
§18.12. Printing a number of something
Prolegomena |
§18.13. Listing contents of something
Unpeeled |
§18.15. Issuing the response text of something
Wesponses |
§18.16. Printing room description details of something
Rules of Attraction |
§18.18. Printing a refusal to act in the dark
Zorn of Zorna |
§18.22. Printing the description of a dark room
Hohmann Transfer |
Four Stars 1 |
§18.23. Constructing the status line
Ways Out |
Guided Tour |
§18.24. Writing a paragraph about
Reflections |
Emma |
Air Conditioning is Standard |
§18.25. Listing nondescript items of something
Rip Van Winkle |
Happy Hour |
The Eye of the Idol |
§18.26. Printing the locale description of something
Priority Lab |
§18.27. Choosing notable locale objects for something
Low Light |
Casino Banale |
§18.28. Printing a locale paragraph about
Kiwi |
Copper River |
§18.29. Deciding the scope of something
Peeled |
Four Stars 2 |
Ginger Beer |
Rock Garden |
Stately Gardens |
§18.31. Asking which do you mean
Apples |
Originals |
Walls and Noses |
§18.32. Supplying a missing noun/second noun
Latin Lessons |
Minimal Movement |
§18.33. Reading a command
Cloves |
Fragment of a Greek Tragedy |
North by Northwest |
Complimentary Peanuts |
§18.34. Implicitly taking something
The Big Sainsbury's |
Pizza Prince |
Lollipop Guild |
§18.35. Printing a parser error
WXPQ |
Xot |
§18.37. Printing the banner text
Bikini Atoll |
§18.38. Printing the player's obituary
Battle of Ridgefield |
Finality |
Jamaica 1688 |
§18.39. Amusing a victorious player
Xerxes |
§18.40. Starting the virtual machine
Blankness |
Chapter 19: Rulebooks
§19.2. Named rules and rulebooks
Nine AM Appointment |
Delayed Gratification |
§19.3. New rules
The Crane's Leg 2 |
Stone |
Bribery |
§19.4. Listing rules explicitly
Saint Eligius |
Uptempo |
Verbosity 2 |
Slouching |
Swigmore U. |
§19.5. Changing the behaviour of rules
Access All Areas |
§19.8. New rulebooks
Solitude |
In Fire or in Flood |
Patient Zero |
§19.9. Basis of a rulebook
Flotation |
§19.11. Success and failure
Kyoto |
§19.12. Named outcomes
Being Peter |
§19.13. Rulebooks producing values
Feline Behavior |
Tilt 2 |
§19.15. Two rulebooks used internally
Electrified |
Timeless |
Endurance |
Escape from the Seraglio |
Chapter 20: Advanced Text
§20.4. Upper and lower case letters
Capital City |
Rocket Man |
§20.6. Regular expression matching
Alpha |
About Inform's regular expression support |
§20.7. Making new text with text substitutions
Identity Theft |
Mirror, Mirror |
The Cow Exonerated |
§20.8. Replacements
Blackout |
Fido |
Igpay Atinlay |
Mr. Burns' Repast |
Northstar |
Cave-troll |
Chapter 21: Lists
§21.3. Saying lists of values
Oyster Wide Shut |
§21.5. Building lists
Robo 1 |
§21.6. Lists of objects
What Makes You Tick |
Formicidae |
§21.9. Accessing entries in a list
Robo 2 |
§21.10. Lengthening or shortening a list
Leopard-skin |
The Facts Were These |
§21.11. Variations: arrays, logs, queues, stacks, sets, sieves and rings
Circle of Misery |
Eyes, Fingers, Toes |
The Fibonacci Sequence |
I Didn't Come All The Way From Great Portland Street |
Lugubrious Pete's Delicatessen |
Sieve of Eratosthenes |
Your Mother Doesn't Work Here |
Chapter 22: Advanced Phrases
§22.2. Descriptions as values
Curare |
Chapter 23: Figures, Sounds and Files
§23.13. Writing and reading tables to external files
Alien Invasion Part 23 |
Labyrinth of Ghosts |
Rubies |
§23.14. Writing, reading and appending text to files
The Fourth Body |
The Fifth Body |
§23.15. Exchanging files with other programs
Flathead News Network |
Chapter 25: Releasing
§25.23. Titling and abbreviation
Baedeker |
Port Royal 5 |
Bay Leaves and Honey Wine |
Chapter 27: Extensions
§27.5. A simple example extension
Modern Conveniences |
§27.7. Extensions and story file formats
Tilt 3 |
§27.15. Defining phrases in Inform 6
Pink or Blue |
§27.19. Longer extracts of Inform 6 code
Status line with centered text, the hard way |
§27.28. Segmented substitutions
Chanel Version 1 |
§27.30. To say one of
Blink |
Uncommon Ground |