Section 3 - Kitchen & Bath
A garbage bin is a kind of container. It is usually open, transparent and scenery.
Trash is a kind of thing. A trash is in every garbage bin. The description of trash is usually "You'd rather not get close enough to find out exactly what the trash is composed of." Understand "garbage" or "rubbish" as trash. Understand "bin" or "trash can" or "trashcan" or "rubbish bin" as the garbage bin.
Rule for printing the name of a trash: say "[one of]quantity of[or]some[or]lot of[or]bunch of[at random] [one of]rubbish[or]garbage[or]crumpled up bits of paper[or]trash[sticky random]"
Instead of taking trash, say "It's in the garbage for a reason."
A sink is a kind of container. A sink is usually fixed in place and scenery. A tap is a kind of switch. A tap is part of every sink. Understand "faucet" or "taps" as a tap. Understand "[something related by reversed incorporation] tap/faucet/taps" as a tap.
Instead of opening a tap, try switching on the noun. Instead of closing a tap, try switching off the noun.
Report switching on a tap (this is the standard report switching taps on rule):
say "You turn on [the noun]." instead. [since "switch on" sounds weird in this context.]
Report switching off a tap (this is the standard report switching taps off rule):
say "You turn off [the noun]." instead.
After examining something which includes a switched on tap (called relevant tap) (this is the report flowing water rule):
say "The water is flowing from [the relevant tap]."
Setting action variables for opening a stove (this is the stove-opening rule):
let relevant oven be a random oven which is part of the noun;
now the noun is the relevant oven.
Every turn:
repeat with item running through switched on taps:
say "[if the player can touch the item]You can hear water flowing from [the random thing which includes the item].[otherwise]You can hear water flowing in the distance."
A refrigerator is a kind of container. A refrigerator is usually closed and openable. A refrigerator is usually fixed in place. A refrigerator is usually scenery. Understand "fridge" as a refrigerator.
A freezer compartment is a kind of container. A freezer compartment is usually closed and openable. A freezer compartment is part of every refrigerator.
A stove is a kind of supporter. It is usually scenery.
An oven is a kind of container. An oven is usually openable and closed. One oven is a part of every stove. A switch is part of every stove. A switch is part of every oven.
A drain is a kind of container. A drain is part of every sink. Understand "plughole" as the drain. Understand "[something related by reversed incorporation] drain/plughole" as a drain.
A counter is a kind of supporter. It is scenery.
Understand "countertop" as a counter.
Instead of inserting something into a drain (this is the no clogging drains rule), say "That seems like a really bad idea."
A toilet is a kind of supporter. Understand "john" or "can" or "head" or "throne" or "crapper" as toilet. A toilet is usually fixed in place and enterable and scenery.
A bath is a kind of container. A bath is usually fixed in place and enterable and scenery. A tap is part of every bath. A drain is part of every bath. Understand "shower" or "tub" or "bathtub" as a bath. A bath is usually open and openable.
A bathroom is a kind of room.
A sink is in every bathroom.
A toilet is in every bathroom.
Understand "flush [toilet]" or "use [toilet]" as a mistake ("There's no need.").
Understand "take shower" or "take bath" or "bathe" or "shower" or "wash" as bathing. Bathing is an action applying to nothing.
Check bathing (this is the restrict baths to bathrooms rule):
If the location is not a bathroom, say "In what? This isn't a bathroom." instead;
If the player is not wearing nothing, say "Better take your clothes off first." instead;
If the player is not inside a bath, try entering a random bath;
If the player is clean, say "You just took a shower. You really don't need another one" instead.
Carry out bathing:
Now the player is the cleanliness after the cleanliness of the player;
If the player is holding the soap:
now the player is clean;
record "Hey Everybody, it's Shower Time!" as achieved;
Increase the time of day by 33 minutes;
say "[paragraph break][paragraph break]Several minutes pass…[paragraph break][paragraph break][if player is holding the soap or the soap is in the shower]You scrub yourself down with the soap.[paragraph break][paragraph break][end if]More time passes…[paragraph break][paragraph break]While showering you start [one of]humming[or]singing[or]reciting beat poetry[or]thinking of a way to get out of here[or]planning[or]thinking[or]whistling[at random].[paragraph break]";
say "You finish a relaxing shower and come out feeling [cleanliness of the player]."