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>, Closing <ahref=21_A.html><imgborder=0src=inform:/doc_images/Beneath.png></a>, <b>Wearing</b> <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>Wearing <fontcolor="#000080">something</font></b><aname=Wear></a> (<i>past tense</i> worn)<br>
<p>The Standard Rules give Inform
only a simple model of clothing. A thing can be worn only if it has the
either/or property of being 'wearable'. (Typing a sentence like 'Mr Jones
wears the Homburg hat.' automatically implies that the hat is wearable,
which is why we only seldom need to use the word 'wearable' directly.)
There is no checking of how much or how little any actor is wearing, or
how incongruous this may appear: nor any distinction between under or
over-clothes.<br><br>To put on an article of clothing, the actor must be directly carrying it,
as enforced by the 'can't wear what's not held rule'.<p><hr><p><b>Typed commands leading to this action</b><p>
<pclass="hangingin2">"wear/don [something preferably held]"</p><pclass="hangingin2">"put on [something preferably held]"</p><pclass="hangingin2">"put [something preferably held] on"</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#line53"><imgborder=0src=inform:/doc_images/Reveal.png></a></p>
<br><pclass="hangingin2">check <i>an actor wearing</i> <fontcolor="#800000">can't wear what's not clothing rule</font> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not clothing rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The can[=0x0027=]t wear what[=0x0027=]s not clothing rule is not listed in the check wearing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000195', 'plus1000195'); return false;"><imgborder=0id="plus1000195"src=inform:/doc_images/responses.png></a> 1</p>
<divid="extra1000195"style="display: none;"><pclass="in2"> <spanstyle="color: #ffffff; font-family: 'Courier New', Courier, monospace; background-color: #8080ff;"> A </span><spanstyle="color: #000066;">"[We] [can't wear] [regarding the noun][those]!"</span> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not clothing rule response (A)')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not clothing 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 wearing</i> <fontcolor="#800000">can't wear what's not held rule</font> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not held rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The can[=0x0027=]t wear what[=0x0027=]s not held rule is not listed in the check wearing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000196', 'plus1000196'); return false;"><imgborder=0id="plus1000196"src=inform:/doc_images/responses.png></a> 1</p>
<divid="extra1000196"style="display: none;"><pclass="in2"> <spanstyle="color: #ffffff; font-family: 'Courier New', Courier, monospace; background-color: #8080ff;"> A </span><spanstyle="color: #000066;">"[We] [aren't] holding [regarding the noun][those]!"</span> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not held rule response (A)')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s not held 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 wearing</i> <fontcolor="#800000">can't wear what's already worn rule</font> <ahref="javascript:pasteCode('can[=0x0027=]t wear what[=0x0027=]s already worn rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The can[=0x0027=]t wear what[=0x0027=]s already worn rule is not listed in the check wearing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000197', 'plus1000197'); return false;"><imgborder=0id="plus1000197"src=inform:/doc_images/responses.png></a> 1</p>
<br><pclass="hangingin2">carry out <i>an actor wearing</i> <fontcolor="#800000">standard wearing rule</font> <ahref="javascript:pasteCode('standard wearing rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The standard wearing rule is not listed in the carry out wearing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i></p>
<br><pclass="hangingin2">report <i>an actor wearing</i> <fontcolor="#800000">standard report wearing rule</font> <ahref="javascript:pasteCode('standard report wearing rule')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>name</i><ahref="javascript:pasteCode('The standard report wearing rule is not listed in the report wearing rulebook.[=0x000A=]')"><imgborder=0src=inform:/doc_images/paste.png></a> <i>unlist</i> <ahref="#"onclick="showResp('extra1000199', 'plus1000199'); return false;"><imgborder=0id="plus1000199"src=inform:/doc_images/responses.png></a> 2</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>