Debian Codegraph @

navar_city/houses/ben.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["*"],
5 "pre" : [["quest", "navar/rescue-daughters", "=60"]],
6 "post" : [],
7 "msg" : ["Hello, $you."]
8 }, {
9 "match" : ["*"],
10 "pre" : [["quest", "navar/rescue-daughters", "=50"]],
11 "post" : [["quest", "navar/rescue-daughters", "60"], ["givecontents", "reward"]],
12 "msg" : ["Oh, thank you for saving my daughters!\n\nHere, take that as a token of thanks.\n\n\nYou should talk to Lt. Piltro, in the High Court Building, he could be interested by information about smugglers."]
13 }, {
14 "match" : ["*"],
15 "pre" : [["quest", "navar/rescue-daughters", "10-40"]],
16 "post" : [],
17 "msg" : ["Please, help find my daughters..."]
18 }, {
19 "match" : ["ok"],
20 "pre" : [["npctoken", "status", "wait"]],
21 "post" : [["quest", "navar/rescue-daughters", "10"]],
22 "msg" : ["Thank you very much! I'll reward you for your courage."]
23 }, {
24 "match" : ["no"],
25 "pre" : [["npctoken", "status", "wait"]],
26 "post" : [["setnpctoken", "status", "0"]],
27 "msg" : ["Oh, guess I'll have to find some one else..."]
28 }, {
29 "match" : ["cove"],
30 "pre" : [["npctoken", "status", "cove"]],
31 "post" : [["setnpctoken", "status", "wait"]],
32 "msg" : ["I don't know where it is but maybe someone at the Frolicking Mermaid would?"],
33 "replies" : [["ok", "Ok, I'll go try to save them.", "1"], ["no", "Sorry, I'm busy for now...", "0"]]
34 }, {
35 "match" : ["smugglers"],
36 "pre" : [["npctoken", "status", "smugglers"]],
37 "post" : [["setnpctoken", "status", "cove"]],
38 "msg" : ["Yes members of the smugglers guild. I heard them say they would take the girls to 'Smugglers Cove.' You must help me find them."],
39 "replies" : [["cove", "And where is that cove?", "2"]]
40 }, {
41 "match" : ["what"],
42 "pre" : [["npctoken", "status", "what"]],
43 "post" : [["setnpctoken", "status", "smugglers"]],
44 "msg" : ["My daughters Susan and Nancy. They were captured by smugglers. We were ambushed, I got away and am trying to get help for them."],
45 "replies" : [["smugglers", "Smugglers?", "2"]]
46 }, {
47 "match" : ["*"],
48 "pre" : [],
49 "post" : [["setnpctoken", "status", "what"]],
50 "msg" : ["Please, can you help me find my daughters?"],
51 "replies" : [["what", "What happened?", "2"]]
52 }
53 ]}