Escapade!An interactive fiction by Juhana Leinonen (2008) - the Inform 7 source text | |
Home page Contents Previous Next Complete text | Part Singing
A tune is a kind of thing. A tune is usually not conversable. Instead of singing: try singing to a random generic song. Singing to is an action applying to one visible thing. Understand "sing [something]" as singing to. Understand "sing [any known tune]" as singing to. Understand "sing about [any known tune]" as singing to. Check singing to: if the noun is not a tune: say "You can't sing that!" instead. [each tune will have the carry out rule written with the rest of its code] The song-disambig is a tune. The printed name is "some generic tune". Understand "some" and "generic" and "tune" and "song" as the song-disambig. It is familiar. It is proper-named. Rule for printing the name of the song-disambig while asking which do you mean: say "[the random generic song]". Carry out singing to the song-disambig: try singing to a random generic song instead. A generic song is a kind of tune. It is always familiar. It is usually proper-named. I am the very model of a modern Major-General is a generic song. Carry out singing to the I am the very model of a modern Major-General: say "[italic type]'I am the very model of a modern Major-General,[line break] I've information vegetable, animal, and mineral,[line break] I know the kings of England, and I quote the fights historical[line break] From Marathon to Waterloo, in order categorical;[line break] I'm very well acquainted, too, with matters mathematical,[line break] I understand equations, both the simple and kumquatical,[line break] About binocular theorem I'm teeming with a lot o['] news,[line break] With many cheerful facts about the square of the hippopotamus.'[roman type][line break][if the creature is present][line break][c]You're not the very model of a modern English major, that's for sure,[c] [the creature] says." Mary Had a Little Lamb is a generic song. Carry out singing to the Mary Had a Little Lamb: say "[italic type]'Mary had a little lamb...'[roman type][paragraph break]That's all you remember now. It's a stressful situation after all.[if the creature is present][line break][c]Thank the heavens,[c] [the creature] sighs." The Captain McBrawn Theme Song is a generic song. It is improper-named. Carry out singing to the Captain McBrawn Theme Song: say "You proudly hum Captain McBrawn's theme song and regain a good dose of courage and morale." I'm a Little Teapot is a generic song. It is improper-named. Carry out singing to the I'm a Little Teapot: say "[italic type]'I'm a little teapot, short and stout. Here is my handle, here is my spout.'[roman type][line break][if the creature is present and the player is naked][line break][c]Oh for the love of everything that's good and holy! You [italic type]really[roman type] don't need to point out your spout!' [the creature] begs." |