A Handy Kit
An interactive fiction by Andrew Plotkin (2006) - the Inform 7 source text
|Section - The Lockpick
[The lockpick. Its functionality is not implemented in this sample.]
The lockpick is a tool in the toolcase. Understand "pick" or "silver" or "rod" or "status" or "dot" as the lockpick. The description is "The pick is a silver rod the size of your ring finger -- not true silver, of course, nothing so easily scanned. It's splayed at one end into a flat disc of conductor-web matrix. The status dot is blue."
Instead of touching or rubbing the lockpick, say "The rod is smooth and light, quick to pick up the heat of your fingers."
The matrix disc is part of the lockpick. Understand "web" or "conductor" or "flat" or "disk" or "disc" or "lockpick matrix" or "lockpick disc" as the matrix disc. The description is "The lockpick widens at the top, ending in a coin-sized disc with the woven gleam of conductor-web matrix."
Instead of touching or rubbing the matrix disc, say "The familiar weave slides across your thumb."
The matrix disc is not perfumizable.
The lockpick and the matrix disc are connectable.
[I tried writing this as "Check connecting the lockpick with something: ..." but I can't seem to make that work.]
Check connecting it with when the noun is the lockpick:
if the second noun is the lockpick or the second noun is the matrix disc,
instead say "The rod isn't flexible, you understand.";
Report connecting it with when the noun is the lockpick:
instead say "The pick does not react to [the second noun]."
[Connection attempts with the matrix disc should be handled by the lockpick instead.]
Check connecting it with when the noun is the matrix disc:
instead try connecting the lockpick with the second noun.