<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Undo Restart Restore &#187; Inform 7</title>
	<atom:link href="http://nitku.net/blog/category/craft/inform-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://nitku.net/blog</link>
	<description>Interactive Fiction theory and design</description>
	<lastBuildDate>Tue, 10 Jan 2012 17:48:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IF Recorder version 3</title>
		<link>http://nitku.net/blog/2011/11/if-recorder-version-3/</link>
		<comments>http://nitku.net/blog/2011/11/if-recorder-version-3/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 21:14:57 +0000</pubDate>
		<dc:creator>Juhana</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Inform 7]]></category>
		<category><![CDATA[Undum]]></category>

		<guid isPermaLink="false">http://nitku.net/blog/?p=593</guid>
		<description><![CDATA[The tool formerly known as &#8220;Transcript recording plugin for Parchment&#8221; has been successfully used as a betatester transcript recorder with at least one game, and even in the currently running IFComp. Thanks to liberal version numbering scheme it has now reached version 3 and has been renamed IF Recorder. Here are the major new features: [...]]]></description>
			<content:encoded><![CDATA[<p>The tool formerly known as &#8220;<a href="http://nitku.net/blog/2011/05/transcript-recording-plugin-for-parchment-released/">Transcript recording plugin for Parchment</a>&#8221; has been successfully used as a betatester transcript recorder with at least one game, and even in the currently running IFComp. Thanks to liberal version numbering scheme it has now reached version 3 and has been renamed <em>IF Recorder</em>.</p>
<p>Here are the major new features:</p>
<ul>
<li><strong>Works with <a href="http://undum.com">Undum</a>.</strong> Now someone might wonder why anyone would want to record hypertext fiction stories, but even if there&#8217;s less need to check what kind of input readers give, other reasons still apply: you might want to get statistical data on which choices the readers make, or see if the readers give up at some certain point in the story, or even find out if some of the choices just don&#8217;t work as they should.
</li>
<li><strong>Web interpreter template for Inform 7.</strong> There&#8217;s a ready-made Inform 7 template to use with the <a href="http://inform7.com/learn/man/doc394.html">&#8220;Release along with an interpreter&#8221;</a> option. This makes it easier to start using the recorder although you still have to set up the database and the server scripts.
</li>
</ul>
<p>The project&#8217;s new headquarters are at <a href="https://github.com/juhana/if-recorder">Github</a> along with the <a href="https://github.com/juhana/if-recorder/wiki/Installation">instructions</a> and <a href="https://github.com/juhana/if-recorder/downloads">downloads</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nitku.net/blog/2011/11/if-recorder-version-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some useful Inform 7 extensions</title>
		<link>http://nitku.net/blog/2010/04/some-useful-inform-7-extensions/</link>
		<comments>http://nitku.net/blog/2010/04/some-useful-inform-7-extensions/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 21:15:06 +0000</pubDate>
		<dc:creator>Juhana</dc:creator>
				<category><![CDATA[Inform 7]]></category>

		<guid isPermaLink="false">http://nitku.net/blog/?p=277</guid>
		<description><![CDATA[I'm a big fan of extensions. Creating an IF game takes enough time as it is, so any way of avoiding reinventing the wheel someone has already invented and made public is a big plus. Extensions don't get enough use, and I'm not alone with this opinion: Aaron Reed has called for more visibility, including blogging about the best ones. I'll take a head start by introducing some of my own favorites.]]></description>
			<content:encoded><![CDATA[<p>Very often I turn transcripting on when I start playing IF. As a side effect <a href="http://www.logicalshift.co.uk/mac/index.html">Zoom</a> automatically runs the command VERSION, which in case of Inform 7 games shows the list of <a href="http://inform7.com/write/extensions/">extensions</a> the game uses. More often than not the list is empty. </p>
<p>I&#8217;m a big fan of extensions. Creating an IF game takes enough time as it is, so any way of avoiding reinventing the wheel someone has already invented and made public is a big plus. Extensions don&#8217;t get enough use, and I&#8217;m not alone with this opinion: Aaron Reed has <a href="http://www.intfiction.org/forum/viewtopic.php?f=38&#038;t=1012">called for more exposure</a>, including blogging about the best ones. I&#8217;ll take a head start by introducing some of my own favorites.</p>
<p><span id="more-277"></span></p>
<h3>Epistemology by Eric Eve</h3>
<p>By far the most useful extension I&#8217;ve yet found. The first thing I do every time I start a new project is including this extension because it will almost certainly be used.</p>
<p><a href="http://inform7.com/extensions/Eric%20Eve/Epistemology/index.html">Epistemology</a> adds two properties to every thing in the game: seen/unseen and familiar/unfamiliar. Every object starts as unseen and when the player encounters things (is in the same room or looks in the container where the object is) they automatically change to being seen. The familiar/unfamiliar property is what the author can toggle when needed if the player character already knows about something or learns about it during the game. The author can test whether a thing is either seen or familiar by checking if it&#8217;s known or unknown. </p>
<p>The most obvious use is for an ask/tell conversation system: you can prevent the player from asking about things that the player character would not yet know about by defining the action as &#8220;ask [person] about [any known thing]&#8220;. </p>
<p>In addition you should consider using the [any known thing] token every time when an action allows any noun to be used (not only those in scope). Let&#8217;s say you want the player to be able to get more information about NPCs by commanding WHO IS. You&#8217;ve implemented the command with the grammar line &#8220;who is [any person]&#8220;. You don&#8217;t want the player to ask about John Q. Public, who is the surprise villain of your game. So you write something like this:</p>
<div class="inform">
	Check asking who John Q Public is:</p>
<div class="inform-indent">
		if John Q Public is not revealed:</p>
<div class="inform-indent">
			say <span class="inform-text">&#8220;You don&#8217;t know who that is.&#8221;</span> instead.
</div>
</div>
</div>
<p>That works well when the player refers to John Q. by his full name, but now disambiguation can give the surprise away:</p>
<div class="transcript">
<div class="transcript-command">
	&gt;WHO IS JOHN
</div>
<p>	Who do you mean, John Doe or John Q. Public?
</p></div>
<p>It&#8217;s better to use &#8220;who is [any known person]&#8221; to avoid the disambiguation mechanism revealing things the player shouldn&#8217;t know about.</p>
<h3>Far Away by Jon Ingold</h3>
<p><a href="http://inform7.com/extensions/Jon%20Ingold/Far%20Away/index.html">Far Away</a> provides the adjective &#8220;distant&#8221; which simply puts things out of the player&#8217;s reach. Anything except examining (and other actions that do not require touch) will be blocked with a &#8220;you can&#8217;t reach it&#8221; message.</p>
<p>Far Away is most useful for filling in scenery items mentioned in room descriptions. You can create the item, give it a description, make it distant, and then just forget about it. No need worrying whether touching the sun or taking the clouds gives a reasonable response &#8212; the response is always the &#8220;can&#8217;t reach&#8221; one.</p>
<h3>Object Response Tests by Juhana Leinonen</h3>
<p>There&#8217;s a reason other than shameless self-promotion for this extension to be on this list. The amount of verbs in the standard library is huge and testing each object against each verb is a staggering task. <a href="http://inform7.com/extensions/Juhana%20Leinonen/Object%20Response%20Tests/index.html">Object Response Tests</a> allows you to try every available verb on one item with a single command. You can scan the output for unsuitable responses, like &#8220;You feel nothing unexpected&#8221; when the player types TOUCH THE FIRE.</p>
<p>You can also try a single verb on all objects in scope, or all verbs on all objects at once. Any custom commands in the game can be added to the testing batch, or disabled commands removed from it. Testing commands are disabled in the released game.</p>
<p>The extension is not a replacement for proper testing done by humans, but it will help catch some of the cases easily missed by testers.</p>
<h3>Disambiguation Control by Jon Ingold</h3>
<p>Another one of Jon Ingold&#8217;s extensions, <a href="http://inform7.com/extensions/Jon%20Ingold/Disambiguation%20Control/index.html">Disambiguation Control</a>, completely replaces the default disambiguation mechanism. It&#8217;s a tinkerer&#8217;s dream: in addition to improving the parser&#8217;s functionality in general, you get to define the parser&#8217;s disambiguation preferences to whatever you want.</p>
<p>In contrast to the extensions mentioned before, this is not one that I&#8217;d recommend to everyone. I7&#8242;s own disambiguation engine works fairly well in most cases. Disambiguation Control requires a relatively large amount of learning to use efficiently. It will also potentially increase the author&#8217;s work because it adds new layers and options to the mechanism that by default does everything more or less automatically. Nevertheless if you find yourself thinking the standard parser&#8217;s disambiguation should be smarter or hoping for more control over disambiguation choices, this is the extension for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://nitku.net/blog/2010/04/some-useful-inform-7-extensions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An action by any other name: Finding the names of actions in Inform 7</title>
		<link>http://nitku.net/blog/2009/12/an-action-by-any-other-name/</link>
		<comments>http://nitku.net/blog/2009/12/an-action-by-any-other-name/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:01:37 +0000</pubDate>
		<dc:creator>Juhana</dc:creator>
				<category><![CDATA[Inform 7]]></category>

		<guid isPermaLink="false">http://nitku.net/blog/?p=214</guid>
		<description><![CDATA[One thing that seems to trip authors every time in I7 is finding the name of the action to work with. Here are some hints for finding the name of the action when you encounter the "that did not make sense as a description of an action" error.]]></description>
			<content:encoded><![CDATA[<p>One thing that seems to trip authors every time in I7 is finding the name of the action to work with. Here are some hints for finding the name of the action when you encounter the &#8220;that did not make sense as a description of an action&#8221; error.</p>
<p><span id="more-214"></span></p>
<p>Let&#8217;s say we have in our game a coin and a slot machine and we would understandably want to handle PUT COIN IN MACHINE somehow. So we write this:</p>
<div class="inform">
The Casino is a room.</p>
<p>A slot machine is in the Casino. The player carries a coin.</p>
<div class="inform-invalid">
Instead of putting the coin in the slot machine:</p>
<div class="inform-indent">
	say <span class="inform-string">&#8220;The coin falls through the machine and straight into the winnings tray. It must be broken.&#8221;</span>
</div>
</div>
</div>
<p>Looks all good, right? But when we try it, the compiler says this:</p>
<div class="inform-error">
Problem. You wrote &#8216;Instead of putting the coin in the slot machine&#8217;  , which seems to introduce a rule taking effect only if the action is &#8216;putting the coin in the slot machine&#8217;. But that did not make sense as a description of an action. I am unable to place this rule into any rulebook.
</div>
<p>This happens because &#8220;putting it in&#8221; is actually not the action&#8217;s name. Even though when playing the game <em>one action can have several verbs</em> that are synonymous (eg. TAKE and GET do exactly the same thing) but in the code <em>each action has only one name</em> (eg. taking). Actions are like those demons in folklore where you have to know their true name before you can control them.</p>
<p>How do you find an action&#8217;s real name then? There are a couple of ways, but these two are probably the easiest.</p>
<p>The first method is to open the index page and take a look at the Actions tab. (This is the Mac IDE, the Windows and possibly Linux versions have the buttons in slightly different places.)</p>
<p><img src="http://nitku.net/blog/blogcontent/uploads/2009/12/actions_tab.png" alt="Actions tab in Inform 7" title="Actions tab" width="456" height="232" class="size-full wp-image-218" /></p>
<p>This page lists all actions and all verbs that are available in-game. Scroll down the page and find &#8220;put&#8221;.</p>
<p><img src="http://nitku.net/blog/blogcontent/uploads/2009/12/actions_put.png" alt="The put verb in the actions tab" title="The put verb in the actions tab" width="451" height="279" class="size-full wp-image-219" /></p>
<p>The command PUT has different meanings depending on the context but the line we want in this case is &#8220;put [other things] in/inside/into [something]&#8220;. This shows the name of the action: inserting it into.</p>
<p>The drawback of this method is that the index tab is not always available if there was a problem compiling the game, so you might not get to see the list without trimming the non-working parts of the code and compiling again. There&#8217;s another way of finding the name of the action right in the game itself. Go to the game running in the IDE (where the debugging verbs are available), type ACTIONS to turn the actions listing on and then the command you wish to manipulate (although this suffers from the same problem as the index in Linux and possibly Windows IDE; see the comments below):</p>
<div class="transcript">
<div class="transcript-command">&gt;actions</div>
<p>Actions listing on.</p>
<div class="transcript-command">&gt;put coin in machine</div>
<p><strong>[inserting the coin into the slot machine]</strong><br />
That can&#8217;t contain things.<br />
[inserting the coin into the slot machine - failed the can't insert into what's not a container rule]
</div>
<p>The emphasized line shows that the action that the game tries is &#8220;inserting it into&#8221;, which is the name of the action we need to use in our case.</p>
]]></content:encoded>
			<wfw:commentRss>http://nitku.net/blog/2009/12/an-action-by-any-other-name/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

