Remove redundant rule. Reformat using CRE.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@16658 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2012-01-15 12:53:16 +00:00
parent 06d08b6d0b
commit ac5ab200ea
1 changed files with 11 additions and 16 deletions

View File

@ -1,49 +1,44 @@
{ {
"location": "wilderness/Titanguard", "location" : "wilderness/Titanguard",
"rules": [ "rules": [
{ {
"match" : ["no"], "match" : ["no"],
"pre" : [["token", "question", "helptitan"]], "pre" : [["token", "question", "helptitan"]],
"post" : [["settoken", "question", "0"]], "post" : [["settoken", "question", "0"]],
"msg" : ["NONE SHALL pass..."] "msg" : ["NONE SHALL pass..."]
},{ }, {
"match" : ["yes", "booze"], "match" : ["yes", "booze"],
"pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"],["item", "booze", "10"]], "pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"], ["item", "booze", "10"]],
"post" : [["settoken", "status", "0"], ["quest", "scorn/TitanCrown", "50"],["takeitem", "booze", "0"], ["connection", "1"]], "post" : [["settoken", "status", "0"], ["quest", "scorn/TitanCrown", "50"], ["takeitem", "booze", "0"], ["connection", "1"]],
"msg" : ["Aah, that's better....\n Well, I promised I'd let you past, and so I shall, just keep it a secret between ourselves, hmm?\n I'd get in trouble if it was discovered I was letting people through the gate."] "msg" : ["Aah, that's better....\n Well, I promised I'd let you past, and so I shall, just keep it a secret between ourselves, hmm?\n I'd get in trouble if it was discovered I was letting people through the gate."]
},{ }, {
"match" : ["yes", "booze"], "match" : ["yes", "booze"],
"pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"],["item", "booze"]], "pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"], ["item", "booze"]],
"post" : [["settoken", "status", "0"]], "post" : [["settoken", "status", "0"]],
"msg" : ["Is that all you have? I'll need more than that to slake my thirst, I *am* a giant you know."] "msg" : ["Is that all you have? I'll need more than that to slake my thirst, I *am* a giant you know."]
},{ }, {
"match" : ["yes", "booze"], "match" : ["yes", "booze"],
"pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"]], "pre" : [["quest", "scorn/TitanCrown", "40"], ["token", "status", "askbooze"]],
"post" : [["settoken", "status", "0"]], "post" : [["settoken", "status", "0"]],
"msg" : ["Where is it?"] "msg" : ["Where is it?"]
},{ }, {
"match" : ["thirsty"], "match" : ["thirsty"],
"pre" : [["quest", "scorn/TitanCrown", "10-30"], ["token", "status", "wantsdrink"]], "pre" : [["quest", "scorn/TitanCrown", "10-30"], ["token", "status", "wantsdrink"]],
"post" : [["settoken", "status", "0"], ["quest", "scorn/TitanCrown", "40"]], "post" : [["settoken", "status", "0"], ["quest", "scorn/TitanCrown", "40"]],
"msg" : ["It's so hot today! And we can't leave our posts.\n Say, if you brought some booze for me I'd be mighty obliged. I am VERY thirsty!\n Yes, if you bring enough, I'll let you in!"] "msg" : ["It's so hot today! And we can't leave our posts.\n Say, if you brought some booze for me I'd be mighty obliged. I am VERY thirsty!\n Yes, if you bring enough, I'll let you in!"]
},{ }, {
"match" : ["thirsty"],
"pre" : [["quest", "scorn/TitanCrown", "10-30"], ["token", "status", "wantsdrink"]],
"post" : [["settoken", "status", "0"], ["quest", "scorn/TitanCrown", "40"]],
"msg" : ["It's so hot today! And we can't leave our posts.\n Say, if you brought some booze for me I'd be mighty obliged. I am VERY thirsty!\n Yes, if you bring enough, I'll let you in!"]
},{
"match" : ["*"], "match" : ["*"],
"pre" : [["quest", "scorn/TitanCrown", "40"]], "pre" : [["quest", "scorn/TitanCrown", "40"]],
"post" : [["settoken", "status", "askbooze"]], "post" : [["settoken", "status", "askbooze"]],
"msg" : ["Have you brought booze for me?"], "msg" : ["Have you brought booze for me?"],
"replies" : [["yes", "Yes, Here is your booze"], ["no", "No, I'm still looking for some booze for you"]] "replies" : [["yes", "Yes, Here is your booze"], ["no", "No, I'm still looking for some booze for you"]]
},{ }, {
"match" : ["*"], "match" : ["*"],
"pre" : [["quest", "scorn/TitanCrown", "10"]], "pre" : [["quest", "scorn/TitanCrown", "10"]],
"post" : [["settoken", "status", "wantsdrink"]], "post" : [["settoken", "status", "wantsdrink"]],
"msg" : ["NONE SHALL pass...\n\n Haaa, how thirsty am I...\n*sigh*"], "msg" : ["NONE SHALL pass...\n\n Haaa, how thirsty am I...\n*sigh*"],
"replies" : [["thirsty", "Would you like something to drink?"]] "replies" : [["thirsty", "Would you like something to drink?"]]
},{ }, {
"match" : ["*"], "match" : ["*"],
"pre" : [], "pre" : [],
"post" : [], "post" : [],