a mini KitKat bar! Yay!\n\n<<if $chocolate eq 0>>You set it off by itself to mark the beginning of your chocolate pile.<<else>>You add it to the chocolate pile.<<endif>>\n\n[[Next!|The Bag][$chocolate += 1; $totalcandy += 1]]
<center>//halloween candy triage simulator 2014//\nby [[j. marie|https://twitter.com/calariene]] | [[about]]</center>\n\nYou've spent a long night out on the streets, threatening tricks and demanding candy from the general populace. Once you're safely inside, you pull off your mask and stake out a part of the living room floor for a very important task. You've brought home a bag full of candy, and before you go to bed you have to [[sort it all out|The Bag]].\n\n<<silently>><<set $totalcandy to 0>>\n<<set $toothbrushes to 0>>\n<<set $fruit to 0>>\n<<set $chocolate to 0>>\n<<set $notchocolate to 0>>\n<<set $snickers to 0>>\n<<set $tootsiepop to 0>>\n<<set $jollyrancher to 0>>\n<<set $apple to 0>>\n<<set $banana to 0>>\n<<set $orange to 0>><<endsilently>>
a tootsie pop. Well, that's okay. Even if this one's <<print either("root beer", "green apple", "watermelon")>>. <<if $tootsiepop gte 10>>You must have every bad flavor there is by now.<<endif>>\n\n<<if $notchocolate eq 0>>You set it down on the floor by itself.<<else>>You put it in the not-chocolate pile.<<endif>>\n\n[[Next!|The Bag][$notchocolate += 1; $tootsiepop += 1; $totalcandy += 1]]
an apple? Really? Who gives out apples on Halloween? That's no fun. <<if $apple gte 3>>Apparently a lot of people around here hate fun.<<endif>>\n\n<<if $fruit eq 0>>You put it on the floor off to the side.<<else>>You put it down with the rest of the fruit.<<endif>>\n\n[[Next!|The Bag][$fruit += 1; $apple += 1; $totalcandy += 1]]
You got <<display either ("chocolate", "toothbrush", "fruit", "notchocolate")>>
<<display either("tootsie pop", "caramel apple sucker", "jolly rancher", "starburst")>>
html {\n background-color: #E56400;\n}\nbody {\n /* Remove default styles */\n background-color: transparent;\n margin: 10% 0 0 0;\n font-size: 100%;\n /* Used to center the box */\n text-align: center;\n}\n\n#passages {\n /* Box background (white with 70% opacity) */\n background-color: #000000;\n\n /* Border */\n border: 2px solid white;\n\n /* Rounded corners */\n border-radius: 1em;\n\n /* Box width */\n width: 60%;\n\n /* Center the box */\n display: inline-block;\n min-height: 40%;\n margin:auto;\n margin-bottom: 5%;\n padding: 0px;\n}\n\n.passage {\n margin: 0px;\n /* Inner margin within the box */\n padding: 2em;\n\n /* Text formatting */\n color: white;\n font-size: 100%;\n text-align:justify;\n}\n\n/* No sidebar */\n#sidebar {\n display:none;\n}\n\n/* Links */\na.internalLink, a.externalLink {\n color: #E56400;\n}\na.internalLink:hover, a.externalLink:hover {\n color: #FF7B15;\n text-decoration: none;\n}\n\n/* Shrink the page when viewed on devices with a low screen width */\n@media screen and (max-width: 960px) {\n .passage { font-size: 90%;}\n #passages { width: 70%; }\n}\n@media screen and (max-width: 840px) {\n .passage { font-size: 87.5%; }\n #passages { width: 80%; }\n}\n@media screen and (max-width: 720px) {\n .passage { font-size: 75%; }\n #passages { width: 90%; }\n}
You have:\n\n<<print $chocolate>> pieces of chocolate candy\n<<print $notchocolate>> pieces of other candy\n<<print $fruit>> pieces of fruit\n<<print $toothbrushes>> toothbrushes\n\nYour score is <<print ($chocolate * 3) + ($notchocolate * 2) + ($fruit * 1) + ($toothbrushes * -1)>>!\n\n[[Play again?|Start]]
You have:\n\n<<print $chocolate>> pieces of chocolate candy\n<<print $notchocolate>> pieces of other candy\n<<print $fruit>> pieces of fruit\n<<print $toothbrushes>> toothbrushes\n\n[[<--back|previous()]]
a Snickers bar! <<if $snickers eq 0>>Wow, most people just eat these before the trick-or-treating even starts. Well, at least your parents do.<<endif>>\n\n<<if $chocolate eq 0>>You set it off by itself to mark the beginning of your chocolate pile.<<else>>You add it to the chocolate pile.<<endif>>\n\n[[Next!|The Bag][$chocolate += 1; $snickers += 1; $totalcandy += 1]]
an orange. Yay, you guess. <<if $orange gte 7>>Well, vitamin C won't be a problem for awhile, that's for sure.<<endif>>\n\n<<if $fruit eq 0>>You put it on the floor off to the side.<<else>>You put it down with the rest of the fruit.<<endif>>\n\n[[Next!|The Bag][$fruit += 1; $orange += 1; $totalcandy += 1]]
halloween candy triage simulator 2014
a banana. It's all bruised up. <<if $banana gte 5>>You've never gotten this many bananas before. What's going on?<<endif>>\n\n<<if $fruit eq 0>>You put it on the floor off to the side.<<else>>You put it down with the rest of the fruit.<<endif>>\n\n[[Next!|The Bag][$fruit += 1; $banana += 1; $totalcandy += 1]]
a Starburst. Just one. That's a little weird.\n\n<<if $notchocolate eq 0>>You set it down on the floor by itself.<<else>>You put it in the not-chocolate pile.<<endif>>\n\n[[Next!|The Bag][$notchocolate += 1; $totalcandy += 1]]
one of those little bags of M&Ms!\n\n<<if $chocolate eq 0>>You set it off by itself to mark the beginning of your chocolate pile.<<else>>You add it to the chocolate pile.<<endif>>\n\n[[Next!|The Bag][$chocolate += 1; $totalcandy += 1]]
<<display either("kitkat", "mms", "snickers")>>
a toothbrush. Bleh.\n\n<<if $toothbrushes eq 0>>You set it off to one side.<<else>>You toss it into the growing toothbrush pile.<<endif>> <<if $toothbrushes gte 5>>It strikes you that your neighborhood has a serious dentist infestation.<<endif>>\n\n[[Next!|The Bag][$toothbrushes += 1]]
<<display either("apple", "banana", "orange")>>
a caramel apple sucker!\n\n<<if $notchocolate eq 0>>You set it down on the floor by itself.<<else>>You put it in the not-chocolate pile.<<endif>>\n\n[[Next!|The Bag][$notchocolate += 1; $totalcandy += 1]]
<<if $totalcandy lte 49>>The bag of candy awaits you, unsorted morsels lurking within its depths.\n\n[[Take a piece of candy out of the bag|Sort]]\n\n[[Inspect your loot|inventory]]<<else if $totalcandy gte 50>>The bag is empty! You've sorted it all.\n\n[[Inspect your loot|score]]<<endif>>
//halloween candy triage simulator 2014// was written by j. marie for [[Ectocomp 2014|http://www.intfiction.org/forum/viewtopic.php?f=23&t=16754]]. Please enjoy this game about the most important part of Halloween.\n\n[[<--back|previous()]]
j. marie
a Jolly Rancher. Maybe you can sneak it into your brother's bag when he isn't looking. <<if $jollyrancher gte 10>>Then again, with this many, he'll definitely notice.<<endif>>\n\n<<if $notchocolate eq 0>>You set it down on the floor by itself.<<else>>You put it in the not-chocolate pile.<<endif>>\n\n[[Next!|The Bag][$notchocolate += 1; $jollyrancher += 1; $totalcandy += 1]]