"Arrest Them (version 2)" by John Timmons
The release number is 1. The story creation year is 2007. The story headline is "An example of making a choice by arresting someone." The story description is "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."
Release along with the source text and a website.
[Create a type of a person that can applied to different persons.]
The guilty is a person that varies.
[Create a new verb for arresting persons.]
Arresting is an action applying to one visible thing. Understand "arrest [someone]" as arresting.
[As the game starts, we randomly select one of the persons in the game as being guilty - but not the player character.]
When play begins:
change the guilty to a random person who is not the player.
[This provides a clue to the guilty person simply by examining them.]
Instead of examining the guilty:
say "[The noun] certainly looks fiendish!"
The Foyer is a room.
The gun is in the Foyer.
Joe and Ed are men in the Foyer.
Sue and Mary are a women in the Foyer.
[A new rule for arresting the guilty party and provide actions as appropriate.]
Instead of arresting a person who is guilty:
say "'[The noun],' you slowly begin, 'you have the right to remain silent...'"
[A new rule for trying to arrest a person who is not the guilty person.]
Instead of arresting a person:
say "[The noun] is not who you are looking for."