Constant Story "BURNT TOAST"; Constant Headline "^An Interactive Neural Breakdown^ Copyright (c) 2000 Josh Giesbrecht^"; Release 0; Serial "000931"; Constant MAX_SCORE 99; Include "Parser"; Include "VerbLib"; [ Initialise; location = bedroom; "^^^^^You wake up - you smell burnt toast.^"; ]; [ PrintRank; print ", earning you the rank of "; switch (score) { 0 to 50: "primal-minded psychotic."; 51 to 99: "happy breakfast eater."; }; ]; Class Room has light; Room bedroom "Your Bedroom" with name 'bedroom', description "Your bedroom isn't much to speak of - drab beige walls are largely hidden by a mess of random posters and furniture, and the furniture itself is hidden with a thick layer of general messiness. You're surprised to look around and not see any smoke in the air, because your olfactory bits are overwhelmed by the smell of burnt toast. It seems to be coming from the kitchen downstairs.", d_to kitchen, cant_go "There's no other room upstairs, and nothing in view here seems to be causing that burnt toast smell."; Room kitchen "Kitchen" with name 'kitchen', description "The kitchen is a bit more pleasing to the eye than your bedroom. The usual assortment of appliances and kitchen implements are here, aside from a microwave - you've really been wanting a microwave lately. You are still overwhelmed by this burnt toast smell, but can't see any smoke. The front door of your tiny abode is to the south.", u_to bedroom, s_to [; deadflag = 1; "You burst out of the front door, and take a deep breath - of burnt toast smell. The odor is overwhelming your ability to think straight, and you feel your sanity slipping away ... burnt toast ... burnt toast ... "; ]; [ UnplugSub; ]; Object toaster "shiny metal toaster" kitchen with name 'toaster' 'lever' 'button' 'switch', description "The toaster is a stereotypical 2-slice, shiny metal model. It has two slices of untoasted bread sitting in it, waiting patiently to be turned into wonderful, delicious toast. The black lever sits in the up position, poised and ready to initiate the toasting process when you depress it.", before [; take: "You can't take the toaster - it's plugged into the wall."; unplug: "You reach for the wall socket to unplug the toaster, but hesitate. You look at your toaster, and in the reflection you can almost see it looking back at you. The toaster is very nervous, and would really rather you just leave it plugged in. It doesn't want the bad things to happen to you again.^^You draw back your hand, leaving the toaster plugged in. The toaster reflects a bit of light from the flourescent bulbs in the ceiling, sparkling it a bit in relief."; push: deadflag = 2; score = 99; "You push down the lever on the toaster, and it begins happily toasting the bread for you. You breathe a sigh of relief - a breath of fresh air in fact, as the burnt toast smell has now disappeared. Everything is under control."; ]; Include "Grammar"; Verb "unplug" * noun -> Unplug;