Debian Codegraph @

scorn/misc/magistrate_baronet.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["ring", "animator", "token", "yes"],
5 "pre" : [["quest", "scorn/Animator", "10"], ["item", "Animator's Ring"], ["token", "question", "animator"]],
6 "post" : [["takeitem", "Animator's Ring"], ["quest", "scorn/Animator", "50"], ["givecontents", "Baron Reward"], ["settoken", "question", "0"]],
7 "msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Baron! \n Also, please take this fine longbow as a reward. May it serve you well!"]
8 }, {
9 "match" : ["ring", "animator", "token", "yes"],
10 "pre" : [["quest", "scorn/Animator", "10"], ["token", "question", "animator"]],
11 "post" : [["settoken", "question", "0"]],
12 "msg" : ["Where is it then?"]
13 }, {
14 "match" : ["*"],
15 "pre" : [["quest", "scorn/Animator", "10"]],
16 "post" : [["settoken", "question", "animator"]],
17 "msg" : ["Have you returned with a token of the Animator's destruction?"],
18 "replies" : [["no", "No, I still seek his destruction"], ["yes", "Yes, I have proof of his demise"]]
19 }, {
20 "match" : ["no"],
21 "pre" : [],
22 "post" : [],
23 "msg" : ["Very well then Sir $you, do return here if you change your mind."]
24 }, {
25 "match" : ["yes", "service", "Scorn"],
26 "pre" : [],
27 "post" : [["quest", "scorn/Animator", "10"], ["givecontents", "balm of return home"]],
28 "msg" : ["His Majesty, the King of Scorn, is concerned with the outbreak of undead in the so-called 'Undead Church' in Scorn. He suspects that an Animator is at work, setting the dead walking.\n\n He offers the title of Baron to whomever returns with a token proving that the Animator has been destroyed.\n\nHere are some balms to speed your trip back here."]
29 }, {
30 "match" : ["*"],
31 "pre" : [],
32 "post" : [],
33 "msg" : ["Hail Sir $you, would you be prepared to be of service to Scorn once again?"],
34 "replies" : [["no"], ["yes"]]
35 }
36 ]}