gwelks: Nigel Jayne's Interactive Fiction Site

Source Text for Sequitur

[I made my source text available because I learned a lot of useful code from reading other writers' sources. Maybe you'll also find some useful bits and pieces throughout this text. Accordingly, this source text is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License (http://creativecommons.org/licenses/by-nc-nd/3.0/). You can take chunks of the source, except text that is printed to the game screen, and incorporate them into your games.

The source text is a little over 51 000 words with about another 3000 words as comments. Sequitur was originally made using Inform 6G60. It has been updated and can be compiled in 6L32. i can't guarantee my comments are accurate. They are based on my interpretations and preferences. Any Inform 6 code is not mine; I copied it from either the Writing with Inform 7 documentation or posts on the Interactive Fiction Forum (http://www.intfiction.org/forum/). Finally, I use a screen reader, so I don't always "see" wonky text formatting.

Changelog for release 3:

compiles in 6L32 (replaced image centering extension with compatible code (Section - Image Centering) and added text effects extension by Emily Short)

added theme song "The Heckler" as a bonus track

New Actions:

REMEMBER reminds the player of the links that have been established

INSERT a track RIGHT or LEFT of another track or position

INSERT track to track IN position or track (allows the player to move a string of tracks at once and put them relative to another or starting at a particular spot in the Sequence (players can group and transfer tracks if (1) they aren't in the sequence but they have been linked together or (2) the tracks are in the sequence)

simply typing a track and a slot will now insert the track into the slot

revamped examining hints rules to include building from explained tracks, and changed some check to instead rules

New phrases:

decide whether (a number) slots is/are available starting at (a number)

decide if (a thing) and (a thing) are intellectually connected

decide if (a thing) is properly positioned beside (a thing)

decide which list of numbers is the numbered track list for (a list of things)

decide which number is the position number of (a track) among (list of things)

decide which number is positions-plus

decide if (a number) is within (a number) and (a number)

decide which list of things is the connected links for (a list of things) starting at (a number)

place the (a list of things) group into the sequence starting at (a number) using a track

place the (a list of things) group into the sequence starting at (a number) including (a list of numbers)

add (a list of things) to positions starting at (a number)

move is a synonym of insert

responds to verbosity commands

fixed a few minor bugs

]

The Story headline is "An Interactive Chain of Evidence". The Story genre is "Mystery".

The story description is "The only person who can explain what happened in a long-forgotten house with four dead people inside is comatose and clinging to her life in hospital. Detective Stephen Cochone of the New Orleans Police Department needs to accurately reconstruct the chain of events by sequencing the video footage, sound recordings, and other vestiges of activity found at the site, leading him to a conclusion that could protect the lives of millions.".

The story creation year is 2014. The Release number is 3.

Use no deprecated features, serial comma, and American dialect.

use DICT_WORD_SIZE of 20. [This allows the parser to read 20 characters, instead of just 9, when trying to understand the name of something.]

Use maximum text length of at least 2000.

Use max_static_data of 300000.

Release along with source text, library card, interpreter, and cover art ("A quotation in white letters with gold trim is superimposed over the contours of an office etched in black. The quotation opens in the top left of the page with an ellipsis. The word 'Sequitur' follows in the center of the cover, and the quotation closes with another ellipsis in the bottom right.").

Include Alternatives by Eric Eve.

Include Extended Banner by Stephen Granade.[This version isn't completely compatible with I7 6L02, but we don't use the illegal string anyway, so it works.]

Include Multiple Sounds by Massimo Stella.

Include Undo Output Control by Erik Temple. [For version 3, we change the phrases "To decide which value ... " to "To decide which number ... " and replace the call for "L__M" with print statements.]

Include Basic Screen Effects by Emily Short. Include Glulx Entry Points by Emily Short. Include Punctuation Removal by Emily Short. Include Glulx Text Effects by Emily Short.

Include (-Replace PrintInferredCommand;[ PrintInferredCommand; ];-) before "Parser.i6t". [This removes parenthetical confirmations when the parser fills in a second noun or chooses an object (this happens before the "supplying a missing noun/second noun" activity and "Does the player mean."]

class="indent0">Sound of cymbals is the file "cymbals.ogg".

Sound of heckler is the file "heckler.ogg".

Figure of gamecover is the file "cover.png" ("[cover design]").

[We need this say phrase because we want the text description printed in interpreters that don't support graphics. See the Displaying Cover action for how this is done.]

To say cover design:

say "A quotation in white letters with gold trim is superimposed over the contours of an office etched in black. The quotation opens in the top left of the page with an ellipsis. The word 'Sequitur' follows in the center of the cover, and the quotation closes with another ellipsis in the bottom right.".

Volume -World Descriptors and Mechanics

Book - Things, Values, Variables

Book - phrases and Solitary Rules

Book - Activities and Rulebooks

Book - Actions

Volume - The Mystery

Book - The Footage

Book - Story Finale

Book - Processing Rules