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") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 2) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 3) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 4) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 5) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 6) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 7) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 8) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<div class="charBackground"> (set: $place to 9) (display: "Place Character") <hr> (display: "Place Weapon") </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>} (display: "Notebook")<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", false, "Knife", false, "Leadpipe", false, "Revolver", false, "Rope", false, "Wrench", false) ) (set: $rooms to (datamap: "Ballroom", false, "Kitchen", false, "Conservatory", false, "DiningRoom", false, "BilliardRoom", false, "Library", false, "Hall", false, "Lounge", false, "Study", false) ) (set: $suspects to (datamap: "MissScarlett", false, "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), "Candlestick", (random: 1,9), "Knife", (random: 1,9), "Leadpipe", (random: 1,9), "Revolver", (random: 1,9), "Rope", (random: 1,9), "Wrench", (random: 1,9) ) ) }In this part, I will combine the following techniques: * Continuing to embed one passage in another with the `(display:)` macro * Using custom CSS to continue to change visual aspects * Using `(link:)` macro inside a passage [[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> (link: "Candlestick")[(set: $weapons's Candlestick to true)] (link: "Knife")[(set: $weapons's Knife to true)] (link: "Leadpipe")[(set: $weapons's Leadpipe to true)] (link: "Revolver")[(set: $weapons's Revolver to true)] (link: "Rope")[(set: $weapons's Rope to true)] (link: "Wrench")[(set: $weapons's Wrench to true)]{(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")]}{(if: $location's Candlestick is $place)[(display: "Candlestick")] (if: $location's Knife is $place)[(display: "Knife")] (if: $location's Leadpipe is $place)[(display: "Leadpipe")] (if: $location's Revolver is $place)[(display: "Revolver")] (if: $location's Rope is $place)[(display: "Rope")] (if: $location's Wrench is $place)[(display: "Wrench")]}