| 1 |
{ |
| 2 |
"rules": [ |
| 3 |
{ |
| 4 |
"match" : ["password"], |
| 5 |
"pre" : [["quest", "scorn/CityGate", "5"], ["quest", "scorn/GatePassword", "10"]], |
| 6 |
"post" : [], |
| 7 |
"msg" : ["I am not allowed to tell you the password."] |
| 8 |
}, { |
| 9 |
"match" : ["password"], |
| 10 |
"pre" : [["quest", "scorn/CityGate", "5"]], |
| 11 |
"post" : [["quest", "scorn/GatePassword", "10"]], |
| 12 |
"msg" : ["I am not allowed to tell you the password."] |
| 13 |
}, { |
| 14 |
"match" : ["hero", "king"], |
| 15 |
"pre" : [["quest", "scorn/CityGate", "5"], ["quest", "scorn/ScornHero", "10"]], |
| 16 |
"post" : [], |
| 17 |
"msg" : ["Try asking in Scorn castle to find a way to win the King's favour."] |
| 18 |
}, { |
| 19 |
"match" : ["hero", "king"], |
| 20 |
"pre" : [["quest", "scorn/CityGate", "5"]], |
| 21 |
"post" : [["quest", "scorn/ScornHero", "10"]], |
| 22 |
"msg" : ["Try asking in Scorn castle to find a way to win the King's favour."] |
| 23 |
}, { |
| 24 |
"match" : ["gate", "pass"], |
| 25 |
"pre" : [["quest", "scorn/CityGate", "5"], ["quest", "scorn/GatePass", "10"]], |
| 26 |
"post" : [], |
| 27 |
"msg" : ["See the ``Office of Gate Passes'' next to the Port Gate."] |
| 28 |
}, { |
| 29 |
"match" : ["gate", "pass"], |
| 30 |
"pre" : [["quest", "scorn/CityGate", "5"]], |
| 31 |
"post" : [["quest", "scorn/GatePass", "10"]], |
| 32 |
"msg" : ["See the ``Office of Gate Passes''next to the Port Gate."] |
| 33 |
}, { |
| 34 |
"match" : ["who", "pass", "people"], |
| 35 |
"pre" : [["quest", "scorn/CityGate", "5"]], |
| 36 |
"post" : [["quest", "scorn/CityGate", "10"]], |
| 37 |
"msg" : ["Only those who are:\n * Citizens of Scorn with a Password\n* Have a merchants ``Gate Pass''\n* Or knighted ``Hero'' by the king.\nmay pass through these gates."], |
| 38 |
"replies" : [["pass", "Where can I get a 'Gate Pass' from?", "0"], ["hero", "How can I become a ``Hero of Scorn''?", "0"], ["password", "What is the password?", "0"]] |
| 39 |
}, { |
| 40 |
"match" : ["open", "gate"], |
| 41 |
"pre" : [["quest", "scorn/CityGate", "5"]], |
| 42 |
"post" : [], |
| 43 |
"msg" : ["The gate opens only for certain people."] |
| 44 |
}, { |
| 45 |
"match" : ["open", "gate"], |
| 46 |
"pre" : [], |
| 47 |
"post" : [["quest", "scorn/CityGate", "5"]], |
| 48 |
"msg" : ["The gate opens only for certain people."], |
| 49 |
"replies" : [["people", "For whom is the gate opened?"]] |
| 50 |
}, { |
| 51 |
"match" : ["secret", "wall", "door"], |
| 52 |
"pre" : [], |
| 53 |
"post" : [], |
| 54 |
"msg" : ["I can't tell you that! Do you want to be thrown in JAIL?"] |
| 55 |
}, { |
| 56 |
"match" : ["monster"], |
| 57 |
"pre" : [], |
| 58 |
"post" : [], |
| 59 |
"msg" : ["They keep trying to sneak in, but we always kill them."] |
| 60 |
}, { |
| 61 |
"match" : ["*"], |
| 62 |
"pre" : [], |
| 63 |
"post" : [], |
| 64 |
"msg" : ["Good to see a friend!\n Have you seen any monsters lately?"], |
| 65 |
"replies" : [["monsters", "Why are you having problems with monsters?", "2"]] |
| 66 |
} |
| 67 |
]} |