Inform 7 Snippets  

People + Animals

< Back Home

 
  • Basic People & Animals
    This demonstrates how we create men, women, animals, and kinds of animals to populate a game.
  • Arrest Them (version 1)
    This is a simple demonstration of how we could arrest a person and what might happen if they are either guilty or innocent. Includes creating a new verb (arresting) and new properties for persons.
  • Arrest Them (version 2)
    This is a simple demonstration of how we could arrest a person and what might happen if they are either guilty or innocent. Includes creating a new verb (arresting) and new properties for persons. This second version provides for selecting a person at random to be guilty. Based on the example game 'Clueless' in Chapter 9.1 in the Inform 7 documentation.
  • The State of the Orange
    This is a simple demonstration of how we might change an object by changing their properties rather than 'swapping out' objects with another. This is based on Chapter 16.14. 'Understanding things by their properties' in the Inform 7 documentation.

Conversations

  • Simple Conversations
    A very rudimentary example of providing responses for ASK (SOMEBODY) ABOUT (TOPIC), TELL (SOMEBODY) ABOUT (TOPIC), and SHOW (SOMEBODY) THE (SOMETHING).

Followers

  • Basic Follower 01
    A basic example of commanding someone to follow the player around and to stop someone from following the player around by using the commands 'ED, FOLLOW ME' and 'ED, STOP' respectively. This requires the Simple Followers extension by Emily Short.
  • Finding and Following
    An example of how someone will find the player and then follow the player around. This is based on the 'Van Helsing' example in 'Chapter 3.25 The location of something' in the Inform 7 documentation.
     
   

The examples and snippets were created with Inform 7.

To play the examples available here, you need an interpreter program: many are available, among them Zoom for Mac OS X and for Unix, and Windows Frotz for Windows.