Chapter 9 - Rules
[TALKING]
Talking to is an action applying to one thing.
Understand "talk to [person]" as talking to.
Talking to is a speech-like action.
Asking about is a speech-like action.
Answering that is a speech-like action.
Telling about is a speech-like action.
[PRYABILITY]
Pryability is a kind of value. The pryabilities are pryable and unpryable. A thing has a pryability. A thing is usually unpryable.
[PRYING / PRYING IT WITH]
Prying is an action applying to one thing.
Understand "pry [something]" as prying.
Check prying:
if the noun is pryable:
continue the action;
otherwise:
say "You can't pry that.";
stop the action.
Prying it with is an action applying to two things.
Understand "pry [something] with [something preferably held]" as prying it with.
Check prying it with:
if the noun is pryable:
continue the action;
otherwise:
say "You can't pry that.";
stop the action.
[HITTABILITY]
Hittability is a kind of value. The hittabilities are hittable and unhittable. A thing has a hittability. A thing is usually unhittable.
[HITTING / HITTING IT WITH]
Hitting is an action applying to one thing.
Understand "hit [something]" as hitting.
[Check hitting:
if the noun is a person:
continue the action;
otherwise:
say "You have no reason to hit that.";
stop the action.]
Hitting it with is an action applying to two things.
Understand "hit [something] with [something preferably held]" as hitting it with.
Understand "strike [something] with [something preferably held]" as hitting it with.
Understand "smash [something] with [something preferably held]" as hitting it with.
Understand "bash [something] with [something preferably held]" as hitting it with.
Check hitting it with:
if the noun is hittable:
continue the action;
otherwise:
say "You have no reason to hit that.";
stop the action.
[KICKING]
Understand "kick [something]" as attacking.
[PUSHING / PULLING A PERSON]
Instead of pushing something:
if the noun is an animal:
try attacking the noun;
if the noun is a person:
try attacking the noun;
otherwise:
continue the action.
Instead of pulling something:
if the noun is an animal:
try attacking the noun;
if the noun is a person:
try attacking the noun;
otherwise:
continue the action.
[DIGGING]
Digging is an action applying to one thing.
Understand "dig [something]" as digging.
Instead of digging:
say "You can't dig here."
[OPENING IT WITH]
Opening it with is an action applying to two things.
Understand "open [something] with [something preferably held]" as opening it with.
[SPINNING IT TO]
Spinning it to is an action applying to one thing and one number.
Check spinning it to: if the noun is not Locker 5151, say "[The noun] does not spin." instead.
Report spinning it to: say "Click! Nothing happens."
Understand "spin [something] to [a number]" as spinning it to.
Understand "turn [something] to [a number]" as spinning it to.
Understand "rotate [something] to [a number]" as spinning it to.
Understand "set [something] to [a number]" as spinning it to.
Understand "dial [something] to [a number]" as spinning it to.
Understand "open [something] with [a number]" as spinning it to.
Understand "unlock [something] with [a number]" as spinning it to.
[STAIRCASES]
A staircase is a kind of door. A staircase is usually open. A staircase is seldom openable.
[SAVEDNESS]
Savedness is a kind of value. The savednesses are saved and unsaved. A person has a savedness. A person is usually unsaved.
[DRUGGABILITY]
Druggability is a kind of value. The druggabilities are druggable and undruggable. A thing has a druggability. A thing is usually undruggable.
[DRUGGEDNESS]
Druggedness is a kind of value. The druggednesses are drugged and undrugged. An animal has a druggedness. An animal is usually undrugged.
[DRUGGING IT WITH]
Drugging it with is an action applying to two things.
Understand "drug [something] with [something preferably held]" as drugging it with.
Check drugging it with:
if the noun is druggable:
continue the action;
otherwise:
say "You can't figure out how to make that work.";
stop the action.
[FEEDABILITY]
Feedability is a kind of value. The feedabilities are feedable and unfeedable. A thing has a feedability. A thing is usually unfeedable.
[FEEDING IT TO]
Feeding it to is an action applying to two things.
Understand "feed [something preferably held] to [something]" as feeding it to.
Check feeding it to:
if the noun is feedable:
continue the action;
otherwise:
say "You can't force-feed that.";
stop the action.
[SHOOTING IT WITH]
Shooting it with is an action applying to two things.
Understand "shoot [something] with [something preferably held]" as shooting it with.
Understand "shoot [something preferably held] at [something]" as shooting it with (with nouns reversed).
Understand the command "fire" as "shoot".
Check shooting it with:
if the second noun is the toy gun:
continue the action;
otherwise:
say "You can't shoot with that.";
stop the action.
[WIPING IT WITH]
Wiping it with is an action applying to two things.
Understand "wipe [something] with [something preferably held]" as wiping it with.
Check wiping it with:
if the second noun is the clean rag:
continue the action;
if the second noun is the oily rag:
continue the action;
otherwise:
say "You see no reason to wipe anything using that."
[CLEANING IT WITH]
Cleaning it with is an action applying to two things.
Understand "clean [something] with [something preferably held]" as cleaning it with.
Check cleaning it with:
if the second noun is the clean rag:
continue the action;
if the second noun is the oily rag:
continue the action;
otherwise:
say "You see no reason to clean anything using that."
[RUBBING IT ON]
Rubbing it on is an action applying to two things.
Understand "rub [something preferably held] on [something]" as rubbing it on.
Check rubbing it on:
if the second noun is the clean rag:
continue the action;
if the second noun is the oily rag:
continue the action;
otherwise:
say "Stop being weird."
[PUNCTURING IT WITH]
Puncturing it with is an action applying to two things.
Understand "puncture [something] with [something preferably held]" as puncturing it with.
Understand "stab [something] with [something preferably held]" as puncturing it with.
Understand "poke [something] with [something preferably held]" as puncturing it with.
Understand "pop [something] with [something preferably held]" as puncturing it with.
Check puncturing it with:
if the noun is the balloon:
if the second noun is the pin:
continue the action;
if the second noun is the straightened hanger:
say "The balloon bobbles around a bit, but it doesn't pop. Looks like you'll need something sharper.";
stop the action;
otherwise:
say "You can't puncture the balloon with that.";
stop the action;
otherwise:
if the second noun is the pin:
say "You don't need to puncture that.";
otherwise:
say "You can't figure out how to puncture the [noun] with the [second noun]."
[TOSSING]
Understand "toss [something preferably held] at [something]" as throwing it at.
[READING]
Reading is an action applying to one thing.
Understand "read [something preferably held]" as reading.
Check reading:
if the noun is the dusty tome:
continue the action;
if the noun is the pamphlet:
continue the action;
if the noun is the police records:
continue the action;
otherwise:
say "You can't find anything to read there.";
stop the action.
[BENDING]
Bending is an action applying to one thing.
Understand "bend [something preferably held]" as bending.
Understand "straighten [something preferably held]" as bending.
Understand "uncoil [something preferably held]" as bending.
Understand "fold [something preferably held]" as bending.
Understand "unfold [something preferably held]" as bending.
Check bending:
if the noun is the coathanger:
continue the action;
if the noun is the straightened hanger:
say "No matter how you try, you just can't bend it back to its original shape.";
stop the action;
otherwise:
say "You can't bend that.";
stop the action.
[POKEDNESS]
Pokedness is a kind of value. The pokednesses are poked and unpoked. A thing has a pokedness. A thing is usually unpoked.
[KEYEDNESS]
Keyedness is a kind of value. The keyednesses are keyed and unkeyed. A thing has a keyedness. A thing is usually unkeyed.
[GAPPEDNESS]
Gappedness is a kind of value. The gappednesses are gapped and ungapped. A thing has a gappedness. A thing is usually ungapped.
[PUTTING IT UNDER]
Putting it under is an action applying to two things.
Understand "put [something preferably held] under [something]" as putting it under.
Check putting it under:
if the second noun is the blue door:
continue the action;
otherwise:
say "You don't need to put [i]that[/i] under [i]that[/i].".
[CHAIREDNESS]
Chairedness is a kind of value. The chairednesses are chaired and unchaired. A person has a chairedness. A person is usually unchaired.
Every turn while Max is chaired:
if Max is on the chairs:
say "The waitress continues to glare.";
if Max is on the stool:
say "The bartender maintains eye contact.";
if Max is on the antique chairs:
say "The waiter hovers over you.";
if Max is on the brown chairs:
say "You are making the secretary uncomfortable.";
otherwise:
continue the action.
[LUBRICATING IT WITH]
Lubricating it with is an action applying to two things.
Understand "lubricate [something] with [something preferably held]" as lubricating it with.
Understand "oil [something] with [something preferably held]" as lubricating it with.
Understand "grease [something] with [something preferably held]" as lubricating it with.
Check lubricating it with:
if the second noun is the oily rag:
if the noun is the old fridge:
continue the action;
otherwise:
say "You don't need to lubricate that.";
otherwise:
say "You're not going to lubricate anything with that."
[INJUREDNESS]
Injuredness is a kind of value. The injurednesses are uninjured and injured. A person has an injuredness. A person is usually uninjured.
Every turn while the player is injured:
say "[one of]Your hand hurts. A lot.[or]Your hand is throbbing.[or]You find it hard to concentrate due to the pain.[or]You just want the agony to stop.[or]You've almost tuned out the agonizing pain, but you can't help but notice the ache.[or]It hurts more when you move like that.[or]It hurts.[or]Your hand is troubling you again.[or]A sharp pain shoots up your arm.[or]You can't stop thinking about your wounded hand.[or]The pain has receded for a moment.[at random]".
[RAISED SUPPORTERS]
A raised supporter is a kind of supporter.
For printing a locale paragraph about a raised supporter (called the high place):
if the player is on a supporter (called the riser):
say "Up on [the high place](and only visible because you're on [the riser])[is-are a list of things on the high place].";
otherwise:
say "The [high place] is above you."
Definition: a thing (called target item) is out of reach:
if the player is on a supporter, no;
if the target item is on a raised supporter, yes;
no.
Before doing something:
if the noun is out of reach or the second noun is out of reach:
say "You can't reach from down here." instead.
Instead of putting something on a raised supporter when the player is not on a supporter:
say "You can't reach from down here."
Instead of searching or examining a raised supporter when the player is not on a supporter:
say "You can't see from down here."
Disallowed-all is a truth state that varies. Disallowed-all is false.
Rule for deciding whether all includes an out of reach thing:
now disallowed-all is true;
it does not.
Rule for printing a parser error when the latest parser error is the nothing to do error and the player is not on a supporter:
if disallowed-all is true:
say "Whatever might be up there, you can't see or reach from down here.";
otherwise:
make no decision.
A first action-processing rule:
now disallowed-all is false.
Instead of putting something on a raised supporter when the player is not on a supporter:
say "You can't reach from down here."
Instead of searching or examining a raised supporter when the player is not on a supporter:
say "You can't see from down here."