test quest result messages

This commit is contained in:
shoopea 2019-10-02 13:36:46 +08:00
parent 07a00ea5ba
commit b7b8921c1d

View File

@ -231,8 +231,11 @@ 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 #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:.*)$")
;`)
failOnError(err, "resetMsgParsingRules : populate table msg_rules")
}