Debian Codegraph @

navar_city/bradley.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["ok"],
5 "pre" : [["npctoken", "status", "gold"], ["item", "money", "1000"], ["quest", "navar/rescue-daughters", "=10"]],
6 "post" : [["quest", "navar/rescue-daughters", "20"], ["takeitem", "money", "1000"]],
7 "msg" : ["Ah, thank ye. The Smuggler's Cove is a tiny inlet just southwest of Navar where the top smugglers like to work. The Smugglers have been conducting a lot of business these past days but a honest bloke like me wouldn't know what that was about."]
8 }, {
9 "match" : ["ok"],
10 "pre" : [["npctoken", "status", "gold"], ["quest", "navar/rescue-daughters", "=10"]],
11 "post" : [["setnpctoken", "status", "0"]],
12 "msg" : ["So where is yar money?"]
13 }, {
14 "match" : ["no"],
15 "pre" : [["npctoken", "status", "gold"], ["quest", "navar/rescue-daughters", "=10"]],
16 "post" : [["setnpctoken", "status", "0"]],
17 "msg" : ["As you wish, mate."]
18 }, {
19 "match" : ["cove"],
20 "pre" : [["quest", "navar/rescue-daughters", "=10"]],
21 "post" : [["setnpctoken", "status", "gold"]],
22 "msg" : ["Well maybe if you give a hundred gold on I'd tell ya about that..."],
23 "replies" : [["ok", "Ok, here's the money.", "0"], ["no", "Too expensive, I'll manage myself, thanks.", "0"]]
24 }, {
25 "match" : ["bradley"],
26 "pre" : [],
27 "post" : [],
28 "msg" : ["You try being a pirate named Bradley..."]
29 }, {
30 "match" : ["*"],
31 "pre" : [],
32 "post" : [],
33 "msg" : ["This chick's seen it all. She knows everyone."]
34 }
35 ]}