Native Time Control
version 1 by Tim Pittman
Example: *** Passing the Time - Sitting in a waiting room, you wait for 10 am to come, but time goes slower as you watch the time while time goes faster if you play with your kid.
This example shows what you can do with speed of time manipulation. This example is fairly complex; it uses other advance features, such as punctuation removal and topic matching to make a somewhat interesting game. The ear infection thing came about because of the unpredictable/uncontrollable nature of topic-matching conversation.
"Passing the Time" by Tim Pittman
Include Native Time Control by Tim Pittman.
Include Punctuation Removal by Emily Short.
When play begins:
change the right hand status line to "[time of day]";
restore the speed of time to normal.
The Waiting Room is a room. "The waiting room of the doctor's office. Many sick people line the walls, all sitting in chairs waiting for check-ups and the like. Your kid, [Joey], sits next to you, waiting (im)patiently for the doc to call you. Time seems to slow down when your looking at the clock...".
The sick people are a backdrop in the Waiting Room. The description is "Many people sit and cough and sneeze and turn green and... eww... I think he's about to puke...". Instead of doing something except examining with the sick people, say "You really don't want to get infected.".
The clock is in the waiting room. It is fixed in place. "The clock on the wall reads [time of day in words]." The description is "The clock on the wall reads [time of day in words].". Understand "time" as the clock.
After examining the clock:
say "Time seems to slow down as you watch the clock...";
slow down time.
Joey is a man in the waiting room. The description is "Joey is sitting on the chair next to you, swinging his feet, waiting for the doctor. He is getting bored quickly. The visit is for the ear infection that he seems to have - the worst part of which is that he can barely hear what anyone is saying. You could try saying something to him about how he feels or about school, but chances are that he'll only hear little bits and pieces...".
To slow down time:
if time is normal: [which checks if the speed of time is 1]
change the speed of time to -2;
change the speed of time to (the speed of time - 1).
To speed up time:
if time is normal: [which also checks if the speed of time is -1 (as they have the same effect), which is useful here]
change the speed of time to 2;
change the speed of time to (the speed of time + 1);
Instead of Kissing Joey:
say "You wrap your arm around your son and place a kiss on his forehead. He smiles back at you and mumbles something about feeling a tiny bit better.";
speed up time.
Instead of attacking Joey:
say "You smack Joey playfully upside his head. He gawks back at you and hits you back. Soon you're in a flailing-hands fight with Joey to the scandalized looks of those around you. Joey smiles wide at you after the flailing falls out a short time later.";
speed up time; speed up time.
Understand "smack [someone]" or "flail at [someone]" as attacking.
Understand "kill [someone]" or "murder [someone]" or "destroy [someone]" as a mistake ( "You would never think of it!" ).
Instead of waking Joey:
if time is not fast, say "He does look like he's falling asleep over there. Maybe you should talk to him or do something with him.";
if time is fast, say "Oh he's awake all right.".
Instead of telling someone about something, try asking the noun about it.
Instead of answering someone that something, try asking the noun about it.
Instead of asking Joey about something:
remove stray punctuation;
repeat through the Table of Conversation:
if the topic understood includes topic entry:
say "[response entry][paragraph break]";
speed up time;
say "Joey looks at you, trying to make out what your saying through his stuffed up ears.".
Table of Conversation
|topic (text)||response (text)|
|"sick/feeling/health/feel"||"'I'm feeling fine right now', Joey says in response, 'I can't really hear anything though...'"|
|"hearing/listen/hear"||"'What?' Joey replies, as if to illustrate something that you said."|
|"fun/bored/smile/frown"||"'No...' Joey replies sarcastically, 'I'm having a real good time right now...'"|
|"joke/laugh"||"[if time is slow]'A joke would be nice right now...' Joey quips[otherwise]'You can't tell jokes! Your jokes are horrible!' Joey laughs back.[end if]."|
|"chicken/chick"||"'If your telling a joke about a chicken...' Joey smiles.'"|
|"ear/infection/hurts/ears/hurt"||"'My ear hurts,' Joey says, trying to cover all bases of the question he barely heard, 'In fact, both of my ears hurt. Do you think I have a double ear||infection?'"|
|"school/homework"||"'I do like how I don't have to go to school today,' Joey replies, smiling, 'I don't have to take my math test today.'"|
|"friends/friend"||"'I don't get to have my buddies over today, do I' Joey says, making a face at you."|
|"test/math/teacher"||"'I don't care if I miss my math test!' Joey grins happily, 'I'll get any sickness to get out of a math test!'"|
|"ebola/aids/flu/malaria"||"'If your naming off some really bad sicknesses that I would rather have than taking my math test...' Joey says, giving you a look."|
|"chores/work"||"'Please don't give me any chores when we get home, I'm sick!' Joey whines."|
Instead of saying yes, say "Joey didn't seem to hear you. You nod and he grunts, whatever that means.".
Instead of saying no, say "Joey didn't seem to hear you. You shake your head and he grunts, whatever that means.".
This is the different time waiting rule:
if time is normal, say "Time passes. ";
if time is slow, say "Time creeps by... ";
if time is fast, say "Time flies by! ";
say "It is now [time of day].".
The different time waiting rule is listed instead of the standard report waiting rule in the Report Waiting rules.
At 10:00 AM:
if time is not fast, say "The door to the doctor's offices open and a nurse finally comes out. 'Joey?' She says, looking at her clipboard. You and Joey get up and finally go into the offices. All you can think is, 'It's about time...'";
if time is fast, say "A door opens somewhere in the office. 'Joey?' the nurse says, flipping through a clipboard. You lean over to Joey and say in his ear 'Joey, party of 2...'. He snickers at the joke as you both get up and go back to see the doctor.";
end the game in victory.
Test me with "x clock/x joey/look at time/wake joey/joey, how do you feel?/say what can you hear?/say how are your ears?/yes/z/x clock/look at time/say how's school?/say what math test?/say you want ebola?say what about your friends?/say no you have chores!/say but your said you feel fine!/kiss joey/smack joey/wake joey/z/z/z".
Notice that timed events still work, but only up to 30 minutes after the time the event needs to go off (as stated on page 54 of Appendix-B). Also, the Test me feature is limited to about 30 commands. Therefore, there's no point in making a test me for when time is slow and you reach the end.