\n/*code in body affects everything\ngood if you want to change the background\nor the typeface of the whole thing \n*/\n\nbody {\n background-color:#FFCC00;\n font-family:Verdana, Geneva, sans-serif;\n font-size:12px;\n}\n\n/* The story menu in the upper-right corner of the page. */\n#floater {\n}\n\n/* The story menu in the upper-right corner of the page. */\n#passages {\n background-color:#FFFFFF;\n border-style:dotted;\n border-color:#F60;\n}\n\n/* title of each passage */\n.passage {\n background-color:#FFF;\n }\n\n/* title of each passage */\n.passage .title {\n color:#666;\n font-size:20px;\n}\n\n\n/* normal link state */\na.internalLink {\n text-decoration:none;\n color:#FF0000;\n}\n\n/* rollover state */\na.internalLink:hover {\n text-decoration:none;\n color:#FFCC00;\n}
\nYou bought a beer. Regardless, I'm going to take you to the airport which is another passage\n<<set $beer = true>> \n\n<<display 'Airport'>>
You walk back and forth, not that interesting.\n<<display "Airport actions">>
This is an example of mutually exclusive choices\n* <<choice "Buy a beer">>\n* <<choice "Buy a sandwich">>
<html>\n<img src="images/airport.jpg" width="400" height="280" />\n</html>\n\nHere you are: at the airport.\nNote how by using the display tag you display the content of a passage but not the title.\n\nHere's another trick: I'm going to show a slightly different text according to your previous choice (if condition) so you don't have to duplicate entire passages.\n\nAfter <<if $beer>>drinking your beer<<endif>><<if $sandwich>> eating your sandwich<<endif>> you check-in. \n\nSometimes you want to display a series of choices that don't preclude each other and that you want to deactivate after the click. You put the choices in a passage and you use the display.\n\nYou are super early. What do you do?\n<<silently>>SHIOIIIIIIT<<endsilently>> \n<<display "Airport actions">>
zzz...\nzzz...\nzzz...\nYou wake up just in time for your flight.
Consumerism won't solve your problems...\n<<display "Airport actions">>
Advanced Tutorial
<<actions "Walk around" "Buy some crap" "Take a nap" >>
You bought a sandwich. Regardless, I'm going to take you to the airport which is another passage\n<<set $sandwich = true>> \n\n<<display 'Airport'>>