| 1 |
{ |
| 2 |
"location" : "scorn/igor1", |
| 3 |
"rules": [ |
| 4 |
{ |
| 5 |
"match" : ["*"], |
| 6 |
"pre" : [["quest", "scorn/Kelthior", "30"]], |
| 7 |
"post" : [], |
| 8 |
"msg" : ["Yes $you, how can I help you?"], |
| 9 |
"replies" : [] |
| 10 |
},{ |
| 11 |
"match" : ["izchucio"], |
| 12 |
"pre" : [["npctoken", "step", "2"]], |
| 13 |
"post" : [["quest", "scorn/Kelthior", "30"]], |
| 14 |
"msg" : ["Very nice, you know this good friend of my master!\n\nYou can now go to the second floor."], |
| 15 |
"replies" : [] |
| 16 |
},{ |
| 17 |
"match" : ["*"], |
| 18 |
"pre" : [["npctoken", "step", "2"]], |
| 19 |
"post" : [["setnpctoken", "step", "1"]], |
| 20 |
"msg" : ["Sorry, but that's not correct...\n\nDo you want to try again?"], |
| 21 |
"replies" : [["yes", "Yes, sorry, I mistook the name.", "1"], ["no", "No, my head is full of holes, I forgot the name...", "1"]] |
| 22 |
},{ |
| 23 |
"match" : ["yes"], |
| 24 |
"pre" : [["npctoken", "step", "1"]], |
| 25 |
"post" : [["setnpctoken", "step", "2"]], |
| 26 |
"msg" : ["Very well.\n\nThen tell me the name of Scorn's alchemist, please."], |
| 27 |
"replies" : [] |
| 28 |
},{ |
| 29 |
"match" : ["no"], |
| 30 |
"pre" : [["npctoken", "step", "1"]], |
| 31 |
"post" : [["setnpctoken", "step", "0"]], |
| 32 |
"msg" : ["Then come back when you're not so busy."], |
| 33 |
"replies" : [] |
| 34 |
},{ |
| 35 |
"match" : ["*"], |
| 36 |
"pre" : [], |
| 37 |
"post" : [["setnpctoken", "step", "1"]], |
| 38 |
"msg" : ["So, $you, do you still wish to talk to my master?"], |
| 39 |
"replies" : [["yes", "Yes, of course.", "1"], ["no", "Not no, I'm too busy.", "0"]] |
| 40 |
} |
| 41 |
]} |