add quest result messages

This commit is contained in:
shoopea 2019-10-02 13:45:54 +08:00
parent b7b8921c1d
commit b6d25256be

View File

@ -231,11 +231,18 @@ func resetMsgParsingRules() {
,(5000, ` + strconv.Itoa(objSubTypeMessageUnequipGearAck) + `, "Unequip Ack", "^Item unequipped: (?P<Item>.+)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageNoStamina) + `, "Unequip Ack", "^Not enough stamina. Come back after you take a rest.\\n\\n` +
`To get more stamina, invite friends to the game via invite link. Press /promo to get it.$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #1", "On your way to the swamp, you saw a group of people shouting angrily at their supposed leader\\. The leader was in tears and explained that loyalty can be won again, even if the medals are lost. You left confused. But a few meters away you found a badge with almost unrecognizable letters: tl\\.\\. You sold it to a merchant\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #2", "You were taking a walk when you found two burning marks on the ground that disappeared after a few meters\\. Near them there was some kind of almanac with a lot of numbers written in it\\. It was a cold day so you used it to make a campfire to warm yourself and then went back to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #3", "Mrrrrgl mrrrgl mrrrrrrgl mrrrgl. Mrrrrrrrrrrrgl mrrrrgl mrrrrrrrgl mrrrrrrgl mrrrrrrrrl\\. Mrrrrrgl\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #4", "Suddenly you were surrounded by a huge band of orcs, led by an orc shaman\\. They demanded you give them everything you have\\. You killed every single one of them and collected a lot of loot\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #5", "In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “Get out of my swamp!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #01", "On your way to the swamp, you saw a group of people shouting angrily at their supposed leader\\. The leader was in tears and explained that loyalty can be won again, even if the medals are lost. You left confused. But a few meters away you found a badge with almost unrecognizable letters: tl\\.\\. You sold it to a merchant\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #02", "You were taking a walk when you found two burning marks on the ground that disappeared after a few meters\\. Near them there was some kind of almanac with a lot of numbers written in it\\. It was a cold day so you used it to make a campfire to warm yourself and then went back to the castle\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #03", "Mrrrrgl mrrrgl mrrrrrrgl mrrrgl. Mrrrrrrrrrrrgl mrrrrgl mrrrrrrrgl mrrrrrrgl mrrrrrrrrl\\. Mrrrrrgl\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #04", "Suddenly you were surrounded by a huge band of orcs, led by an orc shaman\\. They demanded you give them everything you have\\. You killed every single one of them and collected a lot of loot\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #05", "In the middle of a swamp you met a huge ogre who was finishing eating a donkey\\. “Get out of my swamp!” He shouted angrily with a Scottish accent\\. Somebody once told you that you should not mess with ogres, so you let it be\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #06", "You entered the swamp in search of knowledge\\. Eventually you found some mushrooms and decided to eat them\\. Apparently they were hallucinogenic, so after a good trip you decided to pick some more to sell them back in town\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #07", "You stumbled upon a man wielding a sword near a campfire\\.\\n-Why are you armed\\?\\n-Mimics\\nYou laughed, he laughed, the campfire laughed\\. You killed the campfire\\. Fun times\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #08", "You met a guy who asked you to shoot him in the face\\. You shot him in the face\\. On his cold corpse you found some gold\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #09", "You found a crypt in an old cemetery where some humans and dwarves were drinking booze\\. They invited you in and offered a sip\\. That was the tastiest mandrake liquor you ever tasted, and the host was kind enough to provide a recipe\\. You sold it to the local pub, but they couldn't replicate it\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #10", "In your journey you have reached a dark cave, where you met the Devil himself\\. You seized the opportunity and sold your soul for a handful of money\\. When you returned home you realized you didn't have a soul to start with\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #11", "You came across an eccentric man who lead you through a magical land of candy and sweets\\. Upon reaching the exit, the man loudly informs that you get nothing\\. You bid him good day and decapitate him for wasting your time\\.(?s:.*)$")
,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #12", "While marching through the swamp you hear someone shouting for a hunter\\. Being quite proficient in hunting yourself you walk towards the voice\\. You find a man running up to you who shakes you wildly while screaming something about a Dark One\\. Seconds later he runs away\\.\\nYou pick up some things he lost in his hysteria\\.(?s:.*)$")
;`)
failOnError(err, "resetMsgParsingRules : populate table msg_rules")
}