source: AgentMind/trunk/AgentMind/data/characters/minds/language/agent/en/language-set-1/templates.tdl @ 43

Revision 43, 1.6 KB checked in by myl, 11 years ago (diff)

Added case option on the UserInterface? so that the user, time and location are changed automatically for different cases without the need to change each individual fields separately

Line 
1absOrder: pre1, pre2, default#, post0, post1, post2, post3
2
3# global variables
4
5#pre1: $T=Type() not(bully())
6#-> $T bully(value:Luke)
7
8#pre2: $T=Type() not(victim())
9#-> $T victim(value:John)
10
11Type(value:greeting)
12-> Utterance(value: "Hi, how are you?")
13
14Type(value:welcome)
15-> Utterance(value: "Nice to see you.")
16
17Type(value:welcome)
18-> Utterance(value: "Good to have you here.")
19
20Type(value:apple)
21-> Utterance(value: "Would you like an apple?")
22
23Type(value:orange)
24-> Utterance(value: "Do you want to have an orange?")
25
26Type(value:banana)
27-> Utterance(value: "Fancy a banana?")
28
29Type(value:cake)
30-> Utterance(value: "Do you want to have a piece of cake?")
31
32Type(value:askPreference)
33-> Utterance(value: "Which other fruit do you prefer?")
34
35Type(value:acknowledge)
36-> Utterance(value: "OK. I will remember that for next time.")
37
38Type(value:swearSecrecy) it(value:$O)
39-> Utterance(value: ("OK. I will keep that secret from ",$O,"."))
40
41Type(value:swearSecrecy) it(value:$O)
42-> Utterance(value: ("I won't tell ",$O," about that. Thanks for sharing it with me!"))
43
44Type(value:party) it(value:$O)
45-> Utterance(value: ($O," was drunk at the party last night."))
46
47Type(value:newJob) it(value:$O)
48-> Utterance(value: ("Oh... yes, ",$O," is going to get a new job."))
49
50Type(value:hideInfo)
51-> Utterance(value: "I am afraid I don't know anything about that.")
52
53Type(value:dontTell)
54-> Utterance(value: "I suggest you ask him later.")
55
56Type(value:goodbye) it(value:$O)
57-> Utterance(value: ("Talk to you again soon. Enjoy your ",$O,"."))
58
59Type(value:goodbye) it(value:$O)
60-> Utterance(value: ("Hope you enjoy the ",$O,". Bye for now!"))
Note: See TracBrowser for help on using the repository browser.