Debian Codegraph @

euthville/church/valriel.msg

raw
1 {
2 "location" : "euthville",
3 "rules": [
4 {
5 "match" : ["*"],
6 "pre" : [["quest", "euthville/valriel", "40"]],
7 "post" : [],
8 "msg" : ["Hello, thanks again for bringing back the chalice."]
9 }, {
10 "match" : ["yes"],
11 "pre" : [["quest", "euthville/valriel", "30"], ["item", "Valriel's Chalice"]],
12 "post" : [["takeitem", "Valriel's Chalice"], ["quest", "euthville/valriel", "40"], ["givecontents", "reward"]],
13 "msg" : ["Thank you very much! May Valriel bless you!\n\nPlease take this Holy Symbol as a token of my gratitude."]
14 }, {
15 "match" : ["yes"],
16 "pre" : [["quest", "euthville/valriel", "10"]],
17 "post" : [["setnpctoken", "", ""]],
18 "msg" : ["Where is it, then?"]
19 }, {
20 "match" : ["no"],
21 "pre" : [["quest", "euthville/valriel", "10-30"]],
22 "post" : [],
23 "msg" : ["Please bring it back..."]
24 }, {
25 "match" : ["*"],
26 "pre" : [["quest", "euthville/valriel", "10-30"]],
27 "post" : [],
28 "msg" : ["So, do you have the chalice?"],
29 "replies" : [["yes", "Yes, I got it.", "1"], ["no", "No, not yet", "1"]]
30 }, {
31 "match" : ["recover"],
32 "pre" : [["npctoken", "state", "recover"]],
33 "post" : [["quest", "euthville/valriel", "10"], ["giveitem", "key to the catacombs"]],
34 "msg" : ["Really? That'd be very nice. Here is the key to the catacombs, but take care, those creatures are evil!"]
35 }, {
36 "match" : ["why"],
37 "pre" : [["npctoken", "state", "why"]],
38 "post" : [["setnpctoken", "state", "recover"]],
39 "msg" : ["An evil creature stole Valriel's Holy Chalice.\n\nMy friend Maxus went down the catacombs to follow it, but he's not back, and I'm afraid for him..."],
40 "replies" : [["recover", "Should I try to recover it?", "2"]]
41 }, {
42 "match" : ["*"],
43 "pre" : [],
44 "post" : [["setnpctoken", "state", "why"]],
45 "msg" : ["Hello. I'm sorry, but today's Mass is cancelled."],
46 "replies" : [["why", "Why?", "2"]]
47 }
48 ]}