A single action in detail.<br><i>About the action rulebooks <ahref=inform:/doc178.html><imgborder=0src=inform:/doc_images/help.png></a></i></p>
</td>
</tr></table>
<hr><b>Standard actions which change the state of things</b><br>Locking it with <ahref=16_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Unlocking it with <ahref=17_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Switching on <ahref=18_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Switching off <ahref=19_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Opening <ahref=20_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, <b>Closing</b> <ahref=21_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Wearing <ahref=22_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, Taking off <ahref=23_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a><p><hr><p><b>Closing <fontcolor="#000080">something</font></b><aname=Close></a> (<i>past tense</i> closed)<br>
<p>Closing makes something into
a physical barrier. The action can be performed on any kind of thing which
provides the either/or properties openable and open. The 'can't close unless
openable rule' tests to see if the noun both can be and actually is openable.
(It is assumed that anything which can be openable can also be open, and
hence can also be closed.) In the Standard Rules, the container and door
kinds both satisfy these requirements.<br><br>We can create a new kind on which opening and closing will work thus:
'A case file is a kind of thing. A case file can be openable.
A case file can be open. A case file is usually openable and closed.'<br><br>The meaning of open and closed is different for different kinds of thing.
When a container is closed, that means people outside cannot reach in,
and vice versa; when a door is closed, people cannot use the 'going' action
to pass through it. If we were to create a new kind such as 'case file',
we would also need to write rules to make the open and closed properties
interesting for this kind.<p><hr><p><b>Typed commands leading to this action</b><p>
<pclass="hangingin2">"close/shut/cover [something]"</p><pclass="hangingin2">"close/shut/cover up [something]"</p><p><b>Rules controlling this action</b></p><p>
<pclass="hangingin2">instead of <i>doing something to the cables</i> <ahref="source:story.ni#line56"><imgborder=0src=inform:/doc_images/Reveal.png></a></p>
<br><pclass="hangingin2">check <i>an actor closing</i> <fontcolor="#800000">can't close unless openable rule</font> <ahref="javascript:pasteCode('can[=0x0027=]t close unless openable rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The can[=0x0027=]t close unless openable rule is not listed in the check closing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000191', 'plus1000191'); return false;"><imgborder=0id="plus1000191"src=inform:/doc_images/responses.png></a> 1</p>
<divid="extra1000191"style="display: none;"><pclass="in2"> <spanstyle="color: #ffffff; font-family: 'Courier New', Courier, monospace; background-color: #8080ff;"> A </span><spanstyle="color: #000066;">"[regarding the noun][They] [aren't] something [we] [can] close."</span> <ahref="javascript:pasteCode('can[=0x0027=]t close unless openable rule response (A)')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i> <ahref="javascript:pasteCode('can[=0x0027=]t close unless openable rule response (A) is [=0x0022=]New text.[=0x0022=].')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>set</i></div>
<pclass="hangingin2">check <i>an actor closing</i> <fontcolor="#800000">can't close what's already closed rule</font> <ahref="javascript:pasteCode('can[=0x0027=]t close what[=0x0027=]s already closed rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The can[=0x0027=]t close what[=0x0027=]s already closed rule is not listed in the check closing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000192', 'plus1000192'); return false;"><imgborder=0id="plus1000192"src=inform:/doc_images/responses.png></a> 1</p>
<divid="extra1000192"style="display: none;"><pclass="in2"> <spanstyle="color: #ffffff; font-family: 'Courier New', Courier, monospace; background-color: #8080ff;"> A </span><spanstyle="color: #000066;">"[regarding the noun][They're] already closed."</span> <ahref="javascript:pasteCode('can[=0x0027=]t close what[=0x0027=]s already closed rule response (A)')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i> <ahref="javascript:pasteCode('can[=0x0027=]t close what[=0x0027=]s already closed rule response (A) is [=0x0022=]New text.[=0x0022=].')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>set</i></div>
<br><pclass="hangingin2">carry out <i>an actor closing</i> <fontcolor="#800000">standard closing rule</font> <ahref="javascript:pasteCode('standard closing rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The standard closing rule is not listed in the carry out closing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i></p>
<br><pclass="hangingin2">report <i>an actor closing</i> <fontcolor="#800000">standard report closing rule</font> <ahref="javascript:pasteCode('standard report closing rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The standard report closing rule is not listed in the report closing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000194', 'plus1000194'); return false;"><imgborder=0id="plus1000194"src=inform:/doc_images/responses.png></a> 3</p>
<br>Click on the speech-bubble icons to see the responses, or here to see all of them: <ahref="#"onclick="showAllResp(); return false;"><imgborder=0src=inform:/doc_images/responses.png></a> 5</p>