Debian Codegraph @

navar_city/mostrai_priest.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["*"],
5 "pre" : [["npctoken", "given", "1"]],
6 "post" : [],
7 "msg" : ["Hello."]
8 }, {
9 "match" : ["yes"],
10 "pre" : [["quest", "navar/smugglers", "=10"]],
11 "post" : [["quest", "navar/smugglers", "20"], ["givecontents", "NPC_Gift_Box"], ["setnpctoken", "given", "1"]],
12 "msg" : ["Then I can help you....the smugglers are headquartered in one of the warehouses. Which one I do not know, but it may lead to their entrance to the city. Here is the key to their front door."]
13 }, {
14 "match" : ["yes"],
15 "pre" : [],
16 "post" : [["givecontents", "NPC_Gift_Box"], ["setnpctoken", "given", "1"]],
17 "msg" : ["Then I can help you....the smugglers are headquartered in one of the warehouses. Which one I do not know, but it may lead to their entrance to the city. Here is the key to their front door."]
18 }, {
19 "match" : ["no"],
20 "pre" : [],
21 "post" : [],
22 "msg" : ["Oh, ok."]
23 }, {
24 "match" : ["*"],
25 "pre" : [],
26 "post" : [],
27 "msg" : ["Are you here about the smugglers?"],
28 "replies" : [["yes", "Yes.", "1"], ["no", "No, not at all.", "1"]]
29 }
30 ]}