Debian Codegraph @

scorn/kar/mork.msg

raw
1 {
2 "location" : "gork_quest",
3 "rules": [
4 {
5 "match" : ["gork"],
6 "pre" : [["quest", "scorn/GorksTreasure", "30"]],
7 "post" : [["settoken", "mork_speak","gork"]],
8 "msg" : ["You know Gork? You friend of Gork?"],
9 "replies" : [["yes", "oh yes, Gork and I are great friends"], ["no", "Nope, Gork is no friend of mine"]]
10 }, {
11 "match" : ["yes","friend"],
12 "pre" : [["quest", "scorn/GorksTreasure", "30"],["token", "mork_speak","gork"]],
13 "post" : [["settoken", "mork_speak","key"]],
14 "msg" : ["I bet Gork send you to get key. Did he?"],
15 "replies" : [["yes", "why, er yes, Gork wanted me to get the key and clean ou.. up, his treasure room"], ["no", "no, Gork didn't say anything about getting a key"]]
16 }, {
17 "match" : ["key","send","yes"],
18 "pre" : [["quest", "scorn/GorksTreasure", "40"]],
19 "post" : [],
20 "msg" : ["I gave you key. Now you go."]
21 },{
22 "match" : ["key","send","yes"],
23 "pre" : [["quest", "scorn/GorksTreasure", "30"],["token", "mork_speak","key"]],
24 "post" : [["settoken", "mork_speak","0"],["quest", "scorn/GorksTreasure", "40"], ["giveitem", "gorks key"], ["connection", "9"]],
25 "msg" : ["Ok, I give you key. Here you go."]
26 }, {
27 "match" : ["hello","hi"],
28 "pre" : [],
29 "post" : [],
30 "msg" : ["Geesh, kill all my friends, that's not very nice.\nWhere did you learn your manners?"],
31 "replies" : [["friends", "You were friends with those creatures?"]]
32 }, {
33 "match" : ["friends"],
34 "pre" : [],
35 "post" : [],
36 "msg" : ["They were just my pals."],
37 "replies" : [["pals", "I'm sorry I killed your pals"]]
38 }, {
39 "match" : ["pals"],
40 "pre" : [],
41 "post" : [],
42 "msg" : ["I'm tired of talking to you, you racist...\nGO AWAY!"]
43 }, {
44 "match" : ["*"],
45 "pre" : [],
46 "post" : [],
47 "msg" : ["Assassin!"]
48 }
49 ]}