"Sheep Crossing" by "Andrew Geng" Include Basic Screen Effects by Emily Short. The story description is "Sometimes you get an impulse you know you'd regret--especially in the face of an arbitrary task of questionable value. So when Grandmother asks you to bring her a cabbage, a sheep, and a stinky bear, what could possibly go wrong?" Use the serial comma. Release along with an interpreter. Release along with source text. Release along with cover art ("A cartoon sheep."). Release along with a file of "Walkthrough" called "walkthrough.html". Release along with a file of "Testing Credits" called "testcredits.html". Chapter - Setting Section - Mission and Introduction Briefing is an action out of world. Carry out briefing: say "You are on [the briefing message]." To say the briefing message: say "your way to Grandmother's house to bring her [list of portable animals with indefinite articles]". Understand "help" or "h" or "hint" or "hints" or "instructions" or "info" as briefing. Section - Credits Crediting is an action out of world. Carry out crediting: say "I am indebted to my testers for their keen eyes that caught many bugs and their mischievous spirits that generated a number of features and easter eggs:[paragraph break]Chelsea Kendall[line break]Alice Ye[line break]Fia Bigelow[line break]Robert Kendall[line break]David Benjamin". Understand "about" or "cred" or "creds" or "credit" or "credits" as crediting. Section - Room setup To say the opposite bank description: if there are portable animals in the opposite bank of the location: say "You can make out [list of portable animals in the opposite bank of the location with indefinite articles] on the opposite bank"; otherwise: say "Across the water lies [the opposite bank of the location]". To say the East bank description: if the location is the East bank: if the player is in the East bank for the first time: say "On [the briefing message], you find yourself"; otherwise: say "You are"; if the player is in the boat: say " bobbing unsteadily in a boat by"; otherwise: say " standing on"; say " a muddy riverbank"; otherwise: say "[the opposite bank description]". To say the West bank description: if the location is the West bank: say "You are"; if the player is in the boat: say " bobbing unsteadily in a boat by"; otherwise: say " standing on"; say " a muddy riverbank. The path to Grandmother's house continues to the west"; otherwise: say "[the opposite bank description]". The East bank is a room. "[the east bank description]." The West bank is west of the East bank. "[the west bank description]." The player is in the East bank. The description of the player is "Adorable and nerdy." The carrying capacity of the player is 1. After deciding the scope of the player: if the location is the East bank, place the West bank in scope; if the location is the West bank, place the East bank in scope. After printing the locale description of a room (this is the describe the inventory animals rule): if there are portable animals carried by the player: say "You are carrying [list of portable animals carried by the player with indefinite articles].[paragraph break]" Oppositeness relates one room to another (called the opposite bank). The verb to be opposite from implies the oppositeness relation. The East bank is opposite from the West bank. After printing the locale description of a room (this is the describe the opposite bank rule): if there are portable animals in the opposite bank of the location: say "On the far side of the river, you can see [list of portable animals in the opposite bank of the location with indefinite articles]."; otherwise: say "To the [if the opposite bank of the location is the West bank]west[otherwise]east[end if], across the river, lies the [opposite bank of the location]." Instead of examining a direction (called the heading): let the target be the room-or-door heading from the location; if the target is nowhere: continue the action; otherwise: try examining the target. Section - Scenery A thing can be abstract. A thing is usually not abstract. Before doing anything except examining with an abstract thing (called the target), try examining the target instead. Before inserting or putting or throwing or showing or giving or tying something to an abstract thing (called the target), try examining the target instead. The riverbank is a backdrop. The riverbank is everywhere. The description is "Some grass pokes stubbornly through the mud." Understand "bank" as the riverbank. Instead of smelling the riverbank, try smelling the location. Instead of listening to the riverbank, try listening to the location. Instead of examining, searching, or looking under the riverbank, try examining the mud. The water is a backdrop. The water is everywhere. The description is "Tepid water drifts lazily southward." Understand "river" as the water. Instead of taking the water, say "You pick up some water but it runs through your fingers." Instead of drinking the water, say "However high its mineral content, you would rather not drink diluted mud." Instead of inserting or putting the player on the water, try entering the water. Instead of entering the water, say "That's not something you can enter without swimming lessons." Fording is an action applying to one visible thing. Understand "ford [something]" as fording. Instead of fording something (called the obstacle): if the obstacle is the water: end the story saying "Your oxen have drowned, and so have you."; otherwise: say "[The noun] isn't something you can ford." Swimming is an action applying to nothing. Understand "swim" as swimming. Instead of swimming, say "That's not something you can do without swimming lessons." Instead of searching or looking under the water, say "The water is muddy." Understand "give [something] to [the water]" as putting it on. Instead of smelling the water, say "You don't know what that smell is but it seems consistent with the green scum you see floating on the surface." Instead of listening to the water, say "The gentle sloshing calms your unquiet nerves." The mud is a backdrop. The mud is everywhere. The description is "You look closely at the mud, but your mind is more focused on questioning the life choices that led you to be examining mud. You shake yourself back to the present and notice some scraggly grass poking through the mud." Instead of taking the mud, say "You would have nothing to wipe your hands on afterward." Instead of searching or looking under the mud, try examining the mud. Instead of smelling the mud, say "It smells like mud." Instead of listening to the mud, say "You hear nothing happening in the mud." After examining the mud: now the riverbank is not scenery. Rule for writing a paragraph about the riverbank: now the riverbank is mentioned; say "[the description of the riverbank][paragraph break]". The ground is a backdrop. The ground is everywhere. Understand "high ground" or "higher ground" as the ground. Instead of examining the ground, try examining the mud. Instead of taking the ground, try taking the mud. Instead of smelling the ground, try smelling the mud. Instead of listening to the ground, try listening to the mud. Instead of searching or looking under the ground, try searching the mud. The sky is a backdrop. The sky is everywhere. The description is "The sky is clear and the sun is shining." Instead of listening to the sky, say "You hear birds somewhere." Instead of smelling the sky, say "The air smells fairly ordinary for the vicinity of a river." Instead of listening to a room, try listening to the sky. Instead of smelling a room, try smelling the sky. Instead of searching the sky, try examining the sky. Instead of looking under the sky, try looking. The sun is a backdrop. The sun is everywhere. The description is "You look away quickly. An angry purple splotch throbs in your field of vision." Instead of searching the sun, try examining the sun. Instead of listening to the sun, say "In space, no one can hear the sun scream." Instead of smelling the sun, say "That's too far away to smell." The splotch is an abstract backdrop. A splotch can be purple. A splotch can be faded. The splotch is purple and faded. The description is "It seems to be fading." After examining the splotch, now the splotch is faded. After examining the sun, now the splotch is not faded. After deciding the scope of the player: if the splotch is not faded, place the splotch in scope. The swimming lessons are an abstract backdrop. The swimming lessons are everywhere. The description is "You cast your eyes about the landscape but cannot see anything that looks like swimming lessons." Before taking the swimming lessons: say "You can't afford swimming lessons. Maybe you can convince Grandmother to pay for them if you bring her enough gifts." instead. A wolf is in the East bank. The wolf is an abstract scenery animal. The description is "You can't see any such thing. It's just as well, since you do NOT want to bring one of those to Grandmother's house." Some worms are in the East bank. The worms are an abstract scenery animal. The worms can be exposited. The worms are not exposited. The description is "[if the worms are exposited]Sorry, not that there are actually worms. It's not like the sheep would eat them anyway, though you suppose you could still go searching in the mud.[otherwise]You can't see any such thing.[end if]". Chapter - Objects Section - Characters in general An animal can be dead. An animal is usually not dead. An animal can be suspicious. An animal is usually not suspicious. An animal can be full. An animal is usually not full. An animal can be vegetative. An animal is usually not vegetative. An animal has a number called the eating priority. The eating priority of an animal is usually 100. The can't take other people rule is not listed in the check taking rules. The exclude people from take all rule is not listed in any rulebook. The exclude people from drop all rule is not listed in any rulebook. A corpse is a kind of thing. Instead of doing anything except examining with a corpse (called the target), try examining the target. Instead of searching or looking under a corpse (called the target), try examining the target. Instead of inserting or putting or throwing or showing or giving or tying something to a corpse (called the target), try examining the target. Rule for deciding the concealed possessions of animals: yes. [so that the player can't see the corpses] Lifelessness relates one animal (called the former inhabitant) to one corpse. The verb to be the late owner of implies the lifelessness relation. When play begins: repeat with the inhabitant running through animals: repeat with the husk running through corpses carried by the inhabitant: now the inhabitant is the late owner of the husk. After examining a corpse (called the husk): end the story saying "Grandmother will mourn the loss of [the former inhabitant of the husk]." A person can be nauseated. A person is usually not nauseated. A person can be guilty. A person is usually not guilty. A person can be postbarf. A person is usually not postbarf. Instead of searching or looking under an animal (called the suspect), try examining the suspect. The gift count is a number that varies. When play begins: now the gift count is the number of animals that are not scenery; [should be 3] Section - Grass A bunch of grass is a backdrop. A bunch of grass is everywhere. The printed name is "grass in the ground". The description is "It looks kind of fuzzy. It's a little cleaner on the higher ground, but no less hairy." Instead of searching or looking under the bunch of grass, say "It isn't nearly thick or tall enough to hide anything." Instead of smelling the bunch of grass, say "It smells like grass." Instead of listening to the bunch of grass, say "You imagine you can hear it growing." Some blades of grass are a portable, edible thing. The indefinite article is "some". The description is "The grass in your hand is slightly mashed." Instead of searching or looking under the blades of grass, say "All you see is grass. It might be staining your hands." Instead of smelling the blades of grass, say "It smells like grass." Instead of taking the bunch of grass: if the blades of grass are off-stage: if the player is carrying an animal: say "Your hands are busy carrying [list of animals carried by the player with indefinite articles]."; otherwise: move the blades of grass to the player; say "You pull up some blades of grass."; otherwise: say "You discard the grass in your hand and pull up some more." After dropping the blades of grass: remove the blades of grass from play; say "The grass flutters out of your hand and scatters in the wind." Before inserting or throwing or putting the bunch of grass on something: carry out the implicitly taking activity with the bunch of grass; try dropping the blades of grass instead. Instead of inserting or throwing or putting the blades of grass on something: try dropping the blades of grass. After eating the blades of grass: now the player is not postbarf; say "Trichomes prick your tongue as you eat the grass, leaving you with a stinging sensation and a bitter aftertaste. [if the sheep is full]You have no idea why the sheep seems to like it so much.[otherwise]You have no idea who or what would enjoy this.[end if]". Before giving the bunch of grass to an animal (called the eater): carry out the implicitly taking activity with the bunch of grass; if the player is not holding the blades of grass, stop the action; try giving the blades of grass to the eater instead. Before eating or tasting the bunch of grass: carry out the implicitly taking activity with the bunch of grass; if the player is not holding the blades of grass, stop the action; try eating the blades of grass instead. Section - Cabbage A cabbage is in the East bank. The description is "The cabbage is wet." A cabbage is a portable, edible, neuter, vegetative animal. The eating priority of the cabbage is 1. Understand "head of cabbage" as the cabbage. Instead of smelling the cabbage: say "It smells less fresh than you were hoping." Instead of listening to the cabbage: say "*drip* *drip* *drip*". Some scraps of leaves are carried by the cabbage. The description is "The fate of your cabbage slowly dawns on you." Understand "leaves" as the scraps when the cabbage is dead. The scraps are a corpse. After asking the cabbage about, say "The cabbage continues dripping water [if the player is in the boat]into the boat[otherwise]onto the ground[end if]." Section - Sheep A sheep is in the East bank. "A fluffy sheep loiters on higher ground, looking [if the sheep is suspicious]suspiciously at you[otherwise]bored[end if]." The description is "The sheep looks warily back at you." The sheep is a portable, edible, neuter animal. The eating priority of the sheep is 2. Instead of smelling the sheep: now the sheep is suspicious; say "It brings back childhood memories of the county fair." Instead of listening to the sheep: say "[one of]'Baa.'[or]'Baaaaaaa.'[or]'Mehhh.'[at random]". After examining the sheep: now the sheep is suspicious. After asking the sheep about: If the topic understood is a topic listed in the Table of sheep's Replies: say "[Response entry][paragraph break]"; Otherwise: say "The sheep [one of]looks in your direction and sneezes[or]lowers its head and cautiously sniffs at the grass[or]perks up its ears for a brief moment[at random]." Table of sheep's Replies Topic Response "sheep/itself/himself/herself" "'BAAAAAAA.'" "cow/cows/pigs/hens/chickens/goats/hippos/mud" "'Mehh?'" "ducks" "QUA-- m... mehh?" "me/myself/self/manners/trust/gratitude" "The sheep looks uncomprehendingly at your face. You sense a hint of disapproval." "boat/boats/grandmother/grandma/doctor/doctors/tissues/water/river/following" "The sheep looks pointedly away." "cabbage/appetite/grass" "The sheep licks its sheepy lips." "bear/bears/wolf/wolves" "The sheep glances suspiciously around before fixing its gaze on you." A pile of fluff is carried by the sheep. The description is "The fate of your sheep slowly dawns on you." Understand "fluff" as the pile of fluff. The fluff is a corpse. The sheep chase count is a number that varies. The sheep chase count is initially 0. Check the player taking the sheep (this is the full sheep rule): unless the sheep is full: now the sheep is suspicious; if the sheep chase count is at least 2: say "The sheep continues to evade your attempts to pick it up. In between the annoyed glares it aims in your direction, you see it eyeing the cabbage hungrily." instead; otherwise: increment the sheep chase count; say "The sheep evades your attempts to pick it up. All you get for your efforts is a hungry 'BAAA.'" instead. Section - Bear A bear is in the East bank. The description is "The bear [if the bear is full]seems slightly chubbier than it was before[otherwise]is chubby[end if]." A bear is a portable, edible, neuter animal. The eating priority of the bear is 3. Instead of smelling the bear: now the player is nauseated; say "The [if the bear is full]stench of death[otherwise]ripe body odor of unwashed bear[end if] gives you waves of nausea." Instead of listening to the bear: say "[one of]You hear nothing unexpected.[or]The bear's breathing is remarkably quiet for an animal of its size.[or]You hear a sound like cloth ripping. Soon you detect a foul smell.[at random]". After asking the bear about: If the topic understood is a topic listed in the Table of bear's Replies: say "[Response entry][paragraph break]"; Otherwise: say "The bear [one of]scratches its tummy[or]yawns[or]swats at an imaginary fly in front of its nose[or]looks around but remains seated[at random]." Table of bear's Replies Topic Response "wolf/wolves/diet/diets/dieting/gratitude" "The bear looks offended." "tummy/tummies" "The bear scratches its tummy." "fly/flies" "The bear looks around but remains seated." Instead of playing with the bear: say "The bear looks offended." Section - Boat Disembarking is an action applying to one thing. Instead of disembarking something, try exiting. Understand "exit [thing]" or "get out of [thing]" as disembarking. A vehicle called the boat is in the East bank. "A small wooden boat bobs in the water[if there is a thing in the boat] with [list of things in the boat with indefinite articles] aboard[end if]." The description is "The boat is just big enough to hold you and one other passenger." The carrying capacity of the boat is 2. Instead of getting off the boat, try disembarking the boat. Instead of taking the boat, say "The boat is a little too heavy for you to carry." Instead of pushing or pulling the boat, say "The boat bobs some more." Before eating the boat, say "It really doesn't look appetizing." instead. Instead of attacking the boat: if the player is in the boat: now the player is nauseated; say "You kick the side of the boat. It wobbles less than you expect, but you still end up feeling a bit more nauseated."; otherwise: say "You kick the boat halfheartedly. It wobbles in response.". Instead of listening to the boat, say "It creaks alarmingly but hasn't sunk yet." Instead of smelling the boat, say "It smells like the river." Rowing is an action applying to nothing. Understand "row" or "row the/-- boat" or "begin rowing" or "row the/-- boat across the/-- water/river" as rowing. Carry out rowing: repeat with way running through directions: if the room way from the location is a room: try going way; break. Riding is an action applying to one thing. Understand "ride [thing]" as riding. Instead of riding something (called the target): if the target is an animal: [e.g. "ride sheep"] try touching the target; otherwise: try entering the target. Understand "jump in [thing]" or "jump into [thing]" as entering. Chapter - Actions Section - Movement Unsupervising is an activity. Persevering something is an activity on directions. Instead of going somewhere when the player is not in the boat: let the present motion be the current action; say "(first getting into the boat)[command clarification break]"; silently try entering the boat; if the player is not in the boat, stop the action; try the present motion. Before going somewhere when the player is in the boat: if the player is nauseated and the bear is in the boat: now the player is not nauseated; say "Acutely aware of your nausea, you attempt to keep the boat level, but it isn't enough; and soon [if the player is postbarf]you are dry-heaving over the side[otherwise if the player is guilty]the remains of your last victim make a daring escape into the river[otherwise]your breakfast becomes the river's newest tributary[end if]. You've barely gotten your stomach under control when the boat rocks suddenly.[paragraph break](press any key) > "; wait for any key; say "[paragraph break]Fighting back more nausea, you turn and feel the bear pushing at you with its head. You struggle to stay in the boat, but you're no match for the bear's strength. Already weakened by the departure of your breakfast, you are unable to fight the current as it carries you away."; end the story saying "You have drowned."; otherwise if the player is nauseated: now the player is not nauseated; say "Acutely aware of your nausea, you attempt to keep the boat level, but it isn't enough; and soon [if the player is postbarf]you are dry-heaving over the side[otherwise if the player is guilty]the remains of your last victim make a daring escape into the river[otherwise]your breakfast becomes the river's newest tributary[end if]. After taking a moment to recover, you make the rest of the journey feeling a bit lighter."; now the player is postbarf; otherwise: say "You begin rowing." Instead of going somewhere when the player is in the boat: if the bear is in the boat and the bear is full: say "The boat sits uncomfortably low in the water as you row out into the river. You try to avoid thinking about why the bear's breath smells so bad now...[paragraph break](press any key) > "; wait for any key; say "[paragraph break]The boat wobbles. You have a moment to turn around and see the bear--what is it trying to do, avoid the frigid water that seems to be pouring into the boat?--before it rocks the boat again, dumping you overboard. As the current carries you away, you curse your lack of swimming lessons."; end the story saying "You have drowned."; otherwise: continue the action. The persistent direction is a direction that varies. The persistent direction is initially down. The player persistence is a number that varies. The player persistence is initially 0. After doing anything except going nowhere: now the player persistence is 0; now the persistent direction is down; continue the action. Rule for persevering a direction (called erewhon): if the persistent direction is not erewhon: now the player persistence is 0; now the persistent direction is erewhon; increment the player persistence. Instead of going nowhere: if the noun is a direction: carry out the persevering activity with the noun; if the player persistence is at least 3: say "Ignoring [if the sheep is carrying the fluff and the player is not carrying the sheep]the slowly receding calls of your sheep[otherwise]the stares the bear must surely be giving you[end if], you trudge off towards the woods to leave it all behind. Grandmother can pay someone to deliver her groceries instead of making you do it for free![paragraph break]You have a childhood friend in the next town who can forge identification papers for you; all you have to do is get through the woods without being eaten by wolves..."; end the story saying "Nobody who claims to be you is ever heard from again."; otherwise if the sheep is carrying the fluff and the player is not carrying the sheep: say "[if the player persistence is less than 2]Before you can get very far,[otherwise]You get a little farther before[end if] you are called back by the anxious bleating of your sheep."; otherwise: say "The path to Grandmother's house doesn't look [if the player persistence is less than 2]terribly easy[otherwise]any easier[end if] in that direction." The Dilapidated shack is a room. Instead of going east in the East bank: carry out the persevering activity with east; if the player persistence is at least 3: if the player is in the boat: repeat with the passenger running through animals in the boat: silently try dropping the passenger; repeat with the passenger running through animals carried by the player: silently try dropping the passenger; say "Overwhelmed by [if the player is in the East bank for the first time]an inexplicable drowsiness[otherwise]frustration[end if], you leave your goods on the riverbank and head home to steal a nap."; move the player to the Dilapidated shack, without printing a room description; carry out the unsupervising activity; say "(press any key) > "; wait for any key; say "[paragraph break]You return better rested but not really sure of the time anymore."; move the player to the East bank; otherwise if the player persistence is less than 2: say "It's a long way back home; why don't you go west to Grandmother's house first?"; otherwise: say "You can go home for a nap after you give Grandmother her groceries." Instead of going west in the West bank: if there are no portable animals in the East bank and there are no corpses in the East bank and there are no corpses in the West bank: if the player is in the boat: say "(first getting out of the boat)[command clarification break]"; silently try exiting; repeat with item running through things carried by the player: silently try dropping item; if the number of animals in the West bank is the gift count: end the story finally saying "You proceed happily toward Grandmother's house, with your gifts for her in tow. The day is going well."; otherwise: carry out the persevering activity with west; if the player persistence is at least 3: let L be the list of portable things in the East bank; add the list of corpses in the West bank to L; say "You forge ahead toward Grandmother's house, abandoning [L with definite articles].[paragraph break](press any key) > "; wait for any key; say "[paragraph break]Not having wasted any more time trying to herd your annoyingly high-maintenance cargo, you manage to reach the house well before dusk. 'Perfect! You're just in time for dinner!', you hear as you knock.[paragraph break](press any key) > "; wait for any key; say "[paragraph break]But Grandmother's face falls when she sees that you haven't brought everything she asked for. So like any experienced cook, she improvises..."; end the story saying "You have been eaten by Grandmother."; otherwise if the player is carrying the sheep or the sheep is not carrying the fluff: say "[if the player persistence is less than 2]You[otherwise]No, really, you[end if] seem to be missing something..."; otherwise: decrement the player persistence; continue the action. Instead of going outside, say "You are already outside." Instead of going inside, say "You see no buildings to enter." Instead of going down, say "Down to the river is about as far down as you're really willing to go." Understand "home" as east. Understand "to Grandmother's house" as west. Understand "to Grandma's house" as west. Section - Moving items After taking an animal (called the passenger): if the action is not silent: say "The [passenger] is [if the passenger is a full bear]staggeringly[otherwise]a bit[end if] heavy, but [if the passenger is not vegetative]with its cooperation [end if]you [if the passenger is a full bear]just barely [end if]manage to pick it up." After dropping an animal (called the passenger): if the action is not silent: say "You set the [passenger] down on the riverbank." After inserting an animal (called the passenger) into the boat: if the action is not silent: say "The boat sloshes[if the passenger is a full bear] alarmingly[end if] as you deposit [the passenger]." Before dropping an animal when the player is in the boat: say "(first getting out of the boat)[command clarification break]"; silently try exiting. Before taking something (called the target) when the player is in the boat and the player is not carrying the target: say "(first getting out of the boat)[command clarification break]"; silently try exiting; if the player is carrying the target, say "You leave the boat carrying [the target]." instead. Instead of inserting or putting something (called the passenger) on the ground: try dropping the passenger. Instead of inserting or putting something (called the passenger) on the riverbank: try dropping the passenger. Before entering the boat: repeat with the passenger running through things carried by the player: say "(first putting [the passenger] in the boat)[command clarification break]"; silently try inserting the passenger into the boat. After exiting: if the container exited from is the boat: if there are animals in the boat: say "(taking the other passengers with you)[command clarification break]"; repeat with the passenger running through animals in the boat: silently try taking the passenger; continue the action. Understand "give [thing] to [the boat]" as inserting it into. Section - Eating Feeding relates various things to various things. The verb to feed on (it feeds on) implies the feeding relation. The verb to be edible by implies the reversed feeding relation. The verb to be edible to implies the reversed feeding relation. Check an actor giving something (called the food) to someone (called the recipient) (this is the edibility rule): unless the food is edible to the recipient, say "The [recipient] does not seem interested." instead. Before giving something (called the food) to someone (called the recipient): if the player is not carrying the food: carry out the implicitly taking activity with the food; if the player is not carrying the food, stop the action; if the food is edible to the recipient and the food is an animal: say "Are you sure? [if the food is the cabbage]There are probably other things you could feed it that your Grandmother wouldn't miss quite as much...[otherwise]Grandmother wanted you to bring her [the food].[end if] (y/n) > [no line break]"; unless player consents: say "The [recipient] [if the recipient is the sheep and the sheep is not full]continues bleating hungrily[otherwise]looks disappointedly at you[end if]." instead. The block giving rule is not listed in the check giving it to rules. The edibility rule is listed in the check giving it to rules. After giving something (called the food) to someone (called the recipient): if the food is edible to the recipient: try the recipient eating the food. Before an animal (called the eater) eating something (called the food): if the food is the player: say "After a brief struggle, the [eater] eats you instead."; end the story saying "You have been eaten. :("; stop the action; if the food is edible to the eater: silently try the eater taking the food. Carry out an animal (called the eater) eating something (called the food): repeat with the item running through things carried by the food: move the item to the location of the eater; if the food is an animal: now the food is dead; remove the food from play; now the eater is full. After an animal (called the eater) eating something (called the food): if the location of the eater is the location of the player: say "*crunch* *crunch* *crunch*[paragraph break]"; if the eater is the sheep: say "The sheep bleats contentedly. Maybe it'll be more cooperative now."; otherwise: say "You hear a [if the food is the sheep]panicked bleat in the distance, cut short by a[otherwise]distant[end if] crunching sound.". Before eating something (called the food) when the player is not carrying the food: [more specific rule is sorted before less specific rule (the usual first-try-taking), so that the confirmation dialog doesn't come until the player is holding the food] if the player is in the boat: say "(first getting out of the boat)[command clarification break]"; silently try exiting; if the player is carrying an animal (called the passenger) and the passenger is not the food: say "(first dropping [the passenger])[command clarification break]"; silently try dropping the passenger; otherwise: carry out the implicitly taking activity with the food; if the player is not carrying the food, stop the action. Before eating an edible animal (called the food): say "Are you sure you want to eat the [food]? You were supposed to deliver it to Grandmother's house... (y/n) > [no line break]"; unless the player consents: say "The [food] seems relieved." instead; otherwise if the player is edible to the food: try the food eating the player instead. Carry out eating something (called the food): repeat with the item running through things carried by the food: move the item to the location; if the food is an animal: now the food is dead; remove the food from play. After eating something (called the food): now the player is guilty; now the player is not postbarf; say "*crunch* *crunch* *crunch*[paragraph break]It tastes like guilt.[paragraph break]" The standard eating rule is not listed in the carry out eating rules. Rule for unsupervising: repeat with danger running through rooms: if danger is not the location of the player: let L be the list of animals in danger; if the boat is in danger: add the list of animals in the boat to L; sort L in eating priority order; repeat with the eater running through L: repeat with the food running through L: if food is edible to the eater: try the eater eating food; After going: carry out the unsupervising activity; continue the action. The block showing rule is not listed in the check showing it to rules. The block showing inedibles rule is listed in the check showing it to rules. Check showing something (called the food) to someone (called the recipient) (this is the block showing inedibles rule): if the food is not edible to the recipient: say "The [recipient] is unimpressed."; stop the action. Report showing something (called the food) to someone (called the recipient): if the food is edible to the recipient: say "The [recipient] stares at the [food]." Luring is an action applying to one thing. Understand "lure [thing]" or "coax [thing]" or "guide [thing]" as luring. Instead of luring something (called the target): now the worms are exposited; say "You need bait! Try 'show worms to [the target]' or similar." Instead of tasting something (called the food), try eating the food. Instead of tasting the water, try drinking the water. Understand "bite [thing]" as eating. The cabbage is edible to the sheep. The blades of grass are edible to the sheep. The player is edible to the bear. The sheep is edible to the bear. Section - Useless Actions Instead of touching something (called the passenger) which is an animal: if the passenger is vegetative: say "The [passenger] does not seem to respond."; otherwise: if the passenger is full: say "The [passenger], though seemingly in a good mood, also seems to be ignoring you."; otherwise: if the player is holding the passenger or the passenger is in the boat: say "The [passenger] leans away from you."; otherwise: say "The [passenger] slowly backs away..." Instead of kissing something (called the passenger), try touching the passenger. Understand "pet [thing]" as touching. Playing with is an action applying to one thing. Understand "dance with [thing]" or "frolic with [thing]" or "smile at [thing]" or "sing at [thing]" or "sing to [thing]" or "play with [thing]" or "amuse [thing]" as playing with. Instead of playing with something (called the target): say "The [target] shows no sign of enthusiasm." Instead of telling someone about something, try asking the noun about it. Instead of answering someone that something, try asking the noun about it. Understand the command "ask" as something new. Understand "ask [thing] for [text]" or "ask [thing] about [text]" or "talk to [thing] about [text]" or "greet [thing]" as asking it about. [Replacement messages; see §14.11. Changing the text of responses] The parser error internal rule response (M) is "[the autolocution message]." ["You can only do that to something animate."] The parser error internal rule response (V) is "[the autolocution message]." ["You can't talk to [the noun]."] The block asking rule response (A) is "[the autolocution message]." ["There is no reply."] The block answering rule response (A) is "[the autolocution message]." ["There is no reply."] To say the autolocution message: say "The sound of your voice dissipates feebly across the landscape[if the sheep is carrying the fluff and the sheep is not in the opposite bank of the location]. The sheep looks on warily[end if]". Smiling is an action applying to nothing. Understand "smile" as smiling. Instead of smiling, say "You grin broadly." Singing is an action applying to nothing. Instead of singing, try asking the player about "nothing". Understand "talk to self" or "talk to me" or "talk to myself" or "xyzzy" or "uuddlrlrbass" as singing. Thanking is an action applying to one thing. Understand "thank [thing]" as thanking. Instead of thanking something (called the thankee), try asking the thankee about "gratitude". Understand "inspect [thing]" as examining. Understand "catch [thing]" or "chase [thing]" or "capture [thing]" as taking. Understand "lick [thing]" as tasting. Understand "kick [thing]" as attacking. Shearing is an action applying to one thing. Understand "shear [thing]" as shearing. Instead of shearing something, say "You have no shears." [e.g. "tell sheep to stay", copy-pasted from Example 421 "Northstar" in §7.14. Obedient Characters] After reading a command: let N be "[the player's command]"; replace the regular expression "^\b(ask|tell|order) (.+?) to (.+)" in N with "\2, \3"; change the text of the player's command to N. Section - Counterproductive Actions Sinking is an action applying to one thing. Instead of sinking something (called the victim): if the victim is the boat: try attacking the boat; otherwise if the victim is the player and the player is in the boat: say "You leap overboard, hoping for a quick demise. But apparently you float, and your instincts won't let you keep your face underwater; so you eventually resign yourself to drifting for the next few hours. The end, when it finally comes, involves a surprising number of crocodiles."; end the story saying "You have been eaten :("; otherwise if the victim is the player and the player is carrying the sheep: say "The sheep weighs you down as you approach the river. The mud is no help either, and soon you lose the battle to keep your balance. As you fall, the sheep hits the water in front of you in a spray of river scum, panicked bleats, and hooves. You didn't expect the hooves."; end the story saying "You have been kicked to death by a drowning sheep."; otherwise if the victim is the player and the bear is in the opposite bank of the location: say "The water chills your toes as you wade into the current. The bear watches blankly from the opposite shore. You wonder if it understands what will happen to you, or that it will need to find its own way to Grandmother's house.[paragraph break](press any key) > "; wait for any key; say "[paragraph break]Reaching the deeper areas, where the current is stronger, you feel a tugging sensation as if something is stuck to your ankle. A downward glance shows you more leeches than you've ever seen before. You make a panicked dash back to the shore and pluck them all off, but the bleeding isn't stopping. And you're still so very cold... maybe you'll just sit under this tree to rest a bit..."; end the story saying "You have been exsanguinated by leeches."; otherwise if the victim is the player: say "As you begin wading into the river, you slip on the mud underfoot. Your first breath of water reignites your will to live, and somehow you manage to claw your way back to a standing position. When you finally clear your eyes and look down, you see leeches all over your legs. In your frantic efforts to tear them all off, you don't notice the bear approaching..."; end the story saying "You have been eaten :("; otherwise if the victim is an animal: try putting the victim on the water. Before inserting or putting something (called the victim) on the water: if the victim is an animal and the player is not carrying the victim: carry out the implicitly taking activity with the victim; if the player is not carrying the victim, stop the action. Instead of inserting or putting the sheep on the water: say "With a great heave, you launch the sheep into the middle of the river. As the current carries the struggling sheep away, you wonder if Grandmother can hear the bleating recede into the distance. Probably not."; end the story saying "Grandmother will mourn the loss of your sheep." Instead of inserting or putting the cabbage on the water: say "You toss the cabbage into the river. It takes a surprisingly long time to surface; and when it finally emerges a long way downstream, it's much dirtier than before. You wonder why Grandmother bothers washing her vegetables."; end the story saying "Grandmother will mourn the loss of your cabbage." Instead of inserting or putting the bear on the water: say "You attempt to hurl the bear into the middle of the river. With its great weight, all you succeed in doing is dropping the bear into the shallows, where it lands with a great splash. You've barely turned back towards drier land when you're knocked off your feet by a heavy paw and sent tumbling into the water.[paragraph break](press any key) > "; wait for any key; say "[paragraph break]You sit up and clear your eyes to see the bear lolloping toward you. Is it angry, or just playing? The wind is knocked out of you a second time; and as you lie with your face in the mud and a crushing weight on your back, your last thought is that maybe the bear's intentions don't matter anyway."; end the story saying "You have been sat on by a bear." Understand "sink [thing]" or "drown [thing]" as sinking. Understand the commands "kill", "murder", and "destroy" as something new. Understand the commands "kill", "murder", and "destroy" as "sink". Chapter - How This Ends Section - Amusement Table of Final Question Options (continued) final question wording only if victorious topic final response rule final response activity -- false "aww" aww rule -- -- false "awww" aww rule -- -- false "awwww" aww rule -- -- false "awwwww" aww rule -- -- false "awwwwww" aww rule -- This is the aww rule: if the number of animals in the West bank is the gift count: say "The bear bristles at your accusation of cuteness."; otherwise: say "There, there." Rule for amusing a victorious player: say "Have you tried...[paragraph break]...eating anything yourself?[line break]...taking a recently fed bear across the river?[line break]...attacking the boat while you're in it?[line break]...intentionally drowning anything?[line break]...insisting on going somewhere you shouldn't?" Section - Solution Test me with "feed grass to sheep / take sheep / w / drop sheep / e / take cabbage / w / drop cabbage / take sheep / e / drop sheep / take bear / w / drop bear / e / take sheep / w / w"