| <html> | |
| <head> | |
| <title>Andrew Geng - Sheep Crossing — 4 of 18</title> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
| <meta name="author" content="Andrew Geng" /> | |
| <meta name="description" content="A page for the game Sheep Crossing by Andrew Geng." /> | |
| <link rel="stylesheet" href="style.css" type="text/css" media="all" /> | |
| </head> | |
| <body> | |
| <div class = "container"> | |
| <div class ="sourcecoverimage"> | |
| <span><a href="Cover.png"><img src="Small Cover.png" border="1"></a></span> | |
| </div> | |
| <div class ="sourceintroduction"> | |
| <h1> | |
| <span>Sheep Crossing</span> <span class="pagination">— 4 of 18</span> | |
| </h1> | |
| <h2> | |
| <span>Andrew Geng</span> | |
| </h2> | |
| <div class ="sourcebibliography"> | |
| <span>Release 1</span> | |
| </div> | |
| </div> | |
| <div class = "links"> | |
| <ul> | |
| <li><a href="index.html">Home page</a></li><li><a href="source.html">Beginning</a></li><li><a href="source_1.html">Previous</a></li><li><a href="source_3.html">Next</a></li> | |
| </ul> | |
| </div> | |
| <div class = "source"> | |
| <p class="indent0"><span class="heading">Section - Room setup</span></p><p class="indent0">To say the opposite bank description:</p><p class="indent1">if there are portable animals in the opposite bank of the location:</p><p class="indent2">say "<span class="quote">You can make out [</span><span class="substitution">list of portable animals in the opposite bank of the location with indefinite articles</span><span class="quote">] on the opposite bank</span>";</p><p class="indent1">otherwise:</p><p class="indent2">say "<span class="quote">Across the water lies [</span><span class="substitution">the opposite bank of the location</span><span class="quote">]</span>".</p><p class="indent0">To say the East bank description:</p><p class="indent1">if the location is the East bank:</p><p class="indent2">if the player is in the East bank for the first time:</p><p class="indent3">say "<span class="quote">On [</span><span class="substitution">the briefing message</span><span class="quote">], you find yourself</span>";</p><p class="indent2">otherwise:</p><p class="indent3">say "<span class="quote">You are</span>";</p><p class="indent2">if the player is in the boat:</p><p class="indent3">say "<span class="quote"> bobbing unsteadily in a boat by</span>";</p><p class="indent2">otherwise:</p><p class="indent3">say "<span class="quote"> standing on</span>";</p><p class="indent2">say "<span class="quote"> a muddy riverbank</span>";</p><p class="indent1">otherwise:</p><p class="indent2">say "<span class="quote">[</span><span class="substitution">the opposite bank description</span><span class="quote">]</span>".</p><p class="indent0">To say the West bank description:</p><p class="indent1">if the location is the West bank:</p><p class="indent2">say "<span class="quote">You are</span>";</p><p class="indent2">if the player is in the boat:</p><p class="indent3">say "<span class="quote"> bobbing unsteadily in a boat by</span>";</p><p class="indent2">otherwise:</p><p class="indent3">say "<span class="quote"> standing on</span>";</p><p class="indent2">say "<span class="quote"> a muddy riverbank. The path to Grandmother's house continues to the west</span>";</p><p class="indent1">otherwise:</p><p class="indent2">say "<span class="quote">[</span><span class="substitution">the opposite bank description</span><span class="quote">]</span>".</p><p class="indent0">The East bank is a room. "<span class="quote">[</span><span class="substitution">the east bank description</span><span class="quote">].</span>"</p><p class="indent0">The West bank is west of the East bank. "<span class="quote">[</span><span class="substitution">the west bank description</span><span class="quote">].</span>"</p><p class="indent0">The player is in the East bank. The description of the player is "<span class="quote">Adorable and nerdy.</span>" The carrying capacity of the player is 1.</p><p class="indent0">After deciding the scope of the player:</p><p class="indent1">if the location is the East bank, place the West bank in scope;</p><p class="indent1">if the location is the West bank, place the East bank in scope.</p><p class="indent0">After printing the locale description of a room (this is the describe the inventory animals rule):</p><p class="indent1">if there are portable animals carried by the player:</p><p class="indent2">say "<span class="quote">You are carrying [</span><span class="substitution">list of portable animals carried by the player with indefinite articles</span><span class="quote">].[</span><span class="substitution">paragraph break</span><span class="quote">]</span>"</p><p class="indent0">Oppositeness relates one room to another (called the opposite bank).</p><p class="indent0">The verb to be opposite from implies the oppositeness relation.</p><p class="indent0">The East bank is opposite from the West bank.</p><p class="indent0">After printing the locale description of a room (this is the describe the opposite bank rule):</p><p class="indent1">if there are portable animals in the opposite bank of the location:</p><p class="indent2">say "<span class="quote">On the far side of the river, you can see [</span><span class="substitution">list of portable animals in the opposite bank of the location with indefinite articles</span><span class="quote">].</span>";</p><p class="indent1">otherwise:</p><p class="indent2">say "<span class="quote">To the [</span><span class="substitution">if the opposite bank of the location is the West bank</span><span class="quote">]west[</span><span class="substitution">otherwise</span><span class="quote">]east[</span><span class="substitution">end if</span><span class="quote">], across the river, lies the [</span><span class="substitution">opposite bank of the location</span><span class="quote">].</span>"</p><p class="indent0">Instead of examining a direction (called the heading):</p><p class="indent1">let the target be the room-or-door heading from the location;</p><p class="indent1">if the target is nowhere:</p><p class="indent2">continue the action;</p><p class="indent1">otherwise:</p><p class="indent2">try examining the target.</p> | |
| </div> | |
| <div class ="notes"> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |
Xet Storage Details
- Size:
- 6.46 kB
- Xet hash:
- c2439a2baa2f6b67a9004987059a460e1fadce7e0e3f2d16daafa343f83c58f5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.