Debian Codegraph @

scorn/misc/magistrate_civilian.msg

raw
1 {
2 "rules": [
3 {
4 "match" : ["head", "goblin", "chief", "yes"],
5 "pre" : [["quest", "scorn/GoblinKing", "10"], ["item", "Head of the Goblin Chief"], ["token", "question", "goblin"]],
6 "post" : [["takeitem", "Head of the Goblin Chief"], ["quest", "scorn/GoblinKing", "50"], ["givecontents", "Knight Reward"], ["settoken", "question", "0"]],
7 "msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now sir $you, Knight of Scorn, with all the privileges pertaining thereto."]
8 }, {
9 "match" : ["head", "goblin", "chief", "yes"],
10 "pre" : [["quest", "scorn/GoblinKing", "10"], ["token", "question", "goblin"]],
11 "post" : [["settoken", "question", "0"]],
12 "msg" : ["Where is it then?"]
13 }, {
14 "match" : ["*"],
15 "pre" : [["quest", "scorn/GoblinKing", "10"]],
16 "post" : [["settoken", "question", "goblin"]],
17 "msg" : ["Have you returned with the Head of the Goblin Chief?"],
18 "replies" : [["no", "No, I yet seek it"], ["yes", "Indeed I have"]]
19 }, {
20 "match" : ["no"],
21 "pre" : [],
22 "post" : [],
23 "msg" : ["Very well then, do return here if you change your mind."]
24 }, {
25 "match" : ["yes", "service", "Scorn"],
26 "pre" : [],
27 "post" : [["quest", "scorn/GoblinKing", "10"], ["givecontents", "balm of return home"]],
28 "msg" : ["His Majesty, the King of Scorn, has announced that whomsoever returns with the Head of the Goblin Chief shall be awarded a Knighthood.\n\nThese goblins, who are said to live in the to the north east of Scorn mountains, have been making a nuisance of themselves to the North East of Scorn. Go and make them regret their disorderly conduct.\n\nTake those balms to make your return trip faster."]
29 }, {
30 "match" : ["*"],
31 "pre" : [],
32 "post" : [],
33 "msg" : ["Hello Adventurer, would you like to be of service to Scorn?"],
34 "replies" : [["no", "Nay, that holds no interest for me"], ["yes", "Absolutely"]]
35 }
36 ]}