![]() |
When in Rome 1: Accounting for TasteAn interactive fiction by Emily Short (2006) - the Inform 7 source text | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home page Contents Previous Next Complete text | Section 2 - Persuasion and obedience
Check the girl trying taking off the dress (this is the can't take off dress rule): if the person asked wears the noun, stop the action. Check the girl trying taking something worn by the player (this is the can't take your clothes rule): stop the action. A persuasion rule for asking Esther to try doing something: say "She gives you a mildly exasperated look, as though to say that she does not take instructions merely because they are issued by men."; rule fails. A persuasion rule for asking the girl to try doing something: persuasion succeeds. Instead of asking someone to try kissing the player: try kissing the person asked. Unsuccessful attempt by girl trying doing something: repeat through table of Esther Retorts begin; if the reason the action failed is the cause entry begin; say "[response entry][paragraph break]"; rule succeeds; end if; end repeat; say "'[if a random chance of 1 in 2 succeeds]Nope[otherwise]No[end if], [if a random chance of 1 in 2 succeeds]I don't think that's going to work[otherwise]that's not possible[end if],' the girl says." Report the girl trying taking inventory: if the number of things carried by the girl is 0 begin; say "She spreads her hands: not carrying a thing." instead; otherwise; if the number of things carried by the girl is 1, say "'Just this,' she says, indicating [the list of things carried by the girl]." instead; otherwise say "She holds up [the list of things carried by the girl] so you can see." instead; end if. Contact relates a thing (called X) to a thing (called Y) when X is part of Y or Y is part of X. The verb to be joined to implies the contact relation. Table of Esther Retorts
Before asking the girl to try going nowhere: say "'I'm not leaving you here by yourself,' she says. 'It could kill you.'" instead. Rule for supplying a missing noun while going: change noun to outside. Procedural rule: ignore the block vaguely going rule. To say already done: repeat through Table of Esther's Bored Remarks begin; say "[response entry]"; blank out the whole row; rule succeeds; end repeat; say "'Already done.'" Table of Esther's Bored Remarks
To say salacious retort: repeat through Table of Esther's Flirtatious Remarks begin; say "[response entry]"; blank out the whole row; rule succeeds; end repeat; say "She pretends not to hear." Table of Esther's Flirtatious Remarks
To say physical impossibility: repeat through Table of Esther's Frustrated Denials begin; say "[response entry]"; blank out the whole row; rule succeeds; end repeat; say "The girl rolls her eyes." Table of Esther's Frustrated Denials
Procedural rule: ignore the block giving rule; ignore the block showing rule; ignore the block smelling rule; ignore the block listening rule. Carry out listening to something: do nothing. Report listening to something: say "Your attention bears no interesting result." Report listening to a room: say "There's no one thing that sounds notable here." instead. Carry out smelling something: do nothing. Report smelling something: say "Your attention bears no interesting result." Report smelling a room: if a stinky thing is in the location, say "You catch a whiff of [the list of stinky things in the location]." instead; otherwise say "Nothing stands out." Report someone trying listening to something: say "[The person asked] concentrates, listening." Report someone trying smelling something: say "[The person asked] sniffs at [the noun]." Instead of asking someone for something: try asking the noun to try giving the second noun to the player. Carry out showing something to someone: say "You reveal [the noun] to [the second noun]." Carry out the girl trying showing something to someone: if the second noun is the player begin; if the noun is fixed in place begin; say "The girl poses, model-like, next to [the noun], but this naturally doesn't tell you much more than you knew before."; otherwise; say "The girl shows you [the noun]. [run paragraph on]"; try examining the noun; end if; otherwise; say "The girl reveals [the noun] to [the second noun]."; end if. Instead of asking someone to try saying yes: try saying yes. Instead of asking someone to try saying no: try saying no. Instead of asking someone to try saying sorry, try saying sorry. Instead of asking someone to try swearing obscenely, try swearing obscenely. Instead of asking someone to try swearing mildly, try swearing mildly. Singing is useless action. Burning something is useless action. Waking up is useless action. Thinking is useless action. Cutting is useless action. Jumping is useless action. Tying something to something is useless action. Drinking something is useless action. Swinging is useless action. Rubbing is useless action. Setting something to something is useless action. Waving hands is useless action. Buying is useless action. Climbing is useless action. Sleeping is useless action. Kissing is useless action. [Throwing something at something is useless action.] Asking something about something is useless action. Telling something about something is useless action. Answering something that something is useless action. Waking something is useless action. Orienting something toward something is useless action. Instead of asking girl to try useless action: say "The girl frowns. 'I don't see how that would help in the current situation.'". |