Skip to content

Commit

Permalink
Added Inform7 example
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming Chow committed Feb 23, 2012
1 parent 000463b commit a57d0a3
Show file tree
Hide file tree
Showing 94 changed files with 24,968 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
209 changes: 209 additions & 0 deletions if/TheWhiteRoom.inform/Index/Actions.html

Large diffs are not rendered by default.

246 changes: 246 additions & 0 deletions if/TheWhiteRoom.inform/Index/Contents.html

Large diffs are not rendered by default.

220 changes: 220 additions & 0 deletions if/TheWhiteRoom.inform/Index/Details/0_A.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
h3.tighter {
margin-top: 0px;
}
p.hang {
padding-left: 25px;
text-indent: -25px;
margin-top: 0px;
margin-bottom: 0px;
}
p.in1 {
padding-left: 0px;
}
p.tightin1 {
padding-left: 0px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin1 {
padding-left: 0px;
margin-bottom: 2px;
}
p.hangingin1 {
padding-left: 50px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in2 {
padding-left: 25px;
}
p.tightin2 {
padding-left: 25px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin2 {
padding-left: 25px;
margin-bottom: 2px;
}
p.hangingin2 {
padding-left: 75px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in3 {
padding-left: 50px;
}
p.tightin3 {
padding-left: 50px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin3 {
padding-left: 50px;
margin-bottom: 2px;
}
p.hangingin3 {
padding-left: 100px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in4 {
padding-left: 75px;
}
p.tightin4 {
padding-left: 75px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin4 {
padding-left: 75px;
margin-bottom: 2px;
}
p.hangingin4 {
padding-left: 125px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in5 {
padding-left: 100px;
}
p.tightin5 {
padding-left: 100px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin5 {
padding-left: 100px;
margin-bottom: 2px;
}
p.hangingin5 {
padding-left: 150px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in6 {
padding-left: 125px;
}
p.tightin6 {
padding-left: 125px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin6 {
padding-left: 125px;
margin-bottom: 2px;
}
p.hangingin6 {
padding-left: 175px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in7 {
padding-left: 150px;
}
p.tightin7 {
padding-left: 150px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin7 {
padding-left: 150px;
margin-bottom: 2px;
}
p.hangingin7 {
padding-left: 200px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in8 {
padding-left: 175px;
}
p.tightin8 {
padding-left: 175px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin8 {
padding-left: 175px;
margin-bottom: 2px;
}
p.hangingin8 {
padding-left: 225px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
p.in9 {
padding-left: 200px;
}
p.tightin9 {
padding-left: 200px;
margin-top: 2px;
margin-bottom: 2px;
}
p.halftightin9 {
padding-left: 200px;
margin-bottom: 2px;
}
p.hangingin9 {
padding-left: 250px;
text-indent: -50px;
margin-top: 0px;
margin-bottom: 1px;
}
div.hr {
border: 0;
width: 100%;
color: #707070;
background-color: #707070;
height: 5px;
}
-->
</style>
<script type="text/javascript">
function showExtra(id, imid) {
if (document.getElementById(id).style.display == 'block') {
document.getElementById(id).style.display = 'none';
document.getElementById(imid).src = 'inform:/extra.png';
} else {
document.getElementById(id).style.display = 'block';
document.getElementById(imid).src = 'inform:/extraclose.png';
}
}
</script>
</head>
<body><script language="JavaScript">function pasteCode(code) { var myProject = window.Project; myProject.selectView('source'); myProject.pasteCode(code); }</script>
<font face="lucida grande,geneva,arial,tahoma,verdana,helvetica,helv" size=2>
<!--CONTENT BEGINS-->
<!--NAVIGATION BEGINS-->
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #e0e0e0"><tr><td width="8"><img src="inform:/tl_corner_e0e0e0.gif" width="8" height="8" border="0" alt="..." /></td><td></td><td width="8"><img src="inform:/tr_corner_e0e0e0.gif" width="8" height="8" border="0" alt="..." /></td></tr><tr><td width="8"></td><td><font face="lucida grande,geneva,arial,tahoma,verdana,helvetica,helv" size=2><table border="0" cellspacing="0" cellpadding="0" width=100%><tr><td align="left" valign="top" width="72"><font face="lucida grande,geneva,arial,tahoma,verdana,helvetica,helv" size=2><img border=1 src=inform:/doc_images/Actions.png title="The Actions Index"> &nbsp;&nbsp;&nbsp;&nbsp;</font></td><td align="left" valign="top"><font face="lucida grande,geneva,arial,tahoma,verdana,helvetica,helv" size=2><h3 class="tighter"><b>Actions</b>: Detail view&nbsp;&nbsp;<a href=../Actions.html><font color="#002060"><i>Back to full view</i></font></a></h3><p>
<p class="tightin1">A single action in detail.<br><i>About the action rulebooks&nbsp;&nbsp;<a href=inform:/doc188.html><img border=0 src=inform:/help.png></a></i></p>
</font></td></tr></table></font></td><td width="8"></td></tr><tr><td width="8"><img src="inform:/bl_corner_e0e0e0.gif" width="8" height="8" border="0" alt="..." /></td><td></td><td width="8"><img src="inform:/br_corner_e0e0e0.gif" width="8" height="8" border="0" alt="..." /></td></tr></table></p><p>
<!--NAVIGATION ENDS-->
<b>Standard actions concerning the actor's possessions</b><br><b>Taking inventory</b>&nbsp;<a href=0_A.html><img border=0 src=inform:/Beneath.png></a>, Taking&nbsp;<a href=1_A.html><img border=0 src=inform:/Beneath.png></a>, Removing it from&nbsp;<a href=2_A.html><img border=0 src=inform:/Beneath.png></a>, Dropping&nbsp;<a href=3_A.html><img border=0 src=inform:/Beneath.png></a>, Putting it on&nbsp;<a href=4_A.html><img border=0 src=inform:/Beneath.png></a>, Inserting it into&nbsp;<a href=5_A.html><img border=0 src=inform:/Beneath.png></a>, Eating&nbsp;<a href=6_A.html><img border=0 src=inform:/Beneath.png></a><p><hr><p><b>Taking inventory </b><a name=Inv></a> (<i>past tense</i> taken inventory)<br>
<p>Taking an inventory of
one's immediate possessions: the things being carried, either directly or in
any containers being carried. When the player performs this action, either
the inventory listing, or else a special message if nothing is being carried
or worn, is printed during the carry out rules: nothing happens at the report
stage. The opposite happens for other people performing the action: nothing
happens during carry out, but a report such as 'Mr X looks through his
possessions.' is produced (provided Mr X is visible).<p><hr><p><b>Typed commands leading to this action</b><p>
<p class="hangingin2">&quot;take inventory&quot;</p><p class="hangingin2">&quot;inventory&quot;</p><p><b>Rules controlling this action</b><p>
<p class="hangingin2">carry out&nbsp;&nbsp;&nbsp;&nbsp;<font color="#800000">print empty inventory rule</font>&nbsp;&nbsp;<a href="javascript:pasteCode('print empty inventory rule')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>name</i> <a href="javascript:pasteCode('The print empty inventory rule is not listed in the carry out taking inventory rulebook.[=0x000A=]')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>unlist</i></p>
<p class="hangingin2">carry out&nbsp;&nbsp;&nbsp;&nbsp;<font color="#800000">print standard inventory rule</font>&nbsp;&nbsp;<a href="javascript:pasteCode('print standard inventory rule')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>name</i> <a href="javascript:pasteCode('The print standard inventory rule is not listed in the carry out taking inventory rulebook.[=0x000A=]')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>unlist</i></p>
<br><p class="hangingin2">report&nbsp;&nbsp;&nbsp;&nbsp;<i>an actor taking inventory</i>&nbsp;&nbsp;<font color="#800000">report other people taking inventory rule</font>&nbsp;&nbsp;<a href="javascript:pasteCode('report other people taking inventory rule')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>name</i> <a href="javascript:pasteCode('The report other people taking inventory rule is not listed in the report taking inventory rulebook.[=0x000A=]')"><img border=0 src=inform:/doc_images/paste.png></a>&nbsp;<i>unlist</i></p>
<br><p>
<!--CONTENT ENDS-->
</font></body></html>
Loading

0 comments on commit a57d0a3

Please sign in to comment.