Debian Codegraph @

scorn/towers/igor0.msg

raw
1 {
2 "location" : "scorn/igor",
3 "rules": [
4 {
5 "match" : ["*"],
6 "pre" : [["quest", "scorn/Kelthior", "20"]],
7 "post" : [],
8 "msg" : ["Hello $you, welcome back."],
9 "replies" : []
10 },{
11 "match" : ["yes"],
12 "pre" : [["npctoken", "asked", "1"], ["knowledgeknown", "alchemy:1:3829:the wise"]],
13 "post" : [["quest", "scorn/Kelthior", "20"]],
14 "msg" : ["Very well!\n\nYou can now get to the first floor, where my master has prepared some more challenges."],
15 "replies" : []
16 },{
17 "match" : ["yes"],
18 "pre" : [["npctoken", "asked", "1"]],
19 "post" : [["setnpctoken", "asked", "0"]],
20 "msg" : ["Now now, don't do guessing, really learn it."],
21 "replies" : []
22 },{
23 "match" : ["no"],
24 "pre" : [["npctoken", "asked", "1"]],
25 "post" : [["setnpctoken", "asked", "0"]],
26 "msg" : ["Then go and learn it."],
27 "replies" : []
28 },{
29 "match" : ["*"],
30 "pre" : [["quest", "scorn/Kelthior", "10"]],
31 "post" : [["setnpctoken", "asked", "1"]],
32 "msg" : ["So, do you know the formulae of the water of the wise?"],
33 "replies" : [["yes", "Yes.", "1"], ["no", "No, not yet...", "1"]]
34 },{
35 "match" : ["how"],
36 "pre" : [["npctoken", "disturb", "2"]],
37 "post" : [["quest", "scorn/Kelthior", "10"]],
38 "msg" : ["First, you have to know the alchemy formulae for the water of the wise."],
39 "replies" : []
40 },{
41 "match" : ["talk"],
42 "pre" : [["npctoken", "disturb", "1"]],
43 "post" : [["setnpctoken", "disturb", "2"]],
44 "msg" : ["My master is a knowledgeable man, and would enjoy a civilized discussion.\n\nIf you can show you are such a person, then he will not mind talking to you, even if he is busy."],
45 "replies" : [["how", "And how would I show that I indeed am a knowledgeable person?", "0"]]
46 },{
47 "match" : ["*"],
48 "pre" : [],
49 "post" : [["setnpctoken", "disturb", "1"]],
50 "msg" : ["Please do not disturb my master, he's busy doing some experiments."],
51 "replies" : [["talk", "And what if I really want to talk to him?", "2"]]
52 }
53 ]}