Hi! Welcome to Murder Hill House Mystery. In this game, you will investigate a murder in the appropriately named Murder Hill House. You job is to interview people, collect clues, and try to solve the murder. Are you ready, detective? (display: "StoryInit") [[I'm ready!]]As you approach the house, you are given a map by the first officer at the scene. "Here, sir," she says, "I've marked the rooms for you. Everyone was told to stay where they were. You can interview them whenever you want." <table> <tr><td>[[Kitchen]]</td><td>[[Ballroom]]</td><td>[[Conservatory]]</td></tr> <tr><td>[[Dining Room]]</td><td>[[Celler]]</td><td>[[Library]]</td></tr> <tr><td>[[Lounge]]</td><td>[[Hall]]</td><td>[[Study]]</td></tr> </table> (display: "Notebook")<div class="charBackground"> (set: $place to 1) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>Kitchen (You are here.)</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 2) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>Ballroom (You are here.)</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 3) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>Conservatory (You are here.)</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 4) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>Dining Room (You are here.)</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 5) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>Celler (You are here.)</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 6) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>Library (You are here.)</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 7) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>Lounge (You are here.)</td> <td>[[Hall]]</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 8) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>Hall (You are here.)</td> <td>[[Study]]</td> </tr> </table>}<div class="charBackground"> (set: $place to 9) (display: "Place Character") </div> {<table> <caption>Map</caption> <tr> <td>[[Kitchen]]</td> <td>[[Ballroom]]</td> <td>[[Conservatory]]</td> </tr> <tr> <td>[[Dining Room]]</td> <td>[[Celler]]</td> <td>[[Library]]</td> </tr> <tr> <td>[[Lounge]]</td> <td>[[Hall]]</td> <td>Study (You are here.)</td> </tr> </table>}<div class="notebook"> <strong>Notebook</strong> <hr> Weapons: <ul> { (if: $weapons's Candlestick)[<li>Candlestick</li>] (if: $weapons's Knife)[<li>Knife</li>] (if: $weapons's Leadpipe)[<li>Leadpipe</li>] (if: $weapons's Revolver)[<li>Revolver</li>] (if: $weapons's Rope)[<li>Rope</li>] (if: $weapons's Wrench)[<li>Wrench</li>] } </ul> <hr> People: <ul> { (if: $suspects's MissScarlett)[<li>Miss Scarlett</li>] (if: $suspects's ProfessorPlum)[<li>Professor Plum</li>] (if: $suspects's MrsPeacock)[<li>Mrs. Peacock</li>] (if: $suspects's MrGreen)[<li>Mr. Green</li>] (if: $suspects's ColonelMustard)[<li>Colonel Mustard</li>] (if: $suspects's MrsWhite)[<li>Mrs. White</li>] } </ul> <hr> Places: <ul> { (if: $rooms's Ballroom)[<li>Ballroom</li>] (if: $rooms's Kitchen)[<li>Kitchen</li>] (if: $rooms's Conservatory)[<li>Conservatory</li>] (if: $rooms's DiningRoom)[<li>Dining Room</li>] (if: $rooms's BilliardRoom)[<li>Billiard Room</li>] (if: $rooms's Library)[<li>Library</li>] (if: $rooms's Hall)[<li>Hall</li>] (if: $rooms's Lounge)[<li>Lounge</li>] (if: $rooms's Study)[<li>Study</li>] } </ul> </div> { (set: $weapons to (datamap: "Candlestick", true, "Knife", false, "Leadpipe", false, "Revolver", false, "Rope", false, "Wrench", false) ) (set: $rooms to (datamap: "Ballroom", true, "Kitchen", false, "Conservatory", false, "DiningRoom", false, "BilliardRoom", false, "Library", false, "Hall", false, "Lounge", false, "Study", false) ) (set: $suspects to (datamap: "MissScarlett", true, "ProfessorPlum", false, "MrsPeacock", false, "MrGreen", false, "ColonelMustard", false, "MrsWhite", false) ) (set: $location to (datamap: "MissScarlett", (random: 1,9), "ProfessorPlum", (random: 1,9), "MrsPeacock", (random: 1,9), "MrGreen", (random: 1,9), "ColonelMustard", (random: 1,9), "MrsWhite", (random: 1,9)) ) }In this part, I will combine the following techniques: * Including (display-ing) one passage in another * Using custom CSS styles with HTML in passages [[Story]]<div class="scarlett">Hello!</div><div class="plum">Hello!</div><div class="peacock">Hello!</div><div class="green">Hello!</div><div class="mustard">Hello!</div><div class="white">Hello!</div>{(if: $location's MissScarlett is $place)[(display: "MissScarlett")] (if: $location's ProfessorPlum is $place)[(display: "ProfessorPlum")] (if: $location's MrsPeacock is $place)[(display: "MrsPeacock")] (if: $location's MrGreen is $place)[(display: "MrGreen")] (if: $location's ColonelMustard is $place)[(display: "ColonelMustard")] (if: $location's MrsWhite is $place)[(display: "MrsWhite")]}