Debian Codegraph @

scorn/misc/king_duke.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["titan", "crown", "pretender", "meganthropopulos", "yes"],
5 "pre" : [["quest", "scorn/TitanCrown", "10"], ["item", "Meganthropopulos' Crown"], ["token", "question", "crown"]],
6 "post" : [["takeitem", "Meganthropopulos' Crown"], ["quest", "scorn/TitanCrown", "80"], ["givecontents", "Archduke Reward"], ["settoken", "question", "0"]],
7 "msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now an Archduke! \n Also, please take this fine shield as a reward. May it serve you well!"]
8 }, {
9 "match" : ["titan", "crown", "pretender", "meganthropopulos", "yes"],
10 "pre" : [["quest", "scorn/TitanCrown", "10"], ["token", "question", "crown"]],
11 "post" : [["settoken", "question", "0"]],
12 "msg" : ["Where is it then?"]
13 }, {
14 "match" : ["*"],
15 "pre" : [["quest", "scorn/TitanCrown", "10"]],
16 "post" : [["settoken", "question", "crown"]],
17 "msg" : ["Have you returned with the pretender's crown?"],
18 "replies" : [["no", "No, your majesty, I still seek the crown"], ["yes", "Yes, Your majesty, I have the Titan's crown"]]
19 }, {
20 "match" : ["no"],
21 "pre" : [],
22 "post" : [],
23 "msg" : ["Very well then Lord $you, do return here if you change your mind."]
24 }, {
25 "match" : ["yes", "service", "Scorn"],
26 "pre" : [],
27 "post" : [["quest", "scorn/TitanCrown", "10"]],
28 "msg" : ["A wayward Titan has been styling himself 'the Rightful King of Scorn' and named me an Usurper.\n Clearly this insult demands a suitably swift and decisive response.\n This titan has created a crown for himself, deprive him of it, if you choose to deprive him of his life at the same time, then I would not be displeased.\n Speak to my magistrate, he may know where the pretender hides"]
29 }, {
30 "match" : ["*"],
31 "pre" : [],
32 "post" : [],
33 "msg" : ["Hail Lord $you, would you like to be of service to your King?"],
34 "replies" : [["no", "No, Your Majesty"], ["yes", "Yes, Your Majesty"]]
35 }
36 ]}